Project

General

Profile

Activity

From 03/08/2017 to 03/14/2017

03/14/2017

11:55 PM Misc #13283: Disable `&' interpreted as argument prefix warning when passing symbol to Enumerable#map
mojavelinux (Dan Allen) wrote:
> The alternative, a bitwise operation on a symbol, makes little sense. That's especially when the bitwise operator is directly adjacent to the symbol.
Bitwise AND isn't the only interpretation of infix...
urbanautomaton (Simon Coffey)
11:04 PM Bug #12642: Net::HTTP populates host header incorrectly when using an IPv6 Address
# Missing brackets from Host header for IPv6 addresses
This is a regression from Ruby 2.1. The bug appears to have been introduced in ruby 2.2.0 by this commit: https://github.com/ruby/ruby/commit/70a2eb63999265ff7e8d46d1f5b410c8ee3d3...
andy (Andy Brody)
08:57 PM Feature #5481: Gemifying Ruby standard library
hsbt (Hiroshi SHIBATA) wrote:
> Thank you for your information. I have never seen jruby patches in jruby/ruby repository.
> ...
Many of these changes could be merged back into MRI. I can start this process if you think it would be a go...
headius (Charles Nutter)
08:06 PM Feature #5481: Gemifying Ruby standard library
I'd like to gemify matrix & ostruct, but it's not clear to me what needs to be done besides creating the gemspec and how future versions are meant to be released. marcandre (Marc-Andre Lafortune)
08:21 PM Feature #13208: Vector.zero(n) and vector.zero?
Just curious:
``` ruby
Vector.zero(0).zero? # => true or false?
```
Not sure what I would expect in this case.
stomar (Marcus Stollsteimer)
08:11 PM Feature #13208 (Closed): Vector.zero(n) and vector.zero?
marcandre (Marc-Andre Lafortune)
08:11 PM Feature #13208: Vector.zero(n) and vector.zero?
Thanks for the patch.
Committed.
PS: I allowed `Vector.zero(0)`.
marcandre (Marc-Andre Lafortune)
08:09 PM Revision 666df145 (git): * lib/matrix.rb: Add Vector.zero and Vector#zero?
Patch by Chia-sheng Chen [#13208]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
07:40 PM Feature #13166: Feature Request: Byte Arrays for Ruby 3
My original use case was for creating an array of data that essentially
contained ``1|0`` data to represent ``true|false`` flags.
In the C version of my program I just created an array of bytes (char)
because they are fast, and wast...
jzakiya (Jabari Zakiya)
06:50 PM Misc #13316 (Third Party's Issue): gem startup and Path order OS X
I'm having great trouble getting gem to reliably start on OS X 10.11.6. This has only started to happen recently. The problem appears to be in getting the Path order correct due to the requirements of Ruby and rvm. Attached is the gem cr... stuzog (Stuart Hertzog)
03:14 PM Revision 31e74d51 (git): * 2017-03-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision a4d6fb55 (git): Stop a global server of Rinda test
This server seemed to cause "leaked file descriptor" warnings.
Moved it into the setup/teardown framework.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:46 PM Revision 871d497c (git): vm_insnhelper.c: undef BUILTIN_CLASS_P too
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:58 PM Bug #13223: `File.join` will segv if File::SEPARATOR and File::Separator are set.
shyouhei (Shyouhei Urabe) wrote:
> Nobu already made changes but, yes we looked at this issue in today's developer meeting.
> ...
It is *much* better to not leave semantics to be implementation-defined, as it's essentially the same as ...
Eregon (Benoit Daloze)
01:35 PM Bug #13150: TestMarshal failures on FreeBSD with gcc7 because of GC
normalperson (Eric Wong) wrote:
> Ah, thanks. I forgot this :x I saw you already made r57634.
> ...
I guess `Fiber` would too.
nobu (Nobuyoshi Nakada)
12:55 PM Feature #13314: dig=
you can do that, as example
~~~ ruby
a = {key1: { key2: { key3: { key4: '4' }}}};
a.dig(:key1, :key2, :key3)[:key4] = 4
=> {:key1=>{:key2=>{:key3=>{:key4=>4}}}}
~~~
Mikr (Mikhail Krainik)
06:50 AM Feature #13314: dig=
Assignment to method call has been a challenge in the last couple of years, but not possible yet, nobu (Nobuyoshi Nakada)
06:40 AM Feature #13314: dig=
Was this syntactically not allowed? If so, sorry. sawa (Tsuyoshi Sawada)
06:38 AM Feature #13314 (Open): dig=
We have `Hash#dig`, and when we want to assign a key-value at a deep level, it is tempting to do:
```ruby
hash.dig(:key1, :key2, :key3, :key4) = "value
```
when we actually needed to do:
```ruby
hash.dig(:key1, :key2, :key3)&...
sawa (Tsuyoshi Sawada)
12:53 PM Bug #13198 (Closed): Tempfile#size is nil when nothing is written, expected 0
Applied in changeset r57972.
----------
Fix bug of Tempfile#size if nothing is written [Bug #13198]
* lib/tempfile.rb (Tempfile#size): Fix its behavior when nothing
is written. Tempfile#size should return 0 in this case.
The patch ...
Anonymous
12:53 PM Revision 279d31f1 (git): Fix bug of Tempfile#size if nothing is written [Bug #13198]
* lib/tempfile.rb (Tempfile#size): Fix its behavior when nothing
is written. Tempfile#size should return 0 in this case.
The patch is from nobu <nobu@ruby-lang.org>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57972 b2dd03c8-3...
Glass_saga (Masaki Matsushita)
12:26 PM Bug #13305: Occasional segfaults after defining methods while running coverage
I think I could fix the issue. Nikita, thank you for the very useful report! mame (Yusuke Endoh)
11:40 AM Bug #13305 (Closed): Occasional segfaults after defining methods while running coverage
Applied in changeset r57971.
----------
Fix a consistency bug of ISEQ_COVERAGE [Bug #13305]
There is an invariant that ISEQ_COVERAGE(iseq) must be Qnil if and only
if option->coverage_enabled is false. This invariant was broken by
NOD...
mame (Yusuke Endoh)
11:39 AM Revision 3c96f9c7 (git): Fix a consistency bug of ISEQ_COVERAGE [Bug #13305]
There is an invariant that ISEQ_COVERAGE(iseq) must be Qnil if and only
if option->coverage_enabled is false. This invariant was broken by
NODE_PRELUDE which updates option->coverage_enabled but not
ISEQ_COVERAGE(iseq).
git-svn-id: svn...
mame (Yusuke Endoh)
10:34 AM Bug #13307 (Feedback): Changing scheme from http to https for the URI does not change the port number
duerst (Martin Dürst)
08:22 AM Bug #13315 (Closed): Single "%" at the end of `printf` format string appears in the result
Is this intentional?
```ruby
printf("%") #=> "%"
```
`printf` in glibc does print nothing, gcc warns though.
```c
#include <stdio.h>
int main(void)
{
printf("%");
return 0;
}
```
```sh
$ gcc fmt.c && ./a.out
...
nobu (Nobuyoshi Nakada)
06:52 AM Revision 3651c0aa (git): Fiber also has same issue. [Bug #13313]
* thread.c (rb_vm_proc_local_ep): added.
* cont.c (rb_fiber_start): use rb_vm_proc_local_ep().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:54 AM Bug #13313 (Closed): Segmentation fault when calling Thread.new with Symbol proc shorthand
Applied in changeset r57969.
----------
thread.c: Thread.start with Symbol
* thread.c (thread_do_start): fix segfault at start with Symbol.
proc created by Symbol#to_proc does not have environment unless
using refinements. [ruby-c...
nobu (Nobuyoshi Nakada)
05:54 AM Revision 1943242a (git): thread.c: Thread.start with Symbol
* thread.c (thread_do_start): fix segfault at start with Symbol.
proc created by Symbol#to_proc does not have environment unless
using refinements. [ruby-core:80147] [Bug #13313]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57...
nobu (Nobuyoshi Nakada)
05:54 AM Revision c3f92cf2 (git): thread.c: thread_do_start
* thread.c (thread_do_start): extract from a macro in
thread_start_func_2 for debugger.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:16 AM Revision 04eb3851 (git): envutil.rb: basename for diagnostic_reports
* test/lib/envutil.rb (EnvUtil.diagnostic_reports): diagnostic
report file uses base name only. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:03 AM Revision a7d6470f (git): vm_core.h: assertions for Proc
* vm_core.h (vm_proc_block): assert before accessing.
* vm_core.h (vm_proc_iseq): remove duplicate assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:42 AM Revision 9fa56026 (git): string.c: use rb_check_string_type
* string.c (rb_str_cmp_m): use rb_check_string_type for check and
conversion, instead of calling the conversion method directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:42 AM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
Using a 1-bit greater initial estimate than for **bbm** makes Newton's nth-root implementation
significantly faster across the board than before (with seemingly correct answers).
```
def irootn2(n) # Newton's method for nth root
...
jzakiya (Jabari Zakiya)
01:09 AM Bug #13280: net/ftp: Putbinaryfile (on Windows) requires blocksize equal to file size
I couldn't reproduce the problem in any of 2.2.4p230 (x86_64-linux), 2.3.3p222 (x86_64-linux),
2.4.0p0 (x86_64-linux), and 2.3.3p222 (x64-mingw32).
Could you send us debug output by setting Net::FTP#debug_mode to true?
Make sure the...
shugo (Shugo Maeda)

03/13/2017

09:45 PM Bug #13313 (Closed): Segmentation fault when calling Thread.new with Symbol proc shorthand
Both following lines produce "1" in ruby versions before 2.4.0, but second one causes Segmentation fault in ruby 2.4.0 and head (ruby 2.5.0dev (2017-03-13 trunk 57944) [x86_64-linux]).
~~~ ruby
p Thread.new(1){ |x| x.to_s }.value # =...
toy (Ivan Kuchin)
09:25 PM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
Just FYI.
I simplified Newton's general nth-root method from the original implementation I posted.
It's faster, and seems to produce the correct results all the time (from the tests I've run).
For some roots (mostly smallish) of cer...
jzakiya (Jabari Zakiya)
08:48 PM Bug #13312 (Closed): String#casecmp raises TypeError instead of returning nil
String#casecmp and String#casecmp? behave differently from other comparison methods: for incomparable values they raise a TypeError, while Symbol#{casecmp,casecmp?} and the #<=> methods (also for other classes) return `nil`:
``` ruby
...
stomar (Marcus Stollsteimer)
08:20 PM Revision 00880242 (git): * 2017-03-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:20 PM Revision e6dec8f9 (git): docs for Symbol#casecmp and Symbol#casecmp?
* string.c: [DOC] improve docs of Symbol#casecmp and Symbol#casecmp?
according to the similar String methods; fix RDoc markup and typos;
fix call-seq's for Symbol#{upcase,downcase,capitalize,swapcase}.
git-svn-id: svn+ssh://ci.ruby-...
stomar (Marcus Stollsteimer)
04:34 PM Bug #13311 (Closed): Segmentation fault while running rspec
I have this error while running rspec. All works fine with ruby-2.3.3. Gemfile.lock is attached
/home/taras/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/forwardable.rb:228: [BUG] Segmentation fault at 0x00000000000038
ruby 2.4.0p0 (2016-12-...
thaiduchyk (Taras Gaiduchyk)
04:33 PM Feature #12650: Use UTF-8 encoding for ENV on Windows
I would be ok with it not being default, as long as it can be configured for the whole interpreter and not some magic comment that would have to be in each source file.
In our particular scenario we are embedding Ruby into our applicati...
thomthom (Thomas Thomassen)
03:02 PM Feature #12650: Use UTF-8 encoding for ENV on Windows
We looked at this issue in today's developer meeting.
First off, attendees' understanding: ENV in Windows is managed by its kernel, and is provided to an userland process as an array of wide characters. Tell me if it's wrong. Also, ...
shyouhei (Shyouhei Urabe)
04:06 PM Bug #13305: Occasional segfaults after defining methods while running coverage
Thank you for the report. I could reproduce the issue. I'll take a look later. mame (Yusuke Endoh)
08:59 AM Bug #13305 (Assigned): Occasional segfaults after defining methods while running coverage
shyouhei (Shyouhei Urabe)
03:35 PM Bug #13223: `File.join` will segv if File::SEPARATOR and File::Separator are set.
Nobu already made changes but, yes we looked at this issue in today's developer meeting.
File::SEPARATOR has been there, but not always used. For instance File.split does not honor that constant. JRuby is well-doing to carefully rea...
shyouhei (Shyouhei Urabe)
11:15 AM Bug #13223: `File.join` will segv if File::SEPARATOR and File::Separator are set.
Ugh, I have marked this as backport required for r57958, not r57960.
I'll create another ticket for r57958.
nagachika (Tomoyuki Chikanaga)
09:29 AM Bug #13223 (Closed): `File.join` will segv if File::SEPARATOR and File::Separator are set.
Applied in changeset r57960.
----------
file.c: join with /
* file.c (rb_file_join): join using "/" always, not a constant.
and fix the document. [ruby-core:79579] [Bug #13223]
nobu (Nobuyoshi Nakada)
03:28 PM Feature #13295: [PATCH] compile.c: apply opt_str_freeze to String#-@ (uminus)
We looked at this issue in today's developer meeting.
Koichi pointed out that you have to consider redefinition of String#-@. You need to take care about such situation, like we do already for #freeze.
shyouhei (Shyouhei Urabe)
03:25 PM Bug #13307: Changing scheme from http to https for the URI does not change the port number
We looked at this issue in today's developer meeting.
The problem is, an URI created using URI.parse("http://...") is an URI::HTTP instance, not HTTPS. The class is determined from the URI's scheme. Given that, why is scheme modifia...
shyouhei (Shyouhei Urabe)
06:07 AM Bug #13307: Changing scheme from http to https for the URI does not change the port number
I agree with Shyouhei that the current behavior is inconsistent. When changing the scheme, either the object keeps the default port (which is 443 for https), or it keeps port 80. If it keeps port 80, then it has to print that out when th... duerst (Martin Dürst)
04:17 AM Bug #13307: Changing scheme from http to https for the URI does not change the port number
Nobuyoshi Nakada wrote:
> Changing scheme sounds nonsense to me.
Me too but given the port number is inferred from the scheme, "changing scheme should update that part" sounds reasonable to me.
shyouhei (Shyouhei Urabe)
03:57 AM Bug #13307: Changing scheme from http to https for the URI does not change the port number
Changing scheme sounds nonsense to me. nobu (Nobuyoshi Nakada)
12:27 AM Bug #13307 (Closed): Changing scheme from http to https for the URI does not change the port number
If we change the scheme of an URI, it does not change the port number. The URI object become inconsistent. If we print the full URI it does not return the same port number as when we print the port.
See code bellow:
~~~
[1] pry(ma...
martinosis (Martin Chabot)
03:10 PM Feature #9116: String#rsplit missing
We looked at this issue in today's developer meeting.
Someone there pointed out that in general, `rsplit(..., 2)` could be avoided by using regexp, because you can match `$` (for instance, you can match `/(.+)--([^-]+)$/` for the sess...
shyouhei (Shyouhei Urabe)
03:05 PM Feature #13110: Byte-based operations for String
shyouhei (Shyouhei Urabe) wrote:
> We looked at this issue at today's developer meeting.
> ...
It's relatively easy to implement bytesplice using force_encoding at my own risk, so I withdraw the proposal to introduce bytesplice.
shugo (Shugo Maeda)
02:15 PM Feature #13110: Byte-based operations for String
We looked at this issue at today's developer meeting.
I remember no one there had strong pro- or contra against byteoffset and byteindex. But what about bytesplice? Seems a programmer can pass arbitrary byte index to it. That can be ...
shyouhei (Shyouhei Urabe)
02:59 PM Revision a41d569e (git): sprintf.c: fix out-of-bound access
* sprintf.c (rb_str_format): get rid of out-of-bound access when
single % at the end.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:39 PM Feature #13095: [PATCH] io.c (rb_f_syscall): remove deprecation notice
We looked at this issue in today's developer meeting.
We see that using fiddle to wrap libc is too complicated. At the same time however, it is true that memory alignment is not exposed to ruby level so it is not possible right now t...
shyouhei (Shyouhei Urabe)
02:16 PM Bug #12705: yielding args to a lambda uses block/proc rather than lambda/method semantics
We looked at this issue in today's developer meeting and Koichi said he want this be fixed in 2.5. shyouhei (Shyouhei Urabe)
11:53 AM Bug #13310 (Rejected): Segmentation fault at 0x0001a00000002e ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
abwesend (N Tran) wrote:
> /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1(CRYPTO_set_ex_data+0x24) [0x7f49c15ceb64]
> ...
This is probably the symbol conflict raised at [Bug #12830]. Upgrade to Ruby 2.3.3 or newer.
rhenium (Kazuki Yamaguchi)
11:15 AM Bug #13310 (Rejected): Segmentation fault at 0x0001a00000002e ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
After I updated my system (after #apt-get update && apt-get upgrade), i tried to run: #bettercap --help
Got this Output:

/usr/lib/ruby/2.3.0/openssl/ssl.rb:67: [BUG] Segmentation fault at 0x0001a00000002e
ruby 2.3.1p112 (2016-04-26...
abwesend (N Tran)
11:52 AM Bug #13304: public function rb_thread_fd_close is removed at r57422
ruby_2_4 r57959 merged revision(s) 57948,57950. naruse (Yui NARUSE)
02:14 AM Bug #13304 (Closed): public function rb_thread_fd_close is removed at r57422
Applied in changeset r57948.
----------
thread.c: rb_thread_fd_close [ci skip]
* thread.c (rb_thread_fd_close): re-define only for abi-check,
abort if called. [ruby-core:80078] [Bug #13304]
nobu (Nobuyoshi Nakada)
11:51 AM Feature #13302: Provide a (force) --enable-openssl switch for ruby ./configure (or similar)
We can know whether the system OpenSSL library is usable or not only after a miniruby is built, which is probably too late for such an option to be useful.
However I agree there are rooms for improvement. Here is the message shown whe...
rhenium (Kazuki Yamaguchi)
11:47 AM Revision bd17e255 (git): string.c (rb_str_set_len): pathological check
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:29 AM Revision b75f68ab (git): file.c: join with /
* file.c (rb_file_join): join using "/" always, not a constant.
and fix the document. [ruby-core:79579] [Bug #13223]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:28 AM Revision 319e440d (git): merge revision(s) 57948,57950: [Backport #13304]
thread.c: rb_thread_fd_close [ci skip]
* thread.c (rb_thread_fd_close): re-define only for abi-check,
abort if called. [ruby-core:80078] [Bug #13304]
thread.c: rb_thread_fd_close [ci skip]
* thread.c ...
naruse (Yui NARUSE)
09:21 AM Feature #13179 (Rejected): Deep Hash Update Method
It's no difference from #11747. You have to come up with a better name candidate and concrete use-case.
Matz.
matz (Yukihiro Matsumoto)
09:12 AM Revision 16e80411 (git): string.c: $; is a GC-root
* string.c (Init_String): $; must be a GC-root, not to be
collected. [ruby-core:79582]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:10 AM Feature #13303 (Feedback): String#any? as !String#empty?
Use-case?
Matz.
matz (Yukihiro Matsumoto)
09:08 AM Bug #13146 (Rejected): Float::NANs in Hashes are confusing (more than usual).
You have to understand what NaN is, before playing with it.
Matz.
matz (Yukihiro Matsumoto)
09:07 AM Bug #13181 (Assigned): Unexpected line in rescue backtrace
shyouhei (Shyouhei Urabe)
09:06 AM Bug #13105: `String#to_f` and `String#to_r` don't stop at successive underscores
We should have more consistency here. `to_i` and `to_r` should be more restrictive on treating `_`.
Namely,
* `_` should be within digits
* only one `_` allowed between digits
Matz.
matz (Yukihiro Matsumoto)
09:05 AM Bug #12997: Out-of-bounds read in regcomp.c
ruby_2_4 r57957 merged revision(s) 57603. naruse (Yui NARUSE)
09:05 AM Revision 5398ef49 (git): merge revision(s) 57603: [Backport #12997]
Merge Onigmo 6.1.1
* Support absent operator https://github.com/k-takata/Onigmo/issues/82
* https://github.com/k-takata/Onigmo/blob/Onigmo-6.1.1/HISTORY
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@5795...
naruse (Yui NARUSE)
09:05 AM Revision 19332150 (git): Raise error if spec is nil
With parallel test-all, the spec is sometimes nil.
To debug it raise more detailed error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:58 AM Bug #13286 (Assigned): Segfault when using rb_debug_inspector_open / rb_debug_inspector_frame_binding_get with Fiddle, but not when directly from C extension
shyouhei (Shyouhei Urabe)
08:57 AM Bug #13280 (Assigned): net/ftp: Putbinaryfile (on Windows) requires blocksize equal to file size
shyouhei (Shyouhei Urabe)
08:56 AM Bug #13298 (Assigned): mingw SEGV TestEnumerable#test_callcc
shyouhei (Shyouhei Urabe)
08:56 AM Bug #13269 (Assigned): test/readline/test_readline.rb and mingw
shyouhei (Shyouhei Urabe)
08:55 AM Bug #13271 (Assigned): Clarifications on refinement spec
shyouhei (Shyouhei Urabe)
08:38 AM Revision 81798351 (git): parse.y: relax `&' warning
* parse.y (parser_yylex): disable "`&' interpreted as argument
prefix" warning when just followed by a symbol literal.
[ruby-core:79926] [Misc #13283]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57955 b2dd03c8-39d4-4d8f-98ff-8...
nobu (Nobuyoshi Nakada)
08:37 AM Feature #4532: [PATCH] add IO#pread and IO#pwrite methods
Agreed. pread/pwrite can be useful in some cases.
Matz.
matz (Yukihiro Matsumoto)
08:30 AM Bug #13284 (Assigned): IA64 ruby 2.4 miniruby segfault
naruse (Yui NARUSE)
08:21 AM Feature #13166 (Feedback): Feature Request: Byte Arrays for Ruby 3
It seems OP wanted BitVector, not Array8.
> In many instances I use arrays that contain boolean data (true|false or 1|0) values.
that means the intention can be achieved by the combination of strings and getbit/setbit methods.
O...
matz (Yukihiro Matsumoto)
08:18 AM Misc #13283: Disable `&' interpreted as argument prefix warning when passing symbol to Enumerable#map
Does relaxing the warning condition entail suppressing it for this particular case? mojavelinux (Dan Allen)
07:55 AM Misc #13283: Disable `&' interpreted as argument prefix warning when passing symbol to Enumerable#map
The possibility of confusion still exists. There's no chance to remove the warning. Maybe it's OK to relax the warning condition.
Matz.
matz (Yukihiro Matsumoto)
08:14 AM Feature #13137 (Rejected): Hash Shorthand
Rejected. I saw JavaScript new syntax, but I had no sympathy. It doesn't make anything more understandable.
Matz.
matz (Yukihiro Matsumoto)
08:13 AM Feature #6284: Add composition for procs
I want to make sure if everyone agrees with "*" instead of OP's "<<".
Besides that I also wanted to mention that Koichi concerns that function composition may be far slower than method chaining.
Matz.
matz (Yukihiro Matsumoto)
07:50 AM Bug #13282 (Rejected): opt_str_freeze does not always dedupe
for this case, `specialized_instruction` compilation option disable this feature.
ko1 (Koichi Sasada)
07:30 AM Bug #13150: TestMarshal failures on FreeBSD with gcc7 because of GC
ruby_2_4 r57954 merged revision(s) 57410,57619,57621,57631,57634. naruse (Yui NARUSE)
07:30 AM Revision 8788489c (git): merge revision(s) 57410,57619,57621,57631,57634: [Backport #13150]
Prevent GC by volatile [Bug #13150]
test/ruby/test_marshal.rb test_context_switch (load) and test_gc (dump)
are failed on FreeBSD 10.3 and gcc7 (FreeBSD Ports Collection) 7.0.0
20170115 (experimental); RB_GC_GUAR...
naruse (Yui NARUSE)
07:28 AM Feature #13290 (Feedback): A method to use a hash like in a case construction
I don't see how mush useful this proposal is. Please show us concrete use-case.
Matz.
matz (Yukihiro Matsumoto)
07:03 AM Revision af41ce23 (git): merge revision(s) 57269,57277:
bignum.c: fix rb_cstr_parse_inum endp
* bignum.c (rb_cstr_parse_inum): stores the address of the first
invalid character when str is too big or contains an underscore.
bignum.c: unnecessary check
* big...
naruse (Yui NARUSE)
06:58 AM Bug #13308: Backport request rubygems-2.6.10 for ruby_2_4
ruby_2_4 r57952 merged revision(s) 57412. naruse (Yui NARUSE)
02:31 AM Bug #13308 (Closed): Backport request rubygems-2.6.10 for ruby_2_4
rubygems-2.6.8 has an issue of `gem server` command.
https://github.com/rubygems/rubygems/issues/1864
I created above patch for ruby_2_4 branch.
hsbt (Hiroshi SHIBATA)
06:58 AM Revision b85d2e8a (git): merge revision(s) 57412: [Backport #13308]
Update Rubygems 2.6.10
* https://github.com/rubygems/rubygems/commit/2ee5bf9fd3bd7649d3e244bc40107ff32070ef47
* https://github.com/rubygems/rubygems/commit/be510dd4097e65c6a256a6e173d6b724a3a96472
git-svn-id: svn+ssh:...
naruse (Yui NARUSE)
06:46 AM Feature #13122 (Rejected): Special syntax for Hash#default_proc
I don't think `default_proc` is not worth adding a new syntax.
Matz.
matz (Yukihiro Matsumoto)
06:33 AM Feature #13309: Locale paramter for Integer(), Float(), Rational()
I agree that it would be great to have such a facility. I'm not sure we need `locale:`, we could just allow it as a second parameter (once we have made sure that there are no other suitable candidates for further parameters). I would per... duerst (Martin Dürst)
04:28 AM Feature #13309 (Rejected): Locale paramter for Integer(), Float(), Rational()
Matz' comment to my proposal on `Kernel#Boolean()` (https://bugs.ruby-lang.org/issues/13260) led me to the idea of introducing an optional locale parameter (called under the name `allow` in #13260). And now, I think that that idea can be... sawa (Tsuyoshi Sawada)
06:12 AM Feature #13109 (Rejected): `using` in refinements is required to be physically placed before the refined method call
There may be an idea to use refinement without explicit `using`. But that's out of the scope of this issue.
Matz.
matz (Yukihiro Matsumoto)
06:03 AM Bug #13232 (Closed): Comparing BigDecimal to float or Rational fails sometimes
Applied in changeset r57951.
----------
bigdecimal: version 1.3.2
Import bigdecimal version 1.3.2. The full commit log is here:
https://github.com/ruby/bigdecimal/compare/v1.3.1...v1.3.2
This fixes [ruby-core:79603] [Bug #13232]
mrkn (Kenta Murata)
06:03 AM Revision 65285fbd (git): bigdecimal: version 1.3.2
Import bigdecimal version 1.3.2. The full commit log is here:
https://github.com/ruby/bigdecimal/compare/v1.3.1...v1.3.2
This fixes [ruby-core:79603] [Bug #13232]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57951 b2dd03c8-39d...
Kenta Murata
05:46 AM Feature #12733: Bundle bundler to ruby core
Created patch of PoC
https://github.com/ruby/ruby/pull/1536
hsbt (Hiroshi SHIBATA)
05:46 AM Bug #13030: Unexpected T_IMEMO object when building with VMDEBUG
ruby_2_4 r57938 merged revision(s) 57427. naruse (Yui NARUSE)
05:30 AM Revision ea7af54e (git): thread.c: rb_thread_fd_close [ci skip]
* thread.c (rb_thread_fd_close): remove deprecated. a couple of
external libraries used it. [ruby-core:80078] [Bug #13304]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:30 AM Revision 5b72a06c (git): thread.c: rb_thread_fd_close no longer returns
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:14 AM Revision c617568c (git): thread.c: rb_thread_fd_close [ci skip]
* thread.c (rb_thread_fd_close): re-define only for abi-check,
abort if called. [ruby-core:80078] [Bug #13304]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:11 AM Revision c279ac36 (git): compile.c: compile flip-flop
* compile.c (iseq_compile_each0): compile flip-flop directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:11 AM Revision dae32a40 (git): compile.c: omit newrange
* compile.c (iseq_compile_each): omit creating literal-only range
to be popped immediately.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

03/12/2017

08:42 PM Bug #13306 (Closed): [DOC] rdoc for IO#puts
@naruse
This would effectively revert your recent r57944, so please give ok for me to apply this patch.
I don't think the mention of IO#write (or IO#print) is necessary (implementation detail); instead I expanded the docs with some...
stomar (Marcus Stollsteimer)
08:08 PM Bug #13305 (Closed): Occasional segfaults after defining methods while running coverage
The problem occurs on MRI 2.4.0 and the latest trunk only (2017-03-13 trunk 57944). After running `Coverage.start` code defines the same method few times but every time the size of the method increases. Occasionally MRI can fail on attem... decuplet (Nikita Shilnikov)
07:06 PM Bug #13304 (Closed): public function rb_thread_fd_close is removed at r57422
It hits abi-check:
http://rubyci.org/logs/www.rubyist.net/~akr/chkbuild/debian/ruby-2.4/log/20170312T170653Z.log.html.gz#abi-check
naruse (Yui NARUSE)
06:41 PM Bug #10403: `puts` documentation fix
ruby_2_4 r57945 merged revision(s) 57767,57943. naruse (Yui NARUSE)
06:41 PM Revision 94e70ce8 (git): merge revision(s) 57767,57943: [Backport #10403]
io.c: documentation for puts
* io.c: [DOC] clarify that the 'record separator' between
arguments passed to 'puts' is always a newline.
Based on a patch by Mark Amery. [ruby-core:65801] [Misc #10403]
*...
naruse (Yui NARUSE)
06:40 PM Revision 70474e9b (git): io.c: [DOC] IO#puts uses IO#write
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:31 PM Revision 9e98fa90 (git): * 2017-03-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:31 PM Revision 0256fa88 (git): Didn't work if backport field is empty
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:30 PM Bug #9829: Contradictions in docs for FileUtils::ln (and related functions)
ruby_2_4 r57940 merged revision(s) 57811. naruse (Yui NARUSE)
06:29 PM Feature #13303 (Feedback): String#any? as !String#empty?
Once I proposed "some container#nonempty?" on #12075, and understand there's Array#any?.
Today I found String doesn't have such method.
naruse (Yui NARUSE)
06:17 PM Bug #12997 (Closed): Out-of-bounds read in regcomp.c
naruse (Yui NARUSE)
06:15 PM Bug #13299: backport r57469, r57472, r57508 (garbage reduction for IO#write/syswrite)
ruby_2_4 r57941 merged revision(s) 57469,57471,57472,57503,57508. naruse (Yui NARUSE)
06:15 PM Revision baf330be (git): merge revision(s) 57469,57471,57472,57503,57508: [Backport #13299]
io.c: recycle garbage on write
* string.c (STR_IS_SHARED_M): new flag to mark shared mulitple times
(STR_SET_SHARED): set STR_IS_SHARED_M
(rb_str_tmp_frozen_acquire, rb_str_tmp_frozen_release): new functions
...
naruse (Yui NARUSE)
06:01 PM Revision fb6d5b90 (git): merge revision(s) 57811: [Backport #9829]
docs for FileUtils.ln methods
* lib/fileutils.rb: [DOC] add clarifying call-seq's for FileUtil.ln,
ln_s, and ln_sf, with better argument names for the created link and
link target. Reported by Mike Vastola. ...
naruse (Yui NARUSE)
06:01 PM Revision f1a2033d (git): merge revision(s) 57415,57463,57474:
eval.c: copy special exception
* eval.c (setup_exception): make unfrozen copy of special
exception before setting up a cause.
reduce iterations for slower machines
test_io.rb: separate a test
*...
naruse (Yui NARUSE)
05:51 PM Revision a1b1d832 (git): merge revision(s) 57427: [Backport #13030]
skip T_IMEMO for VMDEBUG
* vm_dump.c (vm_stack_dump_each): skip T_IMEMO object to display
for VMDEBUG=3. [Bug #13030]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57938 b2dd03c8-39d4-4d8f-98ff-823fe6...
naruse (Yui NARUSE)
05:26 PM Bug #13291: Backport r57809 (fix misplaced parenthesis)
ruby_2_4 r57937 merged revision(s) 57809. naruse (Yui NARUSE)
05:26 PM Revision d1d0fcc4 (git): merge revision(s) 57809: [Backport #13291]
fix paren
* string.c (str_byte_substr): fix misplaced parenthesis at r56155.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:24 PM Bug #13279: Math.log10 accuracy regression
ruby_2_4 r57928 merged revision(s) 57778,57779. naruse (Yui NARUSE)
05:23 PM Bug #13254: Dir.exist? などで「ディスクがありません」ダイアログが表示される
ruby_2_4 r57936 merged revision(s) 57741. naruse (Yui NARUSE)
05:23 PM Revision 81be1699 (git): merge revision(s) 57741: [Backport #13254]
disable critical-error-handler
* win32/win32.c (rb_w32_sysinit): disable critical-error-handler
message box even on mswin, regardless of runtime DLL version.
[ruby-dev:49988] [Bug #13254]
git-svn-id: svn+ssh...
naruse (Yui NARUSE)
05:22 PM Bug #13292: Invalid encodings in UTF-32
ruby_2_4 r57935 merged revision(s) 57816,57817. naruse (Yui NARUSE)
05:22 PM Revision acfebb41 (git): merge revision(s) 57816,57817: [Backport #13292]
fix UTF-32 valid_encoding?
* enc/utf_32be.c (utf32be_mbc_enc_len): check arguments precisely.
[ruby-core:79966] [Bug #13292]
* enc/utf_32le.c (utf32le_mbc_enc_len): ditto.
* regenc.h (UNICODE_VALID_CO...
naruse (Yui NARUSE)
05:14 PM Bug #13287: Stack consistency error (sp: 97, bp: 96)
ruby_2_4 r57934 merged revision(s) 57801. naruse (Yui NARUSE)
05:14 PM Revision 1b60a978 (git): merge revision(s) 57801: [Backport #13287]
parse.y: remove trace
* parse.y (reg_named_capture_assign_iter): do not insert trace
instructions before local variable assinments. putobject is
expected at first. [ruby-core:79940] [Bug #13287]
git-svn-id...
naruse (Yui NARUSE)
05:10 PM Revision 7523a076 (git): merge revision(s) 57802:
string.c: [DOC] Fix a typo in String#dump
[Fix GH-1531][ci skip]
Author: Alex Semyonov <alex@semyonov.us>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:10 PM Revision 8399d9d6 (git): RbConfig::Limits is Ruby 2.5 feature
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:51 PM Bug #13289: Integer overflow in str_byte_substr & rb_str_subpos when set SHARABLE_MIDDLE_SUBSTRING by 1
ruby_2_4 r57931 merged revision(s) 57797,57799,57800. naruse (Yui NARUSE)
04:51 PM Revision a9bd5308 (git): merge revision(s) 57797,57799,57800: [Backport #13289]
string.c: fix integer overflow
* string.c (rb_str_subpos): fix integer overflow which can happen
only when SHARABLE_MIDDLE_SUBSTRING is enabled. incorpolate
https://github.com/mruby/mruby/commit/7db0786abdd2...
naruse (Yui NARUSE)
04:31 PM Revision ae996ed4 (git): merge revision(s) 57781:
docs for IO.{write,read}
* io.c: [DOC] improve docs for IO
* IO.{write,read}: fix errors (:open_args is not an array of
strings, it might include a perm or options hash argument;
IO.write has no...
naruse (Yui NARUSE)
04:31 PM Bug #12975: Edit documentation for IO#print function
ruby_2_4 r57929 merged revision(s) 57780. naruse (Yui NARUSE)
04:30 PM Revision c28229f3 (git): merge revision(s) 57780: [Backport #12975]
docs for IO#print
* io.c: [DOC] split documentation for IO#print into smaller paragraphs,
delete duplicate sentence, fix call-seq.
Based on a patch by Dario Daic. [ruby-core:78291] [Bug #12975]
git-svn-id: s...
naruse (Yui NARUSE)
04:29 PM Revision d589608d (git): merge revision(s) 57778,57779:
string.c: [DOC] fix doc formatting for String#==, #===
math.c: more accuracy
* math.c (math_log10): calculate log10(2) for more accuracy.
[ruby-core:79907] [Bug #13279]
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
naruse (Yui NARUSE)
04:29 PM Revision 198aac59 (git): merge revision(s) 57777:
rdoc for String class
* lib/unicode_normalize.rb: [DOC] prevent a comment from
showing up in the class documentation for String.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57927 b2dd03c8-39d4-4d8f-9...
naruse (Yui NARUSE)
04:28 PM Revision 488a07de (git): merge revision(s) 57775: [Backport #13281]
nodoc OptParse
* lib/optparse.rb: [DOC] nodoc OptParse, introduced with r46126,
to avoid leaking of its documentation (OptionParser's docs) into
the class documentation of Object. [ruby-core:79909] [Bug #132...
naruse (Yui NARUSE)
04:27 PM Revision 9c2c599e (git): merge revision(s) 57771:
documentation for sort methods
* array.c: [DOC] fix grammar in Array#sort, #sort!, #sort_by!,
move references below the code example, add a missing reference.
* enum.c: [DOC] fix grammar in Enumerable#sort, #so...
naruse (Yui NARUSE)
04:27 PM Revision 0510f203 (git): merge revision(s) 57770:
enum.c: documentation for Enumerable#sort_by
* enum.c: [DOC] improve structure of docs for Enumerable#sort_by,
adopt explanation of the comparison block from Array#sort_by,
drop mention of 1.8, fix typos.
gi...
naruse (Yui NARUSE)
04:23 PM Bug #13273: [DOC] Proc#call docs show "Document-method: []" directive
ruby_2_4 r57923 merged revision(s) 57765. naruse (Yui NARUSE)
04:23 PM Revision 0e2a2b63 (git): merge revision(s) 57765: [Backport #13273]
proc.c: documentation for Proc#{call,yield,[]}
* proc.c: [DOC] fix and improve docs for Proc#{call,yield,[]}:
* change order of Document-method directives as workaround for an
RDoc rendering problem where ...
naruse (Yui NARUSE)
04:22 PM Revision 4049bc35 (git): merge revision(s) 57763:
fix for mingw64
* util.c: define MINGW_HAS_SECURE_API for qsort_s on recent
mingw64.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:21 PM Bug #13267: ruby 2.4.0 i686-w64-mingw32 + boost compilation error
ruby_2_4 r57921 merged revision(s) 57762. naruse (Yui NARUSE)
04:21 PM Revision 3e3b06b8 (git): merge revision(s) 57762: [Backport #13267]
broken mingw
* configure.in: check whether frexp and modf are broken.
* include/ruby/win32.h (frexp, modf): ignore bad declarations when
compiling as C++. [ruby-core:79859] [Bug #13267]
git-svn-id: svn+ssh:/...
naruse (Yui NARUSE)
04:20 PM Revision c90b6936 (git): merge revision(s) 57761:
[DOC] update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:20 PM Bug #13268: [DOC] Restore docs for String#<<
ruby_2_4 r57919 merged revision(s) 57758. naruse (Yui NARUSE)
04:20 PM Revision 5ee565d5 (git): merge revision(s) 57758: [Backport #13268]
string.c: restore documentation for String#<<
* string.c: [DOC] restore documentation for String#<<
which became undocumented with r56021; fix a typo.
[ruby-core:79865] [Bug #13268]
git-svn-id: svn+ssh://ci....
naruse (Yui NARUSE)
04:20 PM Revision a5d26fb8 (git): merge revision(s) 57751,57753,57755:
fileutils.rb: improve rdoc for FileUtils
* lib/fileutils.rb: [DOC] fix invalid example code to make it
syntax highlighted, fix rdoc for lists, nodoc internal methods,
avoid a dangerous example.
hash.c...
naruse (Yui NARUSE)
04:18 PM Bug #13225: [DOC] expand docs for Date shifting
ruby_2_4 r57917 merged revision(s) 57737. naruse (Yui NARUSE)
04:18 PM Revision 7ac47869 (git): merge revision(s) 57737: [Backport #13225]
date_core.c: expand docs for Date shifting
* ext/date/date_core.c: [DOC] expand docs for Date shifting
* add examples for Date#>> and Date#<< that clarify some edge cases
* add examples for Date#next_year an...
naruse (Yui NARUSE)
04:17 PM Bug #13148: [DOC] Small doc fix for Hash#dig and Struct#dig
ruby_2_4 r57916 merged revision(s) 57735. naruse (Yui NARUSE)
03:51 PM Revision 53f013f4 (git): merge revision(s) 57735: [Backport #13148]
Fix doc for Hash#dig and Struct#dig
* hash.c (rb_hash_dig): [DOC] correct argument name
in method description; fix formatting in examples.
* struct.c (rb_struct_dig): ditto.
[ruby-core:79221] [Bug #131...
naruse (Yui NARUSE)
03:02 PM Bug #13205: Backport r57589 (parallel.rb: fix intervention)
ruby_2_4 r57914 merged revision(s) 57589. naruse (Yui NARUSE)
03:02 PM Revision a4a22545 (git): * 2017-03-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision a9c84dc9 (git): merge revision(s) 57589: [Backport #13205]
parallel.rb: fix intervention
* test/lib/test/unit/parallel.rb (_report): send a response and a
newline atomically, to get rid of intervention with "p" which
runs in a separate thread.
git-svn-id: svn+ssh://...
naruse (Yui NARUSE)
02:57 PM Bug #13111: Degraded performance for delegated methods through Forwardable module
ruby_2_4 r57913 merged revision(s) 57255,57256,57257. naruse (Yui NARUSE)
02:57 PM Revision 7ed75492 (git): merge revision(s) 57255,57256,57257: [Backport #13111]
forwardable.rb: use defined?
* lib/forwardable.rb (_delegator_method): use defined? operator
instead of binding and calling unbound Kernel#respond_to?. a
remedy for an performance bottleneck.
forward...
naruse (Yui NARUSE)
02:39 PM Bug #13253: SIGSEGV in parser_heredoc_dedent()
ruby_2_4 r57912 merged revision(s) 57717. naruse (Yui NARUSE)
02:39 PM Revision 0e05caac (git): merge revision(s) 57717: [Backport #13253]
parse.y: indent at invalid identifier
* parse.y (parser_heredoc_identifier): set indent only when valid
identifier, not to dedent non-existent contents later.
[ruby-core:79772] [Bug #13253]
git-svn-id: svn+s...
naruse (Yui NARUSE)
02:18 PM Bug #13242: SIGSEGV in rb_bigzero_p()
ruby_2_4 r57911 merged revision(s) 57688,57689. naruse (Yui NARUSE)
02:18 PM Revision 0179055d (git): merge revision(s) 57688,57689: [Backport #13242]
rational.c: infinity in power
* rational.c (nurat_expt): return Infinity due to overflow.
[ruby-core:79686] [Bug #13242]:
rational.c: infinity in power
* rational.c (nurat_expt): return 0 due to overfl...
naruse (Yui NARUSE)
02:06 PM Bug #13229: [DOC] Add document title for extension.rdoc
ruby_2_4 r57910 merged revision(s) 57665. naruse (Yui NARUSE)
02:06 PM Revision 39809855 (git): merge revision(s) 57665: [Backport #13229]
extension.rdoc: add document title
* doc/extension.rdoc, doc/extension.ja.rdoc: [DOC]
add title and adapt subheading levels.
* doc/extension.rdoc: [DOC] fix subheading level of section
about "Ruby Co...
naruse (Yui NARUSE)
02:03 PM Bug #13234: Infinite recursion (stack overflow) in parse_char_class()
ruby_2_4 r57909 merged revision(s) 57660. naruse (Yui NARUSE)
02:03 PM Revision 8d535378 (git): merge revision(s) 57660: [Backport #13234]
regparse.c: initialize return values
* regparse.c (parse_char_class): initialize return values before
depth limit check. returned values will be freed in callers
regardless the error. [ruby-core:79624] [Bug...
naruse (Yui NARUSE)
01:51 PM Revision c9a1f7a4 (git): compile.c: compile_const_prefix
* compile.c (compile_const_prefix): rename, and check the result
of parts of the prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:47 PM Bug #13184: unused parameter in ruby.h - native ruby extension compilation failure on ruby 2.4
ruby_2_4 r57896 merged revision(s) 57520. naruse (Yui NARUSE)
01:46 PM Bug #13227: Crash when refine subclass method and call super
ruby_2_4 r57907 merged revision(s) 57655. naruse (Yui NARUSE)
01:46 PM Revision 35c827a6 (git): merge revision(s) 57655: [Backport #13227]
vm_insnhelper.c: super to module in refinement
* vm_insnhelper.c (vm_call_zsuper): method defined in module in
refinement is not callable as-is. dispatch again.
[ruby-core:79588] [Bug #13227]
git-svn-id: sv...
naruse (Yui NARUSE)
01:00 PM Bug #8996: pthread_mutex_lock EINVAL
ruby_2_4 r57906 merged revision(s) 57595. naruse (Yui NARUSE)
12:55 PM Revision 91036252 (git): merge revision(s) 57595: [Backport #8996]
check thread deadness correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:09 AM Bug #13202: Enumerable#slice_before does not take both argument and block at the same time, as it ought to.
ruby_2_4 r57905 merged revision(s) 57584. naruse (Yui NARUSE)
08:09 AM Revision 8a4f4f20 (git): merge revision(s) 57584: [Backport #13202]
[DOC] Update an obsolete example for slice_before.
The argument for Enumerable#slice_before is is removed at Ruby 2.3.
Reported by Shyouhei Urabe. [Bug #13202]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ru...
naruse (Yui NARUSE)
08:06 AM Bug #13193: [DOC] Revise docs for Date and DateTime
ruby_2_4 r57904 merged revision(s) 57549. naruse (Yui NARUSE)
08:04 AM Revision 22183166 (git): merge revision(s) 57549: [Backport #13193]
date_core.c: [DOC] revise docs [ci skip]
* fix malformed rdoc for Date#today, Date._strptime,
and DateTime._strptime
* add code examples for Date#<< and Date#>> to demonstrate
that different dates can...
naruse (Yui NARUSE)
08:04 AM Bug #13194: LIBRUBY_ALIASESのアクセス権が所有者のみになっている
ruby_2_4 r57903 merged revision(s) 57543. naruse (Yui NARUSE)
08:02 AM Revision c33e9f0b (git): merge revision(s) 57543: [Backport #13194]
rbinstall.rb: default umask
* tool/rbinstall.rb: revert r49841 and default umask to just
prohibit all from writing. symlink(2) has no argument to set
permissions but is affected by umask.
[ruby-dev...
naruse (Yui NARUSE)
08:02 AM Bug #11752: Bug in Rational documentation
ruby_2_4 r57902 merged revision(s) 57539. naruse (Yui NARUSE)
08:01 AM Revision 16bbeb15 (git): merge revision(s) 57539: [Backport #11752]
rational.c: fix rdoc [ci skip]
* rational.c (rb_rational_plus): [DOC] fix an example.
A patch by Trygve Flathen <at.ruby-lang AT flathen.net> in
[ruby-core:71755]. [Bug #11752]
git-svn-id: svn+ssh://ci.ruby...
naruse (Yui NARUSE)
07:54 AM Bug #13189: [DOC] Restore class documentation for Struct
ruby_2_4 r57901 merged revision(s) 57522. naruse (Yui NARUSE)
07:54 AM Revision f3e3ac78 (git): merge revision(s) 57522: [Backport #13189]
doc: restore class documentation for Struct
* struct.c: restore class documentation for Struct
that disappeared with r46663.
Due to r46663, the class documentation for Struct disappeared.
(The revision...
naruse (Yui NARUSE)
07:53 AM Bug #13200: Ruby 2.4.0 Stable Fails to Build from Source on openSUSE
ruby_2_4 r57898 merged revision(s) 57590,57591,57592. naruse (Yui NARUSE)
07:53 AM Revision 3eaded77 (git): merge revision(s) 57690-57694:
rational.c: infinity in power
* rational.c (nurat_expt): return 0 due to overflow.
[ruby-core:79686] [Bug #13242]:
------------------------------------------------------------------------
r57690 | nobu ...
naruse (Yui NARUSE)
07:52 AM Revision 49bffd95 (git): merge revision(s) 57750:
openssl: avoid segfault during running tests on Ubuntu trusty
Import the commit 6693a549d673 ("test/test_pkey_ec: do not use dummy 0
order", 2017-02-03) from upstream. Hopefully this will fix the segfault
on Ruby...
naruse (Yui NARUSE)
07:51 AM Revision 4998cf1a (git): merge revision(s) 57590,57591,57592: [Backport #13200]
extmk.rb: split notes
* ext/extmk.rb: split notes and echo per lines, for multiple lines
messages. [ruby-core:79475] [Bug #13200]
openssl: fix broken openssl check
* ext/openssl/extconf.rb: check for ...
naruse (Yui NARUSE)
07:46 AM Revision bfd1b792 (git): merge revision(s) 57289: [Backport #13114]
test_io_console.rb: fix of old CentOS5
* test/io/console/test_io_console.rb (test_winsize): on old CentOS5
window size seems unable to be set across a pty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4...
naruse (Yui NARUSE)
07:46 AM Revision 13617841 (git): merge revision(s) 57520: [Backport #13184]
ruby.h: unused parameter
* include/ruby/ruby.h (rb_scan_args_set): remove unused parameter
for more pedantic extension libraries.
[ruby-core:79399] [Feature #13184]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
naruse (Yui NARUSE)
07:36 AM Bug #13190: [DOC] Fix error for escape sequences in string literals
ruby_2_4 r57895 merged revision(s) 57517. naruse (Yui NARUSE)
07:36 AM Revision 3a87802b (git): merge revision(s) 57517: [Backport #13190]
doc: Fix error for escape sequences in string literals
Backslash goes first in escape sequences, so it must be
"any other character following a backslash is interpreted as ...",
while the doc says "...followed by...
naruse (Yui NARUSE)
07:34 AM Revision 9c7f3cba (git): merge revision(s) 57492:
test_queue.rb: fix portability
* test/thread/test_queue.rb (test_queue_with_trap): fix
portability. use SIGINT instead of SIGUSR2 which is supported
on not all platforms.
git-svn-id: svn+ssh://ci.ruby-lang....
naruse (Yui NARUSE)
07:34 AM Bug #13169: Fix OpenStruct#each_pair return value
ruby_2_4 r57893 merged revision(s) 57515. naruse (Yui NARUSE)
07:34 AM Revision c9f62d7f (git): merge revision(s) 57515: [Backport #13169]
lib/ostruct.rb: Fix returned value of each_pair.
From a patch by Marcus Stollsteimer. [Fixes #13169]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:52 AM Revision c0764a3c (git): compile.c: omit newhash
* compile.c (iseq_compile_each): omit creating literal-only hash
to be popped immediately.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:48 AM Revision ae46708c (git): compile.c: NODE_VALUES must not be popped
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:38 AM Bug #13232: Comparing BigDecimal to float or Rational fails sometimes
I'm sorry for my late response.
I'll import your patch by tomorrow.
Thanks a lot.
mrkn (Kenta Murata)
02:59 AM Feature #13302: Provide a (force) --enable-openssl switch for ruby ./configure (or similar)
Robert A. Heiler wrote:
> Ruby compiles fine
> ...
Just to be clear, did OpenSSL test fine, along with Ruby?
I'm a windows type, so I have **no experience with your OS**, but I've been doing a lot of testing lately...
MSP-Greg (Greg L)

03/11/2017

10:44 PM Revision cd7b59e4 (git): compile.c: iseq_compile_each0
* compile.c (iseq_compile_each0): split from null node case to
constify line and type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:37 PM Revision f19b0418 (git): compile.c: compile_when
* compile.c (compile_when): extract from iseq_compile_each.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:25 PM Revision 16e5c20f (git): compile.c: compile_case
* compile.c (compile_case): extract from iseq_compile_each.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:49 PM Misc #12835: RDoc comment of String#casecmp
I tried to clarify this in the rdoc with r57886. stomar (Marcus Stollsteimer)
09:46 PM Misc #12835: RDoc comment of String#casecmp
Note that String#casecmp _can_ return `nil`:
``` ruby
"\u{e4 f6 fc}".encode("ISO-8859-1").casecmp("\u{c4 d6 dc}") #=> nil
```
The relevant lines in the source code (in `string.c`):
``` c
static VALUE
rb_str_casecmp(VALUE s...
stomar (Marcus Stollsteimer)
09:32 PM Bug #13159 (Closed): [DOC] Revise documentation for OpenStruct
Applied in changeset r57887.
----------
lib/ostruct.rb: [DOC] revise docs for OpenStruct
* update paragraph on implementation:
define_singleton_method is used, not define_method
* add call-seq with return values for each_pair
* adopt...
stomar (Marcus Stollsteimer)
09:32 PM Revision 44fbaaae (git): lib/ostruct.rb: [DOC] revise docs for OpenStruct
* update paragraph on implementation:
define_singleton_method is used, not define_method
* add call-seq with return values for each_pair
* adopt description of dig from Array and Hash
* fix description of the hash method
* :nodoc: init...
stomar (Marcus Stollsteimer)
08:01 PM Revision 605b472d (git): docs for String#casecmp and String#casecmp?
* string.c: [DOC] specify when String#casecmp and String#casecmp?
return nil; modify examples to better show difference to <=>;
fix RDoc markup and typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57886 b2dd03c8-39d4-4d8f-98...
stomar (Marcus Stollsteimer)
07:18 PM Bug #13176: Segfault during exception raising because rb_thread_t.errinfo is set to IMEMO object
ruby_2_4 r57885 merged revision(s) 57510,57511. naruse (Yui NARUSE)
07:18 PM Revision aeddf667 (git): merge revision(s) 57510,57511: [Backport #13176]
eval.c: hide internal objects
* eval.c (rb_ensure): veil internal exception objects not to leak
in ensure functions. [ruby-core:79371] [Bug #13176]
ensured.c: fix conflict
* ext/-test-/exception/ensur...
naruse (Yui NARUSE)
07:06 PM Revision 7be50fee (git): merge revision(s) 57483:
Describe about RUBY_CODESIGN
With RUBY_CODESIGN people can avoid pushing many OK button of firewall
dialogs on macOS through test-all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57884 b2dd03c8-39d4-4d...
naruse (Yui NARUSE)
07:03 PM Revision 1c96bfab (git): Generate log from svn log
When there's multiple revisions, all svn logs should be used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:59 PM Revision 4217e867 (git): merge revision(s) 57165:
Add ruby_2_4 branch to test on travis [skip ci]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:59 PM Bug #13170: OpenSSL::X509::Name#eql? broken in Ruby 2.4.0
ruby_2_4 r57881 merged revision(s) 57482. naruse (Yui NARUSE)
06:59 PM Bug #13080: [mingw regression] broken openssl extension in 2.4.0p0
ruby_2_4 r57881 merged revision(s) 57482. naruse (Yui NARUSE)
06:59 PM Revision c1478b66 (git): merge revision(s) 57482: [Backport #13080] [Backport #13170]
openssl: import v2.0.3
Import Ruby/OpenSSL 2.0.3. Only bugfixes. The full commit log since
2.0.2 (imported at r57146) can be found at:
https://github.com/ruby/openssl/compare/v2.0.2...v2.0.3
---------...
naruse (Yui NARUSE)
06:46 PM Revision 6a1e3851 (git): merge revision(s) 57480:
mkmf.rb: message format string
* lib/mkmf.rb (checking_for): message needs format string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:45 PM Bug #12405: Queue doesn't work inside of trap
ruby_2_4 r57879 merged revision(s) 57477,57478,57479. naruse (Yui NARUSE)
06:45 PM Revision 0c72a8f0 (git): merge revision(s) 57477,57478,57479: [Backport #12405]
use TRUE/FALSE.
define rb_thread_sleep_deadly_allow_spurious_wakeup().
* thread.c, thread_sync.c: define new function
rb_thread_sleep_deadly_allow_spurious_wakeup() and use it instead of
using sleep_...
naruse (Yui NARUSE)
06:16 PM Revision 9258462e (git): merge revision(s) 57437:
leakchecker.rb: get rid of uninitialized Tempfile
* test/lib/leakchecker.rb (LeakChecker#find_tempfiles): get rid of
errors on uninitialized Tempfile, which can be left when
Dir.tmpdir failed or by Tempfile.a...
naruse (Yui NARUSE)
06:15 PM Bug #13161: [DOC] Enumerable#{min,min_by,max,max_by} didn't mention they return a sorted array
ruby_2_4 r57876 merged revision(s) 57434. naruse (Yui NARUSE)
06:15 PM Revision aa89e910 (git): merge revision(s) 57436:
enum.c: write barrier
* enum.c (rb_nmin_run): set the class with write barrier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:11 PM Revision cfb3f0cc (git): merge revision(s) 57434: [Backport #13161]
Enumerable#{min,min_by,max,max_by} [ci skip]
* enum.c: [DOC] Enumerable#{min,min_by,max,max_by} return a sorted
array when +n+ argument is used.
* enum.c: Small typo : minimum -> maximum
[Bug #13161]
...
naruse (Yui NARUSE)
06:10 PM Revision 93bdb0f1 (git): merge revision(s) 57431:
[DOC] Use Integer instead of Fixnum [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:09 PM Revision 7ce9d4f4 (git): merge revision(s) 57428:
Add document for lib/rss/atom.rb
[fix GH-1520]
Patch by Tsehau Chao. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:07 PM Revision 849ac144 (git): merge revision(s) 57423:
Fix function name for DBM on extension document.
Patch by Yuji Yaginuma, @y-yagi <yuuji.yaginuma@gmail.com>
[ci skip][fix GH-1519]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57873 b2dd03c8-39d4-4d...
naruse (Yui NARUSE)
06:07 PM Bug #13158: UNIXServer#closed? returns false after UNIXServer#close called
ruby_2_4 r57872 merged revision(s) 57422. naruse (Yui NARUSE)
06:07 PM Revision 2105a065 (git): merge revision(s) 57422: [Backport #13158]
io.c: close before wait
* io.c (io_close_fptr): notify then close, and wait for other
threads before free fptr. [ruby-core:79262] [Bug #13158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57872 b2dd0...
naruse (Yui NARUSE)
06:02 PM Bug #13147: Update documentation for URI#escape
ruby_2_4 r57870 merged revision(s) 57411. naruse (Yui NARUSE)
05:56 PM Revision 492d4ae5 (git): merge revision(s) 57421:
[DOC] Add empty example to enum.all? and any?
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:55 PM Revision 21b241ab (git): merge revision(s) 57411: [Backport #13147]
Fix typo of URI#escape [Bug #13147]
patched by Steve Hill <sghill.dev@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:51 PM Bug #13145: Symbol#clone doesn't work correctly
ruby_2_4 r57869 merged revision(s) 57407. naruse (Yui NARUSE)
05:51 PM Revision 9d4ff5ae (git): merge revision(s) 57407: [Backport #13145]
object.c: no TypeError at Symbol
* object.c (special_object_p): uninterned Symbol also should not
raise a TypeError but return itself instead, as well as interned
Symbols. [ruby-core:79216] [Bug #13145]
git...
naruse (Yui NARUSE)
05:45 PM Bug #13149: Ruby 2.4.0 の CSV の field_size_limit オプションで先読み文字数を制限できない
ruby_2_4 r57868 merged revision(s) 57406. naruse (Yui NARUSE)
05:45 PM Revision f1c8f497 (git): merge revision(s) 57406: [Backport #13149]
csv.rb: fix field_size_limit check
* lib/csv.rb (CSV#shift): the last column is an Array in extended
column since r55985. [ruby-dev:49964] [Bug #13149]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57...
naruse (Yui NARUSE)
05:40 PM Revision 2ca56375 (git): merge revision(s) 57405:
error.c: fixed doc [ci skip]
* error.c (exc_message): fixed doc regarding the presence of
to_str. [Fix GH-1517]
Author: Marc Gauthier <marcg.gauthier@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
naruse (Yui NARUSE)
05:40 PM Revision 56804d89 (git): merge revision(s) 57390:
Hash#fetch: fix grammar in documentation.
[Fix GH-1515][ci skip]
Author: Alyssa Ross <hi+services.github@alyssa.is>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57866 b2dd03c8-39d4-4d8f-98ff-823fe69b...
naruse (Yui NARUSE)
05:37 PM Revision cf45a681 (git): merge revision(s) 57375:
More description about the protected attribute of a method
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:35 PM Bug #13135: Regexp.last_match returns nil with s.rindex(//)
ruby_2_4 r57864 merged revision(s) 57374. naruse (Yui NARUSE)
05:35 PM Revision cc3540ba (git): merge revision(s) 57374: [Backport #13135]
string.c: rindex(//) should set $~.
This seems a bug introduced by r520 (1.4.0). [ruby-core:79110] [Bug #13135]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:31 PM Feature #13302 (Closed): Provide a (force) --enable-openssl switch for ruby ./configure (or similar)
I am currently setting up a lot of programs on a fresh installation.
Ruby compiles fine but I am having some problem getting openssl to
work properly. Since it is not trivial for me to find out where
the problem is exactly, I would ...
shevegen (Robert A. Heiler)
05:28 PM Revision b9190c6a (git): merge revision(s) 57372:
Fix documentation of options for all of methods in FileUtils.
Patch by galia traub( @galiat ). [Fix GH-1510][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:22 PM Bug #13096: error using undef_method + refinements
ruby_2_4 r57862 merged revision(s) 57362. naruse (Yui NARUSE)
05:22 PM Revision 0543b90d (git): merge revision(s) 57362: [Backport #13096]
vm_method.c: resolve refined method to undef
* vm_method.c (rb_undef): resolve the method entry which refines a
prepended method entry. [ruby-core:78944] [Bug #13096]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc...
naruse (Yui NARUSE)
05:17 PM Bug #12884: Using a HashWithIndifferentAccess with a default value in a function with a keyword parameter converts it to a Hash.
ruby_2_4 r57861 merged revision(s) 57360. naruse (Yui NARUSE)
05:17 PM Revision 490691c6 (git): merge revision(s) 57360: [Backport #12884]
class.c: non-keyword hash class
* class.c (rb_extract_keywords): keep the class of non-keyword
elements hash as the original. [ruby-core:77813] [Bug #12884]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2...
naruse (Yui NARUSE)
05:12 PM Bug #12821 (Closed): Object converted to Hash unexpectedly under certain method call
naruse (Yui NARUSE)
05:10 PM Bug #13132: [DOC] Improve documentation for Binding
ruby_2_4 r57860 merged revision(s) 57352. naruse (Yui NARUSE)
05:10 PM Revision 97f1e790 (git): merge revision(s) 57352: [Backport #13132]
doc: improve documentation for Binding [ci skip]
* remove explicit return from code examples
* grammar fixes
* other small fixes
Patch by: Marcus Stollsteimer <sto.mar@web.de>
[ruby-core:79082] ...
naruse (Yui NARUSE)
05:09 PM Revision b231f948 (git): merge revision(s) 57335:
s/SaveStringValue/SafeStringValue/
Fix a typo in extension.rdoc.
Signed-off-by: Akira Matsuda <ronnie@dio.jp>
closes #1512
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57859 b2dd03c8-39d4-4d8f...
naruse (Yui NARUSE)
05:07 PM Revision 1fc88012 (git): merge revision(s) 57317,57318:
error.c: moved
* error.c (preface_dump, postscript_dump): moved from
rb_vm_bugreport to place the last important message at the very
last after [NOTE].
error.c: moved
* error.c (preface_dump,...
naruse (Yui NARUSE)
05:06 PM Revision 9ba7e9d4 (git): merge revision(s) 57315:
vm_dump.c: postscript_dump
* vm_dump.c (postscript_dump): mention crash report log twice
because important.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:44 PM Bug #13114: test failures since r57284
ruby_2_4 r57856 merged revision(s) 57305. naruse (Yui NARUSE)
04:44 PM Bug #13120: p [].class shows ThreadSafe::Array when it expects to show Array
ruby_2_4 r57856 merged revision(s) 57305. naruse (Yui NARUSE)
04:44 PM Revision 04e1afd8 (git): merge revision(s) 57305: [Backport #13114] [Backport #13120]
variable.c: fix the condition to cache
* variable.c (rb_const_set): fix the condition to cache the class
path and cache permanent or temporary path corresponding to the
outer klass. [ruby-core:79039] [Bug #1...
naruse (Yui NARUSE)
04:39 PM Bug #13119: String#scrub ignores the block if the string encoding is not ASCII-compatible
ruby_2_4 r57855 merged revision(s) 57302,57303,57304. naruse (Yui NARUSE)
04:38 PM Revision 9a663128 (git): merge revision(s) 57302,57303,57304: [Backport #13119]
string.c: block for scrub with ASCII-incompatible
* string.c (rb_enc_str_scrub): honor the given block with
ASCII-incompatible encoding. [ruby-core:79039] [Bug #13120]
string.c: yield invalid part
* s...
naruse (Yui NARUSE)
04:29 PM Bug #12613: iseq_set_sequence: adjust bug -1 < 0 (retry inside begin/rescue)
ruby_2_4 r57854 merged revision(s) 57300,57368. naruse (Yui NARUSE)
04:29 PM Revision 2ba797d3 (git): merge revision(s) 57300,57368: [Backport #12613]
compile.c: check compile
* compile.c (iseq_compile_each): check if sub nodes succeeded.
[ruby-core:76531] [Bug #12613]
compile.c: check err_info
* compile.c (iseq_setup): bail out if any errors found.
...
naruse (Yui NARUSE)
04:24 PM Bug #13107: def_delegators causes random errors in MRI 2.4.0
ruby_2_4 r57853 merged revision(s) 57293. naruse (Yui NARUSE)
04:24 PM Revision 66487605 (git): merge revision(s) 57293: [Backport #13107]
vm_insnhelper.c: block argument at tailcall
* vm_insnhelper.c (vm_call_iseq_setup_tailcall): check interrupts
after set up the new frame, not the passed block to be clobbered
by invoked finalizers and so on. ...
naruse (Yui NARUSE)
04:08 PM Revision f0e08230 (git): * 2017-03-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:08 PM Revision 2c8701fc (git): suppress warning: shadowing outer local variable - dir & opt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:03 PM Bug #13113: Performance issue, const_set Module.new is too slow in Ruby 2.4
ruby_2_4 r57850 merged revision(s) 57283,57284. naruse (Yui NARUSE)
03:03 PM Revision d4f4ba6f (git): merge revision(s) 57283,57284: [Backport #13113]
benchmarks for [Bug #13113] [ci skip]
variable.c: resolve permanent name only
* variable.c (rb_const_set): resolve and cache class name
immediately only if the outer class/module has the name,
otherwi...
naruse (Yui NARUSE)
02:59 PM Bug #13112: io/console io.winsize=[rows,cols] throws TypeError: no implicit conversion of false into Integer
ruby_2_4 r57849 merged revision(s) 57280,57282. naruse (Yui NARUSE)
02:59 PM Revision 00d2e368 (git): merge revision(s) 57280,57282: [Backport #13112]
console.c: OOB access
* ext/io/console/console.c (console_set_winsize): fix
out-of-bounds access. [ruby-core:79004] [Bug #13112]
console.c: unpaired size
* ext/io/console/console.c (console_set_winsiz...
naruse (Yui NARUSE)
02:48 PM Bug #12855: Inconsistent keys identity in compare_by_identity Hash when using literals
ruby_2_4 r57848 merged revision(s) 57278,57279. naruse (Yui NARUSE)
02:48 PM Revision fd89be25 (git): merge revision(s) 57278,57279: [Backport #12855]
fix optimization for hash aset/aref with fstring
Patch by Eric Wong [ruby-core:78797].
I don't like the idea of making insns.def any bigger to support
a corner case, and "test_hash_aref_fstring_identity" shows
...
naruse (Yui NARUSE)
02:25 PM Bug #13090: Cannot use return statement in lambdas using instance_eval (MRI 2.4)
ruby_2_4 r57847 merged revision(s) 57240. naruse (Yui NARUSE)
02:25 PM Revision 30257ef4 (git): merge revision(s) 57240: [Backport #13090]
vm.c: fix return in lambda
* vm.c (invoke_block_from_c_splattable): pass lambda-ness.
* vm_eval.c (yield_under): invoke lambda proc properly.
[ruby-core:78917] [Bug #13090]
git-svn-id: svn+ssh://ci.ruby-lang....
naruse (Yui NARUSE)
02:20 PM Bug #13089: r57227 の変更ではリークが起きるようです
ruby_2_4 r57846 merged revision(s) 57236. naruse (Yui NARUSE)
02:20 PM Revision b232b1bb (git): merge revision(s) 57236: [Backport #13089]
rational.c: memory leak in gcd
* rational.c (rb_gcd_gmp): fix memory leak. patched by KISHIMOTO,
Makoto <ksmakoto AT dd.iij4u.or.jp> in [ruby-dev:49934].
[Bug #13089]
git-svn-id: svn+ssh://ci.ruby-lang.org/...
naruse (Yui NARUSE)
01:58 PM Bug #13232: Comparing BigDecimal to float or Rational fails sometimes
Any update on this one?
Should I look for more easily reproducible steps? What about opening a Github issue/PR?
Thanks.
romuloceccon (Rômulo Ceccon)
01:36 PM Revision 04336d79 (git): merge revision(s) 57205:
cont.c: change fiber stack size doc [ci skip]
It's many years since we had tiny 4KB fiber stacks :<
point to the manpage instead for current, larger sizes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@5...
naruse (Yui NARUSE)
01:35 PM Bug #13091: 2.4.0がコンパイルできない
ruby_2_4 r57844 merged revision(s) 57246. naruse (Yui NARUSE)
12:47 PM Bug #13091: 2.4.0がコンパイルできない
2.4へのバックポートはrejectします naruse (Yui NARUSE)
01:35 PM Revision 80de3313 (git): merge revision(s) 57246: [Backport #13091]
fix typo [Bug #13091]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:35 PM Bug #13084: String cast to Rational on 2.4.0p0 results in SegFault with Mathn required
ruby_2_4 r57843 merged revision(s) 57232. naruse (Yui NARUSE)
01:35 PM Revision a704e21f (git): merge revision(s) 57232: [Backport #13084]
rational.c: fix for mathn
* rational.c (read_num, read_rat_nos): dispatch by the type of numerator, for
mathn. [ruby-core:78893] [Bug #13084]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57843 b2dd03...
naruse (Yui NARUSE)
01:24 PM Revision 5242bca2 (git): defs/gmake.mk: update again after comit [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:23 PM Revision 8edc6f44 (git): merge revision(s) 57204:
r57203 needs r57204.
io.c: use io_close to close ARGF
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:03 PM Bug #13078: with Integer a and b, a.fdiv(b) sometimes inaccurate than Rational(a, b).to_f
ruby_2_4 r57840 merged revision(s) 57227. naruse (Yui NARUSE)
01:03 PM Revision ea52cac1 (git): merge revision(s) 57227: [Backport #13078]
numeric.c: reduce fdiv
* numeric.c (rb_int_fdiv_double): reduce first for more precise
result. [ruby-core:78886] [Bug #13078]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57840 b2dd03c8-39d4-4d8f-98f...
naruse (Yui NARUSE)
01:03 PM Bug #13076: SEGV in io.c when reading closed stream in Thread
ruby_2_4 r57838 merged revision(s) 57199,57202,57206,57224. naruse (Yui NARUSE)
01:02 PM Revision 2f1cc54d (git): merge revision(s) 57203:
io.c: ARGF fd leak
* io.c (argf_next_argv): fix leak of fd after breaking in #each
method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:02 PM Revision 1c13c7fa (git): merge revision(s) 57199,57202,57206,57224: [Backport #13076]
io.c: fix race between read and close
* io.c (io_fillbuf): fix race between read and close, in the case
the IO gets closed before the reading thread achieve the lock.
[ruby-core:78845] [Bug #13076]
th...
naruse (Yui NARUSE)
12:53 PM Bug #13073: Hash Key => Proc parse failure
ruby_2_4 r57837 merged revision(s) 57198. naruse (Yui NARUSE)
12:53 PM Revision c093d46f (git): merge revision(s) 57198: [Backport #13073]
parse.y: preserve cmdarg stack
* parse.y (do_body): preserve cmdarg stack around do/end block.
[ruby-core:78837] [Bug #13073]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57837 b2dd03c8-39d4-4d8f-98ff...
naruse (Yui NARUSE)
12:45 PM Bug #13074: When executing instance_exec with symbol.to_proc, it ignores first argument.
ruby_2_4 r57834 merged revision(s) 57194. naruse (Yui NARUSE)
12:26 PM Revision 0d45ea8d (git): compile.c: constify flags
* compile.c (compile_cpath): return `noscoped` bit flag, instead
of boolean flag.
* compile.c (iseq_compile_each): constify flags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:15 AM Revision 03482623 (git): test/ruby/test_require.rb: use squiggly heredocs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:06 AM Revision 927c116d (git): merge revision(s) 57194: [Backport #13074]
vm_eval.c: Symbol#to_proc and instance_exec
* vm_eval.c (yield_under): should evaluate the proc on the first
argument. [ruby-core:78839] [Bug #13074]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@5783...
naruse (Yui NARUSE)
10:48 AM Bug #13301 (Third Party's Issue): Bad value parse in IniFile Gem
vo.x (Vit Ondruch)
12:38 AM Bug #13301: Bad value parse in IniFile Gem
D'oh! This belongs against the gem, not the Ruby language. Feel free to close it. eegah (Eric Griswold)
10:44 AM Bug #13075: String#unpack with block / String#unpack1 exposes uninitialized memory
ruby_2_4 r57833 merged revision(s) 57187,57234. naruse (Yui NARUSE)
10:44 AM Revision 7b560e31 (git): merge revision(s) 57187,57234: [Backport #13075]
pack.c: avoid returning uninitialized String
Fix unpacking with 'b', 'B', 'h' and 'H' format. Do not return an
uninitialized String to Ruby before filling the content bytes.
Fixes r11175 ("pack.c (pack_unpack): e...
naruse (Yui NARUSE)
10:37 AM Revision 6c93dee7 (git): merge revision(s) 57179:
bignum.c: precise fdiv
* bignum.c (big_fdiv): more precise calculation. [ruby-dev:49915]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:28 AM Bug #13068: VC6 compilation failures
ruby_2_4 r57831 merged revision(s) 57173-57175. naruse (Yui NARUSE)
10:28 AM Revision b5154b0e (git): merge revision(s) 57173-57175: [Backport #13068]
------------------------------------------------------------------------
r57173 | nobu | 2016-12-24 22:19:50 +0900 (Sat, 24 Dec 2016) | 4 lines
compile.c: constify
* compile.c (method_for_self): constify an argu...
naruse (Yui NARUSE)
10:18 AM Bug #13066: 2.4.0-rc1, VC14, Segmentation fault on RSS::TestRSS10Core#test_to_xml
ruby_2_4 r57830 merged revision(s) 57170-57172. naruse (Yui NARUSE)
10:17 AM Revision a3cfd380 (git): merge revision(s) 57170-57172: [Backport #13066]
test/unit.rb: restore parallel option
* test/lib/test/unit.rb (_run_parallel): restore parallel option
after retrying for --repeat-count option.
------------------------------------------------------------------------
...
naruse (Yui NARUSE)
08:47 AM Bug #13297: SIGSEGV on ruby exit after `require 'tk'`
Applied nobu's suggestion at https://github.com/ruby/tk/pull/7 hsbt (Hiroshi SHIBATA)
05:43 AM Feature #9453: Return symbols of defined methods for `attr` and friends
`attr_*` methods returning `nil` should be considered a bug at this point, since all other ways of defining methods return a symbol. This makes Ruby inconsistent, and violates its own Principle of Least Surprise. vais (Vais Salikhov)
03:29 AM Feature #13300: Strip chroot path from $LOADED_FEATURES when calling Dir.chroot
Thanks nobu, your patch is definitely better.
I thought about stripping `$LOAD_PATH`, but I believe it would break backwards compatibility slightly, since `$LOAD_PATH` stores where to look for future loads/requires, and is not concern...
jeremyevans0 (Jeremy Evans)
01:43 AM Feature #13300: Strip chroot path from $LOADED_FEATURES when calling Dir.chroot
Should not use `features_index_add`.
By replacing `$LOADED_FEATURES`, the internal snapshot will be invalidated.
And doesn't `$LOAD_PATH` need to be stripped?
```diff
diff --git a/dir.c b/dir.c
index 365f059b0f..3b55e4f4a0 100644
...
nobu (Nobuyoshi Nakada)

03/10/2017

11:59 PM Bug #13301 (Third Party's Issue): Bad value parse in IniFile Gem
A carefully (or accidentally) crafted value can cause Inifile#load to become confused when it apparently incorrectly parses a string as a scientific notation value.
The enclosed script should print "2017.1_26_57e7669". Instead it prin...
eegah (Eric Griswold)
11:51 PM Feature #13300 (Rejected): Strip chroot path from $LOADED_FEATURES when calling Dir.chroot
Currently, `Dir.chroot` doesn't modify `$LOADED_FEATURES`, leading
to a situation where `Kernel#require` will attempt to load the same
file twice, or a different file not at all because it thinks it
is already loaded.
With this exa...
jeremyevans0 (Jeremy Evans)
08:09 PM Revision 20952cc5 (git): * 2017-03-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:09 PM Revision 568f8adf (git): compile.c: apply opt_str_freeze to String#-@ (uminus)
The same optimization used for "literal string".freeze
can easily apply to uminus without introducing any
compatibility problems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
07:54 PM Bug #13299 (Closed): backport r57469, r57472, r57508 (garbage reduction for IO#write/syswrite)
Closing to trigger backport request
normalperson (Eric Wong)
07:46 PM Bug #13299 (Closed): backport r57469, r57472, r57508 (garbage reduction for IO#write/syswrite)
This is a performance regression introduced in Ruby 2.0.0 and
maybe some folks would like it fixed in a stable release before
December 25, 2017
Thank you.
normalperson (Eric Wong)
03:12 PM Bug #8784: CSV - Empty fields are discarded when col_sep is a space
The problem is in the String::split function.
It turns out it is a feature, not a bug: http://ruby-doc.org/core-2.4.0/String.html#method-i-split .
"If pattern is a single space, str is split on whitespace, with leading whitespace and r...
slavcho42 (Slavcho Ivanov)
02:08 PM Bug #11567: Segmentation fault CFUNC :gets
I can't reproduce it, but it seems [Bug #13076]. nobu (Nobuyoshi Nakada)
02:02 PM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Nobuyoshi Nakada wrote:
> Of course, it's only in the trunk.
I understand that, I mean after I applied this patchset to the 2.4 build. Could be that it requires more from upstream. I'll be satisfied with this for now, I suppose.
Any...
ntzrmtthihu777 (Marty Plummer)
12:19 PM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Of course, it's only in the trunk. nobu (Nobuyoshi Nakada)
08:50 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Nobuyoshi Nakada wrote:
> Marty Plummer wrote:
> ...
Well it doesn't appear to be falling back. Still get the name libx64-msvcrt-ruby240.dll/etc and not the 'ruby24' getting passed to --with-soname
ntzrmtthihu777 (Marty Plummer)
08:27 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Marty Plummer wrote:
> I see you're still hardcoding ${MAJOR}${MINOR}0 into it. Still, this works well enough I suppose.
It's the fallback.
nobu (Nobuyoshi Nakada)
08:06 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Nobuyoshi Nakada wrote:
> OK, you can try it now.
I see you're still hardcoding ${MAJOR}${MINOR}0 into it. Still, this works well enough I suppose.
As a side note, that x64 in the libname I think may be utterly unneeded in most re...
ntzrmtthihu777 (Marty Plummer)
07:21 AM Misc #13296 (Closed): building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
OK, you can try it now. nobu (Nobuyoshi Nakada)
04:04 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Shyouhei Urabe wrote:
> Isn't this something normal? I don't have MinGW so platform-specific situation is not clear to me but, at least GNU libtool generates similar Makefiles so I think there are lots of other libraries who install lik...
ntzrmtthihu777 (Marty Plummer)
03:39 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Marty Plummer wrote:
> It is not. Its a windows stupidity issue, which has to be worked around. Simply drop the version from the library name and packagers/builders can decide for themselves what is best to be done with it.
It's nece...
nobu (Nobuyoshi Nakada)
03:22 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Isn't this something normal? I don't have MinGW so platform-specific situation is not clear to me but, at least GNU libtool generates similar Makefiles so I think there are lots of other libraries who install like us.
https://www.gnu....
shyouhei (Shyouhei Urabe)
02:03 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Nobuyoshi Nakada wrote:
> Marty Plummer wrote:
> ...
It is not. Its a windows stupidity issue, which has to be worked around. Simply drop the version from the library name and packagers/builders can decide for themselves what is best t...
ntzrmtthihu777 (Marty Plummer)
01:06 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Marty Plummer wrote:
> Building ruby for windows/mingw using gentoo's crossdev tool uses the exact same ebuild, and the --with-soname argument cannot
> ...
It's an ebuild's issue.
nobu (Nobuyoshi Nakada)
12:28 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Nobuyoshi Nakada wrote:
> Yes, soname already includes major and minor version numbers, don't append them more.
You seem to be misunderstanding what I'm talking about.
Building ruby-2.4.0 on gentoo without using the --with-soname=...
ntzrmtthihu777 (Marty Plummer)
12:14 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Yes, soname already includes major and minor version numbers, don't append them more. nobu (Nobuyoshi Nakada)
01:46 PM Revision c51de81d (git): common.mk: ignore clean-rubyspec error [ci skip]
* common.mk (clean-rubyspec): nothing to clean before running
rubyspec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:18 AM Revision b80c265f (git): debug_counter.c: debug_counter_names [ci skip]
* debug_counter.c (debug_counter_names): stringize debug counter
names by preprocessor.
* debug_counter.h (RB_DEBUG_COUNTER): define counter names outside
the include guard, to expand multiple times.
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
05:34 AM Revision ac3b77c9 (git): configure.in: RUBY_SO_NAME as --with-soname
* configure.in (RUBY_SO_NAME): [EXPERIMENTAL] use the given name
literally if --with-soname is specified.
[ruby-core:79972] [Misc #13296]
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57825 b2dd03c8-39d4-4d8f-98ff-823...
nobu (Nobuyoshi Nakada)
12:30 AM Bug #13297 (Third Party's Issue): SIGSEGV on ruby exit after `require 'tk'`
It's a bug in ext/tk, that calling `rb_exc_raise` instead of `rb_jump_tag` on `TAG_FATAL`. nobu (Nobuyoshi Nakada)

03/09/2017

08:58 PM Bug #13298: mingw SEGV TestEnumerable#test_callcc
Added SEGV log.
Also, listed method calls sort with two items, and faults. Next call does the same with three items. No error. Hence,
3. Any ideas?
MSP-Greg (Greg L)
08:34 PM Bug #13298 (Closed): mingw SEGV TestEnumerable#test_callcc
First week in January, when I first started building, I had a SEGV in test-all occurring in TestEnumerable#test_callcc. I patched around it, but decided it was time to see if I could find a solution.
The issue occurs in [test/ruby/te...
MSP-Greg (Greg L)
07:48 PM Revision d6873af4 (git): * 2017-03-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:48 PM Revision 4f2db15b (git): object.c: [DOC] simplify Object#tap example
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
12:16 PM Bug #13297 (Third Party's Issue): SIGSEGV on ruby exit after `require 'tk'`
I get SIGSEGV when exiting ruby after I required tk. Everything seems to work fine though, crash is only when exiting.
Here is smallest possible script I managed to reproduce issue with:
~~~ ruby
require 'tk'
~~~
I've compiled...
graywolf (Gray Wolf)
10:12 AM Misc #13283: Disable `&' interpreted as argument prefix warning when passing symbol to Enumerable#map
This warning seems to be more than 10 years old. It certainly predates the &:method_name idiom.
It would be very good to hear from people who currently rely on or are helped by this warning, or remember why it was introduced in the fi...
duerst (Martin Dürst)
09:59 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Nobuyoshi Nakada wrote:
> Remove `${ver}` from `--with-soname`.
Not doable, its something you guys are doing, not downstream.
Proof: building ruby for windows without any --with-soname or --program-suffix
still sticks 'ruby${ver}' ...
ntzrmtthihu777 (Marty Plummer)
07:52 AM Misc #13296 (Rejected): building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Remove `${ver}` from `--with-soname`. nobu (Nobuyoshi Nakada)
01:46 AM Misc #13296 (Closed): building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Under gentoo the dev-lang/ruby-2.4.0.ebuild explicitly sets --program-suffix
and --with-soname in order to facilitate multiple ruby version installations
at the same time.
Using crossdev for the x86_64-w64-mingw32 target, ruby's bui...
ntzrmtthihu777 (Marty Plummer)
08:55 AM Bug #13235: [BUG] Segmentation fault at 0x00000000000038
I encounter the same error with same gem (mongo-2.4.1) too.
Not sure what else I can provide.
I was doing MongoDB model query for 1000 times.
If I do that for 100 times it sometimes gives the same error too.
PikachuEXE (Pikachu EXE)
06:44 AM Revision 22d842de (git): rbconfig/sizeof: remove VPATH
* ext/rbconfig/sizeof/depend: remove VPATH for `make dist`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:05 AM Feature #13290: A method to use a hash like in a case construction
Yusuke Endoh wrote:
> ~~~~
> ...
I expected something that would be as easy as and comparable to `h[key]`.
sawa (Tsuyoshi Sawada)
03:49 AM Revision f1de2e00 (git): ext/socket/raddrinfo.c (addrinfo_mark): avoid needless branch
gc.c (gc_mark_children, case T_DATA) does not use
the dmark function pointer if DATA_PTR is NULL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
03:38 AM Revision a3c23f00 (git): goruby.c: FD leak [ci skip]
* goruby.c (goruby_options): fix potential FD leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:33 AM Bug #13258: Segmentation fault at 0x00000000000000 during instance_eval
What appears to be the same problem also occurs when running inside Puma. david.drakard (David Drakard)
03:31 AM Revision f861c4d4 (git): rbconfig/sizeof: nmake VPATH
* ext/rbconfig/sizeof/depend: prepend VPATH for out-of-place build
using nmake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:37 AM Bug #13293: 2017-03-08 trunk 57807 mingw x64, SEGV, test/ruby/test-enum.rb
Done. Thank you for the reports, and sorry for your inconvenience. shyouhei (Shyouhei Urabe)
02:31 AM Bug #13293 (Closed): 2017-03-08 trunk 57807 mingw x64, SEGV, test/ruby/test-enum.rb
Applied in changeset r57818.
----------
revert RB_FIXABLE related changesets [Bug #13288][Bug #13293][Bug #13294]
This commit is auto-generated using following command:
svn diff -r57807:57788 include internal.h bignum.c numeric.c comp...
shyouhei (Shyouhei Urabe)
02:23 AM Bug #13293: 2017-03-08 trunk 57807 mingw x64, SEGV, test/ruby/test-enum.rb
OK, it seems what I tried break your environment. Let me revert the whole changeset I did. shyouhei (Shyouhei Urabe)
02:31 AM Bug #13294 (Closed): 2017-03-08 trunk 57807 mingw x64, SEGV, test/ruby/test-array.rb
Applied in changeset r57818.
----------
revert RB_FIXABLE related changesets [Bug #13288][Bug #13293][Bug #13294]
This commit is auto-generated using following command:
svn diff -r57807:57788 include internal.h bignum.c numeric.c comp...
shyouhei (Shyouhei Urabe)
02:31 AM Bug #13288 (Closed): mingw issues with 57789
Applied in changeset r57818.
----------
revert RB_FIXABLE related changesets [Bug #13288][Bug #13293][Bug #13294]
This commit is auto-generated using following command:
svn diff -r57807:57788 include internal.h bignum.c numeric.c comp...
shyouhei (Shyouhei Urabe)
02:31 AM Revision c56edb9a (git): revert RB_FIXABLE related changesets [Bug #13288][Bug #13293][Bug #13294]
This commit is auto-generated using following command:
svn diff -r57807:57788 include internal.h bignum.c numeric.c compile.c insns.def object.c sprintf.c | patch -p0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57818 b2dd03c8-39...
shyouhei (Shyouhei Urabe)
02:10 AM Revision 35fde4da (git): fix UTF-32 valid_encoding?
* test/ruby/test_io_m17n.rb (TestIO_M17N#test_puts_widechar): do
not use invalid codepoint. [ruby-core:79966] [Bug #13292]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:04 AM Bug #13292 (Closed): Invalid encodings in UTF-32
Applied in changeset r57816.
----------
fix UTF-32 valid_encoding?
* enc/utf_32be.c (utf32be_mbc_enc_len): check arguments precisely.
[ruby-core:79966] [Bug #13292]
* enc/utf_32le.c (utf32le_mbc_enc_len): ditto.
* regenc.h (UNICODE...
nobu (Nobuyoshi Nakada)
02:04 AM Revision 4171ed6c (git): fix UTF-32 valid_encoding?
* enc/utf_32be.c (utf32be_mbc_enc_len): check arguments precisely.
[ruby-core:79966] [Bug #13292]
* enc/utf_32le.c (utf32le_mbc_enc_len): ditto.
* regenc.h (UNICODE_VALID_CODEPOINT_P): predicate for valid
Unicode codepoints.
git-s...
nobu (Nobuyoshi Nakada)
01:55 AM Revision e65c9bd1 (git): test_utf16.rb: refine valid_encoding tests
* test/ruby/enc/test_utf16.rb (test_utf16be_valid_encoding):
assert all data and use assert_predicate.
* test/ruby/enc/test_utf16.rb (test_utf16le_valid_encoding):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57815 b2dd...
nobu (Nobuyoshi Nakada)
01:06 AM Revision 2ebc4465 (git): make commit [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

03/08/2017

09:26 PM Feature #13295 (Closed): [PATCH] compile.c: apply opt_str_freeze to String#-@ (uminus)
The same optimization used for "literal string".freeze
can easily apply to uminus without introducing any
compatibility problems.
I can't think of any problems this would introduce,
but I'll wait a few days for feedback before ...
normalperson (Eric Wong)
09:24 PM Revision e064879e (git): string.c (str_uminus): update doc for deduplication
As of r57698, String#-@ can return pre-existing strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
08:41 PM Bug #9829 (Closed): Contradictions in docs for FileUtils::ln (and related functions)
Applied in changeset r57811.
----------
docs for FileUtils.ln methods
* lib/fileutils.rb: [DOC] add clarifying call-seq's for FileUtil.ln,
ln_s, and ln_sf, with better argument names for the created link and
link target. Reported ...
stomar (Marcus Stollsteimer)
08:41 PM Revision 4e00aaaf (git): * 2017-03-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:41 PM Revision ddd37e54 (git): docs for FileUtils.ln methods
* lib/fileutils.rb: [DOC] add clarifying call-seq's for FileUtil.ln,
ln_s, and ln_sf, with better argument names for the created link and
link target. Reported by Mike Vastola. [ruby-core:62532] [Bug #9829]
* lib/fileutils.rb: [DOC...
stomar (Marcus Stollsteimer)
06:10 PM Bug #13294 (Closed): 2017-03-08 trunk 57807 mingw x64, SEGV, test/ruby/test-array.rb
Array and Enumerable are related. Attached file shows comments needed for test/ruby/test-array.rb to not generate SEGV's.
Soon, I'll update (pull), build and test to see if 57809, etc have any effect.
[Ruby, Rails, & AWS doc](http...
MSP-Greg (Greg L)
05:39 PM Bug #13293 (Closed): 2017-03-08 trunk 57807 mingw x64, SEGV, test/ruby/test-enum.rb
For a number of builds, I've had to patch around two methods in test/ruby/test-enum.rb. After finishing moving the test framework so I can 'pieces and parts' it, only one method is causing the original issue. Additionally, there are se... MSP-Greg (Greg L)
05:03 PM Feature #12698: Method to delete a substring by regex match
Yukihiro Matsumoto wrote:
> I don't think it's worth adding which is easily done by `sub/gsub`.
> ...
I think the problem goes beyond than that. String#delete takes a string as a parameter and natural thought progression would indicat...
uchagani (Umair Chagani)
03:20 PM Bug #13288: mingw issues with 57789
Robert A. Heiler wrote:
> Have we found the code-culprit though or was it a Heisenbug fix? :)
Given that a perfect test system needs to test for every conditional and every iteration, I doubt one exists. At some point, I prefer a ma...
MSP-Greg (Greg L)
08:30 AM Bug #13288: mingw issues with 57789
Have we found the code-culprit though or was it a Heisenbug fix? :)
I mean it may be obvious now that one commit by naruse fixed it but
if anyone could confirm it that would be great, just out of
(my) curiosity.
shevegen (Robert A. Heiler)
01:31 AM Bug #13288: mingw issues with 57789
Shyouhei,
Not sure which commit did it, but x64 builds fine now. test-all result:
```
16616 tests, 2233236 assertions, 10 failures, 5 errors, 150 skips
ruby -v: ruby 2.5.0dev (2017-03-08 trunk 57806) [x64-mingw32]
```
I'll t...
MSP-Greg (Greg L)
01:52 PM Revision 2a20b491 (git): great love
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:14 PM Bug #13292 (Closed): Invalid encodings in UTF-32
Ruby is very strict about valid UTF-8 encodings, which is great.
Strings that encode surrogates or too large codepoints are not valid.
However, in UTF-32, it is possible to encode such values, and Ruby treats them as valid:
Exam...
rbjl (Jan Lelis)
10:35 AM Feature #13290: A method to use a hash like in a case construction
~~~~
h.find {|a,| a === "barbar" }.last #=> "BAR"
~~~~
This is good enough to me.
mame (Yusuke Endoh)
09:03 AM Feature #13290: A method to use a hash like in a case construction
Tsuyoshi Sawada wrote:
> The name `fetch_as_in_case_construction` is terrible. Perhaps someone can suggest a better name.
What about simplifying this to `fetch_as_case`? Or maybe even just `case`? Just thinking out loud.
duerst (Martin Dürst)
08:27 AM Feature #13290: A method to use a hash like in a case construction
I love case/when menus, so I am all for suggestions that make case/when more
useful, so I also support this (even if this one is indirect, on class Hash,
to have them behave like a case/when menu).
I also would like to see case/when...
shevegen (Robert A. Heiler)
06:57 AM Feature #13290 (Feedback): A method to use a hash like in a case construction
We often want to translate a hash into a case construction and back. For example, suppose we have a case construction like this:
```ruby
case key
when /foo/ then "FOO"
when /bar/ then "BAR"
else "DEFAULT"
end
```
Given that t...
sawa (Tsuyoshi Sawada)
09:47 AM Bug #13291 (Closed): Backport r57809 (fix misplaced parenthesis)
This is an issue for backport management. nagachika (Tomoyuki Chikanaga)
08:19 AM Revision e7f4d909 (git): fix paren
* string.c (str_byte_substr): fix misplaced parenthesis at r56155.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:34 AM Revision 4e61f6d3 (git): proc.c: preserve class name encoding in Proc#to_s
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:50 AM Revision b5155282 (git): re-introduce __builtin_add_overflow
r57789 (74cdd89) was gradually "improve"d by naruse through r57793 to
r57806, resulted in reverting the efect of r57789 while retaining its
complexity. I think the current situation is slightly worse than
before (same output complicated...
shyouhei (Shyouhei Urabe)
 

Also available in: Atom