Project

General

Profile

Activity

From 03/01/2017 to 03/07/2017

03/07/2017

10:03 PM Bug #13288: mingw issues with 57789
Shyouhei,
Not a good day so far. A couple rev's of i686 built, responded to -v, but test-all is a mess. Spent so...
MSP-Greg (Greg L)
05:34 AM Bug #13288: mingw issues with 57789
Shyouhei,
x64 failed (SEGV) on 57794 with the same log --
```
C:\Windows\system32\ntdll.dll(KiUserExceptionDis...
MSP-Greg (Greg L)
05:05 AM Bug #13288: mingw issues with 57789
Greg L wrote:
> About that previous question - does having info on both x86_64 and i686 help, or, dependent on the i...
shyouhei (Shyouhei Urabe)
04:58 AM Bug #13288: mingw issues with 57789
Shyouhei Urabe wrote:
> While I was investigating this issue, naruse reverted some part of the commit nonetheless.
...
MSP-Greg (Greg L)
04:25 AM Bug #13288: mingw issues with 57789
While I was investigating this issue, naruse reverted some part of the commit nonetheless. That might have changed y... shyouhei (Shyouhei Urabe)
03:05 AM Bug #13288: mingw issues with 57789
Thank you for looking for the problem. As mentioned, I'm very c challenged. Would it help if I did a i686 build?
...
MSP-Greg (Greg L)
01:40 AM Bug #13288 (Assigned): mingw issues with 57789
shyouhei (Shyouhei Urabe)
01:39 AM Bug #13288: mingw issues with 57789
Thank you for the report. According to the log your compiler is GCC 6.3 so this is the target environment I wanted t... shyouhei (Shyouhei Urabe)
12:17 AM Bug #13288 (Closed): mingw issues with 57789
I have been building trunk with mingw/MSYS2 for a few months. I also created packages using OpenSSL 1.1.0e and gdbm 1... MSP-Greg (Greg L)
07:48 PM Revision 63c7ccc6 (git): Always use old RB_FIXABLE to allow double as argument
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:51 PM Revision 110760fa (git): Revert r57803 "Avoid to cast the argument"
__builtin_add_overflow doesn't support double.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57805 b2dd03c8-39d4...
naruse (Yui NARUSE)
05:46 PM Revision 07032325 (git): * 2017-03-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:46 PM Revision 6c127aea (git): Avoid to cast the argument
For 32bit environment and __int128 use cases.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57803 b2dd03c8-39d4-...
naruse (Yui NARUSE)
04:31 PM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
These are the correct benchmarks to show the differences in performance doing ``root**n``.
Even in highlevel Ruby, t...
jzakiya (Jabari Zakiya)
02:34 PM Bug #13270 (Rejected): IRB hangs when printing "\e]"
It is not ruby specific, and (probably) expected behavior of some terminal emulators. nobu (Nobuyoshi Nakada)
01:59 PM Feature #12573: Introduce a straightforward way to discover whether a process is running
A number of applications, such as Monit and God, use the pidfiles of the applications they are monitoring in order to... will_in_wi (William Johnston)
01:57 PM Feature #12573: Introduce a straightforward way to discover whether a process is running
Thanks Martin!
Akira, that's another good way of handling the issue in a lot of circumstances. However, lockfiles ...
will_in_wi (William Johnston)
02:02 AM Feature #12573 (Open): Introduce a straightforward way to discover whether a process is running
William Johnston wrote:
> I'm unable to reopen this ticket, so I'd appreciate it if someone would do so for me.
D...
duerst (Martin Dürst)
01:49 AM Feature #12573: Introduce a straightforward way to discover whether a process is running
How about locking a file?
If processes locks a file exclusively,
Only one process can success.
It can be used to...
akr (Akira Tanaka)
01:04 PM Revision d0708e9e (git): string.c: [DOC] Fix a typo in String#dump
[Fix GH-1531][ci skip]
Author: Alex Semyonov <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
znz (Kazuhiro NISHIYAMA)
10:56 AM Bug #13287 (Closed): Stack consistency error (sp: 97, bp: 96)
Applied in changeset r57801.
----------
parse.y: remove trace
* parse.y (reg_named_capture_assign_iter): do not ins...
nobu (Nobuyoshi Nakada)
06:38 AM Bug #13287: Stack consistency error (sp: 97, bp: 96)
```
zsh % diff -upw \
<(ruby --dump=insns -e '/(?<foo>.*)/ =~ "bar" && true' | sed -E 's/ +\( +[0-9]\)$/...
shyouhei (Shyouhei Urabe)
10:56 AM Revision 249fd9e0 (git): parse.y: remove trace
* parse.y (reg_named_capture_assign_iter): do not insert trace
instructions before local variable assinments. puto...
nobu (Nobuyoshi Nakada)
09:13 AM Revision d69d98f6 (git): string.c: negation of LONG_MIN
* string.c (rb_str_update): do not use negation of LONG_MIN, which
is negative too.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
09:08 AM Bug #13289 (Closed): Integer overflow in str_byte_substr & rb_str_subpos when set SHARABLE_MIDDLE_SUBSTRING by 1
Applied in changeset r57799.
----------
string.c: fix integer overflow
* string.c (str_byte_substr): fix another in...
nobu (Nobuyoshi Nakada)
06:02 AM Bug #13289 (Closed): Integer overflow in str_byte_substr & rb_str_subpos when set SHARABLE_MIDDLE_SUBSTRING by 1
Integer overflow occurs in string.c(line 2319 & 5257).
beg + len & clen/n can be controlled by user.
Eg:
```
...
lung (Luc Nguyen)
09:07 AM Revision f4d13801 (git): string.c: fix integer overflow
* string.c (str_byte_substr): fix another integer overflow which
can happen only when SHARABLE_MIDDLE_SUBSTRING is ...
nobu (Nobuyoshi Nakada)
06:33 AM Revision d19d629e (git): Use RB_POSFIXABLE and RB_NEGFIXABLE to avoid cast introduced at r57793
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:48 AM Revision 72f8df15 (git): string.c: fix integer overflow
* string.c (rb_str_subpos): fix integer overflow which can happen
only when SHARABLE_MIDDLE_SUBSTRING is enabled. ...
nobu (Nobuyoshi Nakada)
05:19 AM Revision a298301b (git): suppress warning: shadowing outer local variable - e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:11 AM Revision a3990118 (git): Supress warning: instance variable @repeat_count not initialized
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:46 AM Revision 48240306 (git): Fix up r57788, Function is removed at readline-6.3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:35 AM Revision ac6f08df (git): Use ADD instead of MUL
* On recent CPUs, 2-operand MUL's latency is 3 cycle but ADD is 1 cycle.
* clang Optimizes `MUL rax,2` into `ADD rax,...
naruse (Yui NARUSE)
01:07 AM Revision d4c598c4 (git): fix macro name
* tool/instruction.rb (VmBodyGenerator#make_header_prepare_stack):
REG_CFP has been prefixed with VM_ at r56609. [...
nobu (Nobuyoshi Nakada)

03/06/2017

10:32 PM Bug #13287 (Closed): Stack consistency error (sp: 97, bp: 96)
This works:
~~~ ruby
/ (?<foo>.*)/ =~ "bar" && true
~~~
This produces a stack consistency error with `2.4.0` ...
v49564 (Victor Bruley)
09:44 PM Feature #12573: Introduce a straightforward way to discover whether a process is running
I'm unable to reopen this ticket, so I'd appreciate it if someone would do so for me. My apologies for not responding... will_in_wi (William Johnston)
07:44 PM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
A further simplification can be done for ``numb = root**n``
root = bit_mask = 1 << (b = (num.bit_length - 1)/...
jzakiya (Jabari Zakiya)
02:58 AM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
More efficient.
```
root = bit_mask = (b = 1 << (num.bit_length - 1)/n)
numb = root << b*(n-1) ...
jzakiya (Jabari Zakiya)
07:42 PM Revision 1ec51631 (git): * 2017-03-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:42 PM Revision 8188fb9a (git): io.c: [DOC] open mode can be an integer; fix rdoc syntax
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
03:54 PM Bug #13270: IRB hangs when printing "\e]"
I can reproduce `print "\e]"` and Ctrl+C, nothing happens. But I can't reproduce using `puts "\e["`. And I can't repr... znz (Kazuhiro NISHIYAMA)
03:43 PM Misc #13283: Disable `&' interpreted as argument prefix warning when passing symbol to Enumerable#map
Dan Allen wrote:
> I omit using a slightly different style in a chain.
>
> ~~~
> (q.map &:w).e.r.t.y
> ~~~
T...
Eregon (Benoit Daloze)
03:54 AM Misc #13283: Disable `&' interpreted as argument prefix warning when passing symbol to Enumerable#map
I omit using a slightly different style in a chain.
~~~
(q.map &:w).e.r.t.y
~~~
Effectively, I group the stan...
mojavelinux (Dan Allen)
03:13 AM Misc #13283: Disable `&' interpreted as argument prefix warning when passing symbol to Enumerable#map
I'm also a member of the church of dropping parens if possible. I'm not against introducing some new syntax to pass ... shyouhei (Shyouhei Urabe)
02:11 PM Bug #13277: Ruby 2.4.0 gem server 2.6.8
The related fix in the rubygems-2.6.9 changelog is https://.com/rubygems/rubygems/blob/a2920e27661a18f60ad76b17... larskanis (Lars Kanis)
11:30 AM Bug #13286 (Closed): Segfault when using rb_debug_inspector_open / rb_debug_inspector_frame_binding_get with Fiddle, but not when directly from C extension
## System
```shell
$ uname -a
Linux clients 4.1.5-x86_64-linode61 #7 SMP Mon Aug 24 13:46:31 EDT 2015 x86_64 x86...
shreeve (Steve Shreeve)
11:14 AM Revision 74cdd893 (git): optimize FIXABLE macro
Looking at the source code, FIXABLE tends to be just before LOING2FIX
to check applicability of that operation. Why ...
shyouhei (Shyouhei Urabe)
09:10 AM Revision cf2a6866 (git): Avoid to warning of clang with -Wincompatible-pointer-types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:10 AM Revision f96c171e (git): readline.c: fix waiting fucntion
* ext/readline/readline.c (getc_body): use
rb_w32_wait_events_blocking in block region.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
07:25 AM Revision 5e62a1bd (git): LONG_LONG_MAX not always available
I was not aware of cases when LONG_LONG_MAX is undefined. Sorry.
Signed-off-by: Urabe, Shyouhei <shyouhei@ruby-lang...
shyouhei (Shyouhei Urabe)
06:44 AM Revision 63f298b0 (git): opt_eq_func refactor
* vm_insnhelper.c (opt_eq_func): method to dis is resolved by
only the receiver's class, not including the arg...
nobu (Nobuyoshi Nakada)
06:04 AM Revision 3106f941 (git): use HAVE_BUILTIN___BUILTIN_MUL_OVERFLOW
We already check for __builtin_mul_overflow in configure but never
actually referred it before. Why not call it if a...
shyouhei (Shyouhei Urabe)
05:55 AM Bug #13285 (Rejected): You may have encountered a bug in the Ruby interpreter or extension libraries.
Vipala Patil wrote:
> ```
> /Users/gargee/.rvm/gems/ruby-2.3.1@poaster/gems/eventmachine-1.2.3/lib/rubyeventmachine...
shyouhei (Shyouhei Urabe)
05:35 AM Bug #13285 (Rejected): You may have encountered a bug in the Ruby interpreter or extension libraries.
/Users/gargee/.rvm/gems/ruby-2.3.1@poaster/gems/eventmachine-1.2.3/lib/rubyeventmachine.bundle: [BUG] Segmentation fa... Vipala (Vipala Patil)

03/05/2017

11:56 PM Bug #13284 (Closed): IA64 ruby 2.4 miniruby segfault
Hello, I faced with this degradation (2.0.0 work perfect)
[ruby-2.4.0]$ gdb ./miniruby
GNU gdb Red Hat Linux (6.3...
ntfshard (Maksim Derbasov)
11:45 PM Misc #13283: Disable `&' interpreted as argument prefix warning when passing symbol to Enumerable#map
If the warning can't be removed, can we find some other way to write this statement without the need for parentheses? mojavelinux (Dan Allen)
11:43 PM Misc #13283 (Closed): Disable `&' interpreted as argument prefix warning when passing symbol to Enumerable#map
A common idiom in Ruby is to pass a symbol reference to `Enumerable#map`, which in turn invokes the corresponding met... mojavelinux (Dan Allen)
11:36 PM Revision c8921b5e (git): compile.c: variable type
* compile.c (iseq_compile_each): fix variable type, use VALUE for
Symbol.
http://svn.ruby-lang.org/cgi-bin/viewvc...
nobu (Nobuyoshi Nakada)
08:17 PM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
An optimization for the initiall ``root**n`` can be as follows:
Given any number **num** with only one bit set, an...
jzakiya (Jabari Zakiya)
07:43 PM Revision e926245b (git): * 2017-03-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:43 PM Revision 5dfde646 (git): 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 migh...
stomar (Marcus Stollsteimer)
12:54 PM Bug #12975: Edit documentation for IO#print function
Dario Daic wrote:
> * Add "and is a string" where usage of $' and $\ is explained.
> When assigning any other value...
stomar (Marcus Stollsteimer)
12:36 PM Bug #12975 (Closed): Edit documentation for IO#print function
Applied in changeset r57780.
----------
docs for IO#print
* io.c: [DOC] split documentation for IO#print into small...
stomar (Marcus Stollsteimer)
12:36 PM Revision 6af78021 (git): docs for IO#print
* io.c: [DOC] split documentation for IO#print into smaller paragraphs,
delete duplicate sentence, fix call-seq.
...
stomar (Marcus Stollsteimer)
12:29 PM Bug #13277: Ruby 2.4.0 gem server 2.6.8
I guess when a new ruby main release will happen, the distributed gem in the bundle will also be
updated. The last r...
shevegen (Robert A. Heiler)
08:12 AM Bug #13282: opt_str_freeze does not always dedupe
Eric Wong <[email protected]> wrote:
> Now, I wonder what's causing this to interact badly with
> test-unit......
normalperson (Eric Wong)
07:32 AM Bug #13282: opt_str_freeze does not always dedupe
Eric Wong <[email protected]> wrote:
> Now, I wonder what's causing this to interact badly with
> test-unit......
normalperson (Eric Wong)
07:32 AM Bug #13282: opt_str_freeze does not always dedupe
[email protected] wrote:
> Testing with some old installs I had around, 2.1.9p490 seems fine,

Too Bad I'm Wr...
normalperson (Eric Wong)
01:57 AM Bug #13282 (Rejected): opt_str_freeze does not always dedupe
Attached is the same test extracted from test/ruby/test_optimization.rb
but it fails in a standalone context. Not s...
normalperson (Eric Wong)
01:46 AM Bug #13279 (Closed): Math.log10 accuracy regression
Applied in changeset r57779.
----------
math.c: more accuracy
* math.c (math_log10): calculate log10(2) for more ac...
nobu (Nobuyoshi Nakada)
01:46 AM Revision 01fb6694 (git): math.c: more accuracy
* math.c (math_log10): calculate log10(2) for more accuracy.
[ruby-core:79907] [Bug #13279]
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
01:07 AM Bug #13270: IRB hangs when printing "\e]"
Nobuyoshi Nakada wrote:
> What terminal emulator are you using, the standard `Terminal.app`?
I'm using iTerm 3.0....
domaio (Dorian M)
12:15 AM Feature #13278 (Third Party's Issue): Rubygems Command Reference added to repo
Please request to the upstream. nobu (Nobuyoshi Nakada)

03/04/2017

08:08 PM Revision 3ca1cbec (git): string.c: [DOC] fix doc formatting for String#==, #===
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
08:02 PM Revision b637593a (git): rdoc for String class
* lib/unicode_normalize.rb: [DOC] prevent a comment from
showing up in the class documentation for String.
git-svn...
stomar (Marcus Stollsteimer)
07:52 PM Bug #13281 (Closed): [DOC] OptionParser docs into class documentation of Object
Applied in changeset r57775.
----------
nodoc OptParse
* lib/optparse.rb: [DOC] nodoc OptParse, introduced with r46...
stomar (Marcus Stollsteimer)
06:44 PM Bug #13281 (Closed): [DOC] OptionParser docs into class documentation of Object
Since r46126 [Feature #9864], where OptParse was added as an alias for OptionParser, the complete class documentation... stomar (Marcus Stollsteimer)
07:52 PM Revision a8fca126 (git): * 2017-03-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:52 PM Revision e9d6c671 (git): nodoc OptParse
* lib/optparse.rb: [DOC] nodoc OptParse, introduced with r46126,
to avoid ing of its documentation (OptionParse...
stomar (Marcus Stollsteimer)
06:59 PM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
It would be really helpful if people produce empirical results of actual coded
examples of techniques, to establish ...
jzakiya (Jabari Zakiya)
06:15 PM Bug #13280 (Rejected): net/ftp: Putbinaryfile (on Windows) requires blocksize equal to file size
I searched this issue list (for Descriptions including `ftp`), but didn't find this problem discussed.
Recently, i...
MarkDBlackwell (Mark D Blackwell)
05:18 PM Bug #13279 (Closed): Math.log10 accuracy regression
I've notice a degradation in the precision of Math.log10 in Ruby 2.4 with respect to 2.1:
~~~
2.1.2 :136 > Math.l...
jgoizueta (Javier Goizueta)
04:30 PM Feature #13278 (Third Party's Issue): Rubygems Command Reference added to repo
After working with Ruby documentation for while, there's only one file I'd really like to see added to the repo --
...
MSP-Greg (Greg L)
02:44 PM Revision f01836cb (git): compile.c: operand size check
* compile.c (ibf_load_code): raise an exception on invalid operand
size. should not use assert() to validate incom...
nobu (Nobuyoshi Nakada)
02:37 PM Revision 37102f6b (git): compile.c: memory
* compile.c (iseq_set_sequence): fix potential memory s on an
invalid instruction sequence.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
02:21 PM Revision 8f2b1b67 (git): compile.c: fix invalid label message
* compile.c (validate_label): fix invalid label message.
registered labels are Symbols, not IDs.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
01:26 PM Bug #9989 (Closed): Docs give wrong information for sort block return values
Fixed with r51859 (Array) and r57770 (Enumerable). stomar (Marcus Stollsteimer)
01:13 PM Revision b4baeb5a (git): documentation for sort methods
* array.c: [DOC] fix grammar in Array#sort, #sort!, #sort_by!,
move references below the code example, add a missin...
stomar (Marcus Stollsteimer)
01:12 PM Revision 453199c4 (git): 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 Ar...
stomar (Marcus Stollsteimer)
05:13 AM Revision 1ec80572 (git): readline.c: fix type
* ext/readline/readline.c (getc_body): fix variable type, and
extract _get_osfhandle.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
03:13 AM Bug #13277 (Closed): Ruby 2.4.0 gem server 2.6.8
People involved with [larskanis/rubyinstaller2](https://.com/larskanis/rubyinstaller2), a new Windows build sys... MSP-Greg (Greg L)

03/03/2017

10:20 PM Feature #13166: Feature Request: Byte Arrays for Ruby 3
The points Kevin makes are exactly some of the reason I think, **from a users perspective**,
its clearer to provide ...
jzakiya (Jabari Zakiya)
01:32 AM Feature #13166: Feature Request: Byte Arrays for Ruby 3
I'm in favor of a separate byte type as well. I think it conveys intent much more clearly, is easier to reason about,... nirvdrum (Kevin Menard)
10:16 PM Bug #13270 (Feedback): IRB hangs when printing "\e]"
What terminal emulator are you using, the standard `Terminal.app`? nobu (Nobuyoshi Nakada)
04:56 PM Bug #13270: IRB hangs when printing "\e]"
Even more information, this is reproducible on ruby -v ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux], but i... snood1205 (Eli Sadoff)
04:24 PM Bug #13270 (Open): IRB hangs when printing "\e]"
I can reproduce it on Darwin, so I'm switching it back to open.
My `ruby -v` is `ruby 2.4.0p0 (2016-12-24 revision...
snood1205 (Eli Sadoff)
12:46 AM Bug #13270 (Feedback): IRB hangs when printing "\e]"
I can't reproduce it on darwin15.
Does it happen without irb, just `ruby -e print "\e]"`?
If only with irb, does ...
nobu (Nobuyoshi Nakada)
10:09 PM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
If you get the wrong answer from Newton's, then you are doing it wrong. It may fail to converge, (which seems MOST u... Student (Nathan Zook)
07:46 PM Bug #10403 (Closed): `puts` documentation fix
stomar (Marcus Stollsteimer)
04:33 PM Bug #10403: `puts` documentation fix
`puts` (rb_io_puts) uses `rb_default_rs` ("\n"), which isn't supposed to be customizable from within Ruby code, right... stomar (Marcus Stollsteimer)
07:39 PM Revision 2e97d5bc (git): * 2017-03-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:39 PM Revision d4e1b7fc (git): io.c: documentation for puts
* io.c: [DOC] clarify that the 'record separator' between
arguments passed to 'puts' is always a newline.
Based o...
stomar (Marcus Stollsteimer)
06:32 PM Bug #13276 (Closed): Dir.glob returns empty array when OS has no more file handles (expected exception)
The following terminal session demonstrates how `Dir.glob` returns an empty array when the OS has run out of file han... floehopper (James Mead)
04:21 PM Feature #13272: Keyword argument to instantiate a subclass of Struct
I agree it is easier to read.
In the other thread, Shyouhei Urabe said that nobody at the developer
meeting was a...
shevegen (Robert A. Heiler)
04:10 AM Feature #13272 (Closed): Keyword argument to instantiate a subclass of Struct
When we define a subclass of Struct, it take arguments of values of fields when instantiated:
```ruby
ServiceAcco...
tagomoris (Satoshi Tagomori)
11:59 AM Bug #13275 (Closed): RDoc bug for "Document-method: []"
RDoc doesn't handle Document-method directives for `#[]` correctly. When multiple directives are given, "Document-met... stomar (Marcus Stollsteimer)
11:07 AM Bug #13274 (Feedback): Ruby interpreter when using Puma.
nobu (Nobuyoshi Nakada)
11:07 AM Bug #13274 (Rejected): Ruby interpreter when using Puma.
2.2.2 is outdate, does it happen with recent versions? nobu (Nobuyoshi Nakada)
10:17 AM Bug #13274 (Closed): Ruby interpreter when using Puma.
```
=== puma startup: 2017-03-02 09:38:34 +0000 ===
/var/www/redacted_app_name/vendor/gems/ruby/2.2.0/gems/activesu...
mikeyxkcd (Mikey S)
11:05 AM Bug #13055 (Feedback): Bug
Does it happen with recent versions? nobu (Nobuyoshi Nakada)
09:27 AM Revision d2e61b41 (git): zlib for mingw
* ext/zlib/extconf.rb: fix building zlib for mingw, and for
cross-compiling.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
08:45 AM Bug #13273 (Closed): [DOC] Proc#call docs show "Document-method: []" directive
Applied in changeset r57765.
----------
proc.c: documentation for Proc#{call,yield,[]}
* proc.c: [DOC] fix and impr...
stomar (Marcus Stollsteimer)
08:32 AM Bug #13273 (Closed): [DOC] Proc#call docs show "Document-method: []" directive
The documentation for Proc#call displays one of its Document-method directives as a code block:
```
$ ri Proc.cal...
stomar (Marcus Stollsteimer)
08:45 AM Revision bf5b0c49 (git): 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 wor...
stomar (Marcus Stollsteimer)
08:40 AM Feature #12901: Anonymous functions without scope lookup overhead
Benoit Daloze wrote:
> Shyouhei Urabe wrote:
> > This (recomputation) sounds practically very difficult to me, if n...
shyouhei (Shyouhei Urabe)
06:22 AM Revision 3a520ace (git): MINIRUBY for cross-compling
* template/configure-ext.mk.tmpl (EXTMK_ARGS): add MINIRUBY for
cross-compling, which is used in extmk.rb.
git-svn...
nobu (Nobuyoshi Nakada)
06:18 AM Revision 83f76f46 (git): 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/t...
nobu (Nobuyoshi Nakada)
04:51 AM Bug #13267 (Closed): ruby 2.4.0 i686-w64-mingw32 + boost compilation error
Applied in changeset r57762.
----------
broken mingw
* configure.in: check whether frexp and modf are broken.
* in...
nobu (Nobuyoshi Nakada)
04:51 AM Revision 85ac60cf (git): broken mingw
* configure.in: check whether frexp and modf are broken.
* include/ruby/win32.h (frexp, modf): ignore bad declaratio...
nobu (Nobuyoshi Nakada)

03/02/2017

11:36 PM Revision 2f3ff53f (git): [DOC] update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:33 PM Revision b7336a24 (git): * 2017-03-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:33 PM Revision d8cee4ff (git): refine a warning message.
The "n" option for regexp, /.../n, is historical.
It doesn't mean the regexp works as binary match since Ruby 1.9.
...
akr (Akira Tanaka)
09:38 PM Bug #13271 (Closed): Clarifications on refinement spec
Consider the following code:
~~~ruby
class Foo
def foo
"Foo#foo"
end
def bar
"Foo#bar"
end
...
Gondolin (Damien Robert)
08:22 PM Bug #13270: IRB hangs when printing "\e]"
Is this darwin-specific? It appears to work fine on my linux system here.
ruby 2.4.0p0 (2016-12-24 revision 57164)...
shevegen (Robert A. Heiler)
08:19 PM Bug #13270 (Rejected): IRB hangs when printing "\e]"
Steps to reproduce:
- `irb`
- `print "\e]"`
- Or: `puts "\e["`
- try CMD+C, nothing happens
- try CMD+D, print...
domaio (Dorian M)
03:41 PM Bug #13269 (Closed): test/readline/test_readline.rb and mingw
When running test-all on a mingw build, [`test_readline.rb`](https://.com/ruby/ruby/blob/trunk/test/readline/te... MSP-Greg (Greg L)
03:08 PM Feature #13257: Symbol#singleton_class should be undef
Is that a use case where you need a method for checking without allocating a singleton class?
As I read it diagonall...
knu (Akinori MUSHA)
11:47 AM Feature #13257: Symbol#singleton_class should be undef
After chat with narse, I found that what I really want is the list of classes and modules on method search path of ob... tagomoris (Satoshi Tagomori)
11:34 AM Feature #13257: Symbol#singleton_class should be undef
My motivation is to know whether there is an class/module in ancestors or not.
I needed it at this : https://...
tagomoris (Satoshi Tagomori)
11:16 AM Feature #13257: Symbol#singleton_class should be undef
What's the motivation behind this? You cannot tell if an object has no singleton class just because it doesn't defin... knu (Akinori MUSHA)
10:13 AM Feature #13257: Symbol#singleton_class should be undef
I understood that `#respond_to?` doesn't matter in fact.
What I really want is to undef `Symbol#singleton_class` (an...
tagomoris (Satoshi Tagomori)
09:27 AM Feature #13257 (Feedback): Symbol#singleton_class should be undef
Fundamentally, `#respond_to?` is a method to check method existence. The class Symbol does have `#singleton_class` so... matz (Yukihiro Matsumoto)
02:56 PM Bug #7976: TracePoint call is at call point, not call site
I recently found this behaviour while attempting to build a gem that outputs the full call graph for our Rails applic... jahfer (Jahfer Husain)
01:01 PM Bug #10125 (Closed): Array#sort and #sort! documentation issue
stomar (Marcus Stollsteimer)
01:00 PM Bug #10125: Array#sort and #sort! documentation issue
Closing, fixed with r51859. stomar (Marcus Stollsteimer)
10:49 AM Bug #12099 (Closed): Documentation for Proc#call and Proc#[] missing from Ruby-Doc.Org.
Closing, this should have been solved with #12332. stomar (Marcus Stollsteimer)
10:44 AM Feature #12901: Anonymous functions without scope lookup overhead
To come back to the main topic of this issue,
I think having some syntax support for a non-capturing lambda
can be ...
Eregon (Benoit Daloze)
10:30 AM Feature #12901: Anonymous functions without scope lookup overhead
Koichi Sasada wrote:
> I haven't read discussion details, but some optimizations eliminate
> frames (local variab...
Eregon (Benoit Daloze)
03:08 AM Feature #12901: Anonymous functions without scope lookup overhead
On 2017/03/01 5:47, [email protected] wrote:
> It is possible with deoptimization though.
> An optimizer might as...
ko1 (Koichi Sasada)
01:53 AM Feature #12901: Anonymous functions without scope lookup overhead
Benoit Daloze wrote:
> > now, should what be visible from the obtained binding? Should we re-calculate the optimize...
shyouhei (Shyouhei Urabe)
10:43 AM Bug #9701 (Closed): RDoc description for `String#<<` and `String#concat`
Closing, because:
* in 2.1, 2.2, 2.3, the example code shows uses of both `#<<` and `#concat`,
* since 2.4, they ...
stomar (Marcus Stollsteimer)
10:32 AM Bug #13268 (Closed): [DOC] Restore docs for String#<<
Applied in changeset r57758.
----------
string.c: restore documentation for String#<<
* string.c: [DOC] restore doc...
stomar (Marcus Stollsteimer)
10:23 AM Bug #13268 (Closed): [DOC] Restore docs for String#<<
Since r56021 (Feature #12333), `String#<<` is not documented; the fixes this.
A backport should only be need...
stomar (Marcus Stollsteimer)
10:31 AM Revision a698d997 (git): string.c: restore documentation for String#<<
* string.c: [DOC] restore documentation for String#<<
which became undocumented with r56021; fix a typo.
[ruby-co...
stomar (Marcus Stollsteimer)
09:01 AM Bug #13267: ruby 2.4.0 i686-w64-mingw32 + boost compilation error
When compiling the same program, with the same libraries for linux, this issue does not arise. ntzrmtthihu777 (Marty Plummer)
08:33 AM Bug #13267 (Closed): ruby 2.4.0 i686-w64-mingw32 + boost compilation error
When building https://.com/Ancurio/mkxp for windows (via i686-w64-mingw32), the following build error occurs:
...
ntzrmtthihu777 (Marty Plummer)
08:06 AM Feature #13166: Feature Request: Byte Arrays for Ruby 3
Jabari Zakiya wrote:
> An **Array8** is an array and a **String** a string.
I think I understand what you mean bu...
shyouhei (Shyouhei Urabe)
06:08 AM Bug #13266 (Rejected): Slicing in array producing wrong results
> Additionally, an empty array is returned when the starting index for
an element range is at the end of the array.
nobu (Nobuyoshi Nakada)
04:35 AM Bug #13266 (Rejected): Slicing in array producing wrong results
```
even_nums = [2,4,6,8,10]
2.3.1 :007 > even_nums[5,0]
=> []
# it must return nil as index is out of bound ...
aman@ruby (Aman Puri)
04:56 AM Feature #13179: Deep Hash Update Method
This is possible in perl:
```
use strict;
use warnings;
use Data::Dumper qw(Dumper);
my %hash = qw();
$hash...
shyouhei (Shyouhei Urabe)
04:54 AM Revision 033c4a08 (git): test: use RbConfig::Limits
* test/lib/envutil.rb: rbconfig/sizeof may not be available when
cross-compiling. use RbConfig::Limits instead of ...
nobu (Nobuyoshi Nakada)
04:54 AM Revision 6e0967ec (git): fix for cross-compiling
* common.mk (test-rubyspec): add dependency for cross-compiling.
* defs/gmake.mk: ditto.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
03:21 AM Feature #13245: [] reject inter-thread TLS modification
How about we allow some inter-thread TLS operations, but not others?

Maybe:

Allowed:

+ reading values
+ up...
normalperson (Eric Wong)
01:14 AM Bug #12834: `prepend` getting prepended even if it already exists in the ancestors chain
I feel like this is a bug, and should be fixed. Prepending the same thing multiple times should be a warning IMHO. I'... ioquatix (Samuel Williams)

03/01/2017

10:54 PM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
Actually, this **bbm** version is generally a smidgen faster than the original, especially for perfect roots.
```
...
jzakiya (Jabari Zakiya)
09:08 PM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
Further testing shows Newton's method is sensitive to its implementation as you take larger roots.
Shown below are...
jzakiya (Jabari Zakiya)
02:46 AM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
Jabari Zakiya wrote:
> This will enhance Ruby's use even more in fields like number theory, advanced math, cryptogra...
shyouhei (Shyouhei Urabe)
08:42 PM Feature #12735 (Feedback): TCP Server documentation improvement
Julien BONNET wrote:
> Between version 2.0.0 and 2.3.1, documentation has shrunk a lot.
Could you please be more ...
stomar (Marcus Stollsteimer)
07:59 PM Revision 745f4dd5 (git): struct.c: improve rdoc for Struct
* struct.c: [DOC] improve examples for ::new, improve #dig example,
simplify #select example, use consistent style ...
stomar (Marcus Stollsteimer)
07:57 PM Revision 9386e511 (git): * 2017-03-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:57 PM Revision 8b71e253 (git): hash.c: [DOC] fix book title in example
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
02:41 PM Feature #13265 (Rejected): TracePoint for basic operation redefinition

Add TracePoint for basic operation redefinition.

This infrequent event can have an outsized performance imp...
magaudet (Matthew Gaudet)
02:00 PM Bug #13264 (Closed): Binding#irb does not work in context of frozen object
This works as expected (starts IRB):
```
$ ruby -r irb -e '"".instance_eval{ binding.irb }'
```
This throws a...
rbjl (Jan Lelis)
11:39 AM Bug #12774: TkDND cannot handle text/plain, text/uri-list type well
There is no Issue tracker in https://.com/ruby/tk
Where should we report bugs related with tk?
basex (Filipe Goncalves)
11:37 AM Revision c1fd1b11 (git): lib/e2mmap.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:11 AM Feature #12901: Anonymous functions without scope lookup overhead
Shyouhei Urabe wrote:
> Let me ask a (possibly stupid) question. Consider this scenario:
>
> 1. create a proc.
...
Eregon (Benoit Daloze)
01:56 AM Feature #12901: Anonymous functions without scope lookup overhead
Math Ieu wrote:
> Shyouhei Urabe wrote:
> > Math Ieu wrote:
> > > The introspection features like the "binding" me...
shyouhei (Shyouhei Urabe)
01:42 AM Feature #12901: Anonymous functions without scope lookup overhead
Benoit Daloze wrote:
> Shyouhei Urabe wrote:
> > I think it's impossible to optimize lambdas without breaking backw...
shyouhei (Shyouhei Urabe)
10:17 AM Revision 97e946f7 (git): fileutils.rb: improve rdoc for FileUtils
* lib/fileutils.rb: [DOC] fix invalid example code to make it
syntax highlighted, fix rdoc for lists, nodoc interna...
stomar (Marcus Stollsteimer)
10:15 AM Revision 3acda398 (git): 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 t...
rhenium (Kazuki Yamaguchi)
08:58 AM Misc #12365 (Closed): [DOC] Suggestion to change FileUtils.compare_file
stomar (Marcus Stollsteimer)
08:57 AM Misc #12365: [DOC] Suggestion to change FileUtils.compare_file
I used `/dev/urandom` in the example because `/dev/random` might block. stomar (Marcus Stollsteimer)
08:54 AM Revision 79570422 (git): fileutils.rb: improve docs for FileUtils.compare_file
* lib/fileutils.rb (compare_file): [DOC] clarify documentation
by avoiding confusing return value of "maybe false"....
stomar (Marcus Stollsteimer)
08:11 AM Feature #13252: C API for creating strings without copying
[email protected] wrote:
> Nobuyoshi Nakada wrote:
> > It is not guaranteed that `ruby_xfree` can free a poin...
normalperson (Eric Wong)
04:12 AM Feature #13252: C API for creating strings without copying
Nobuyoshi Nakada wrote:
> It is not guaranteed that `ruby_xfree` can free a pointer allocated by other than `ruby_xm...
shyouhei (Shyouhei Urabe)
07:53 AM Revision 3cef1048 (git): common.mk: separate clean-ext
* common.mk (clean-ext): separate clean-up of makefiles and
timestamps, and clean-up of subdirectories under ext an...
nobu (Nobuyoshi Nakada)
07:39 AM Feature #13110: Byte-based operations for String
Yukihiro Matsumoto wrote:
> Are byteindex and byteoffset good enough for your use-case?
I also want bytesplice, b...
shugo (Shugo Maeda)
04:57 AM Feature #13110: Byte-based operations for String
Are byteindex and byteoffset good enough for your use-case?
Should byteoffset be byteoffsets since it returns both e...
matz (Yukihiro Matsumoto)
07:00 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Shyouhei Urabe wrote:
> Radovan Smitala wrote:
> > There should be some circumstances where implemented Boolean cla...
r.smitala (Radovan Smitala)
03:29 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Radovan Smitala wrote:
> There should be some circumstances where implemented Boolean class should be problematic. B...
shyouhei (Shyouhei Urabe)
05:44 AM Revision 9da18855 (git): zlib: clean zlib
* ext/zlib/extconf.rb: clean zlib libraries generated in the
place.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
01:16 AM Revision c0be1c7b (git): * 2017-03-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:16 AM Revision d1a506ec (git): deduplicate strings sooner at load and compile
We can use rb_fstring_cstr in some places to prevent an
intermediate object from being created before deduplication
v...
Eric Wong
 

Also available in: Atom