Project

General

Profile

Activity

From 01/02/2018 to 01/08/2018

01/08/2018

11:35 PM Revision 840bfeac (git): vm.c: remove extra ifdef
* vm.c (rb_execution_context_mark): VM_ASSERT works only if
VM_CHECK_MODE > 0.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
11:01 PM Feature #14277: Improve strings vs symbols ambiguity
spatulasnout (B Kelly) wrote:
> A statement suggesting :a and "a" are equal, apart from one having
"the symbol sy...
dsferreira (Daniel Ferreira)
10:51 PM Feature #14277: Improve strings vs symbols ambiguity
[email protected] wrote:
>
> I would say `:a.value == “a”.value # => true` But one has the
> symbo...
spatulasnout (B Kelly)
08:08 PM Feature #14277: Improve strings vs symbols ambiguity
If we assume `:a == “a” # => true` aren’t we saying that they are objects with the same properties?
I would say `:...
dsferreira (Daniel Ferreira)
07:46 PM Feature #14277: Improve strings vs symbols ambiguity
Yeah, making :id != 'id' doesn't make sense to me either. If Ruby was going in the direction of deprecating symbols, ... rosenfeld (Rodrigo Rosenfeld Rosas)
07:10 PM Feature #14277: Improve strings vs symbols ambiguity
I think we should go further! Most of classes are unneccessary, in fact, they just burden the language.
```ruby
i...
zverok (Victor Shepelev)
07:07 PM Feature #14277: Improve strings vs symbols ambiguity
```ruby
bar = :foo
bar.class # => String
bar.symbol? # => true
baz = "foo"
baz.class # => String
baz.symbol? ...
zverok (Victor Shepelev)
06:10 PM Feature #14277: Improve strings vs symbols ambiguity
mame (Yusuke Endoh) wrote:
> How? My example needs to distinguish between hsh["leaf"] and hsh[:leaf]. (To be exac...
dsferreira (Daniel Ferreira)
05:45 PM Feature #14277: Improve strings vs symbols ambiguity
dsferreira (Daniel Ferreira) wrote:
> I believe proposed `String#symbol?` will help you on your example.
How? My...
mame (Yusuke Endoh)
05:37 PM Feature #14277: Improve strings vs symbols ambiguity
Hi Yusuke:
> I show one example that the difference between Symbols and Strings is actually useful for me
Pleas...
dsferreira (Daniel Ferreira)
05:25 PM Feature #14277: Improve strings vs symbols ambiguity
I show one example that the difference between Symbols and Strings is actually useful for me: [a trie](https://en.wik... mame (Yusuke Endoh)
10:53 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
matz (Yukihiro Matsumoto) wrote:
> But it's not wise to change Ruby because of your unfamiliarity.
This subje...
dsferreira (Daniel Ferreira)
09:59 PM Feature #14336 (Rejected): Create new method String#symbol? and deprecate Symbol class
Symbols in Ruby are for identifiers. They are kind of like Enums in other languages such as Swift or C# (although Sym... matz (Yukihiro Matsumoto)
06:48 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
dsferreira (Daniel Ferreira) wrote:
> Jeremy, there are still conversations going on out there. Lets see how it will...
jeremyevans0 (Jeremy Evans)
06:14 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
> They didn't regress. There is overlap between the ranges, so you can't say with confidence statistically using the ... dsferreira (Daniel Ferreira)
06:13 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
> Daniel, are you OK with closing #14277? There doesn't seem to be a reason to have two separate issues opened for ba... dsferreira (Daniel Ferreira)
06:12 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
dsferreira (Daniel Ferreira) wrote:
> Why did frozen string literals outperformed symbols in ruby 2.3.0 and now that...
jeremyevans0 (Jeremy Evans)
05:47 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
> It sounds like these would still be broken, with no deprecation warning:
> h['a'] = 1
> h[:a] = 2
> h['a'] # w...
dsferreira (Daniel Ferreira)
05:33 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
Jeremy so we have some possible performance problems regarding frozen string literals that we should try to understan... dsferreira (Daniel Ferreira)
04:21 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
dsferreira (Daniel Ferreira) wrote:
> There is also one important thing here that deserves consideration: We are doi...
jeremyevans0 (Jeremy Evans)
03:44 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
dsferreira (Daniel Ferreira) wrote:
> There is also one important thing here that deserves consideration: We are doi...
Hanmac (Hans Mackowiak)
03:36 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
There is also one important thing here that deserves consideration: We are doing a great effort to improve the perfor... dsferreira (Daniel Ferreira)
03:36 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
>> Symbol is an internal name, String is user input
> What do you mean with that? Can you be more specific?
Sym...
zverok (Victor Shepelev)
03:21 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
I like this transition path and support it. I'd love to see symbols gone for good. The `'string'.symbol?` trick seems... rosenfeld (Rodrigo Rosenfeld Rosas)
03:06 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
Hi Victor,
> `Symbol` is an internal name, `String` is user input
What do you mean with that? Can you be more s...
dsferreira (Daniel Ferreira)
02:47 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
To be completely honest, I feel like you are solving the problem that exists for very small percent of Rubyists (I am... zverok (Victor Shepelev)
01:58 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
Some comments.
> Current String vs Symbol is not the ideal scenario. See:
> Matz and Koichi comments.
I think ...
shevegen (Robert A. Heiler)
09:57 AM Feature #14336 (Rejected): Create new method String#symbol? and deprecate Symbol class
From the discussions on the three previous issues related to the String vs Symbol subject ([5964](https://bugs.ruby-... dsferreira (Daniel Ferreira)
04:06 PM Revision 8a83cd10 (git): use `getblockparamproxy` to pass blocks.
* compile.c (setup_args): use `getblockparamproxy` (`rb_block_param_proxy`)
to represent a block parameter passing....
ko1 (Koichi Sasada)
04:00 PM Revision b4960648 (git): fix a bug only on assertion.
* vm.c (rb_execution_context_mark): check escaped directly
to skip assertions. Not sure why there is an inconsisten...
ko1 (Koichi Sasada)
03:33 PM Feature #14337: We need add primitives in Ruby that help us compartmentalizing specific parts of our code (with guarantees)
The issue described in this article talking about issues involving NPM also applies to RubyGems:
https://hackernoo...
rosenfeld (Rodrigo Rosenfeld Rosas)
03:10 PM Feature #14337: We need add primitives in Ruby that help us compartmentalizing specific parts of our code (with guarantees)
I never said that Github is required for Rubygems, I was referring to a common practice. Even if I audit the code in ... vasilakisfil (Filippos Vasilakis)
02:50 PM Feature #14337: We need add primitives in Ruby that help us compartmentalizing specific parts of our code (with guarantees)
also about ruby gems:
you can push the C-Lib gems as source but also as precompiled ones (for ones without compile...
Hanmac (Hans Mackowiak)
02:26 PM Feature #14337: We need add primitives in Ruby that help us compartmentalizing specific parts of our code (with guarantees)
I was about to write a lot but I think it is better to be short.
I am not at all against more security; perhaps ru...
shevegen (Robert A. Heiler)
01:42 PM Feature #14337: We need add primitives in Ruby that help us compartmentalizing specific parts of our code (with guarantees)
[email protected] wrote:
> Of course I check the gems I add and the gems those gems use, but that gives me no ...
normalperson (Eric Wong)
01:34 PM Feature #14337: We need add primitives in Ruby that help us compartmentalizing specific parts of our code (with guarantees)
Easier solution: Develop your own class in top of ruby core or fork the third-party code and control the development ... dsferreira (Daniel Ferreira)
01:31 PM Feature #14337: We need add primitives in Ruby that help us compartmentalizing specific parts of our code (with guarantees)
> Do you know any way to store information in Ruby that are hidden to third-party classes ?
That is why I said to ...
dsferreira (Daniel Ferreira)
01:12 PM Feature #14337: We need add primitives in Ruby that help us compartmentalizing specific parts of our code (with guarantees)
dsferreira (Daniel Ferreira) wrote:
> Are you saying ruby cannot be used if you want to develop a secure application...
vasilakisfil (Filippos Vasilakis)
12:46 PM Feature #14337: We need add primitives in Ruby that help us compartmentalizing specific parts of our code (with guarantees)
Are you saying ruby cannot be used if you want to develop a secure application? dsferreira (Daniel Ferreira)
12:40 PM Feature #14337: We need add primitives in Ruby that help us compartmentalizing specific parts of our code (with guarantees)
dsferreira (Daniel Ferreira) wrote:
> Ruby was not meant to be handled like that.
> Security should be handled in d...
vasilakisfil (Filippos Vasilakis)
12:35 PM Feature #14337: We need add primitives in Ruby that help us compartmentalizing specific parts of our code (with guarantees)
GitHub is not the place where you should audit the gems.
Right?
dsferreira (Daniel Ferreira)
12:30 PM Feature #14337: We need add primitives in Ruby that help us compartmentalizing specific parts of our code (with guarantees)
Ruby was not meant to be handled like that.
Security should be handled in different ways.
If you’re concerned about...
dsferreira (Daniel Ferreira)
12:14 PM Feature #14337: We need add primitives in Ruby that help us compartmentalizing specific parts of our code (with guarantees)
I don't agree locking up everything. What I am saying is being able to lock down specific parts (like the object that... vasilakisfil (Filippos Vasilakis)
11:50 AM Feature #14337: We need add primitives in Ruby that help us compartmentalizing specific parts of our code (with guarantees)
i think if Ruby would freeze everyting and close it up, that would be a no go for the language itself and its death
...
Hanmac (Hans Mackowiak)
10:46 AM Feature #14337 (Closed): We need add primitives in Ruby that help us compartmentalizing specific parts of our code (with guarantees)
With the recent incidents in the npm community (https://github.com/npm/registry/issues/255), the earlier the unethica... vasilakisfil (Filippos Vasilakis)
03:27 PM Revision a823cd16 (git): * 2018-01-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:27 PM Revision adc0bf93 (git): fix mark miss of Env (which is pointed by prev_ep).
* vm.c (rb_execution_context_mark): r61624 and r61659 introduce marking miss
bug for Env objects as a prev_ep which...
ko1 (Koichi Sasada)
12:56 PM Revision 52057336 (git): parse.y: Make consistent with the terms about code ranges and locations
"loc" was ambiguous; it might refer both a location and a code range.
This change uses "loc" for a location, and "cra...
mame (Yusuke Endoh)
12:39 PM Revision 991c45c5 (git): parse.y (remove_duplicate_keys): Remove a not used argument
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yui-knk (Kaneko Yuichiro)
12:30 PM Revision 47cf2fd7 (git): parse.y: Factor out code fragments that merges two code ranges
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
12:23 PM Revision dab956b7 (git): parse.y (block_append_gen): Remove a not used argument
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yui-knk (Kaneko Yuichiro)
12:23 PM Revision fe1575fa (git): parse.y: Use nd_loc of head and tail
* parse.y (block_append_gen): Use nd_loc of
head(tail) when create NEW_BLOCK of head(tail).
e.g. The locations o...
yui-knk (Kaneko Yuichiro)
12:06 PM Feature #14339 (Closed): [PATCH] net/http: use writev for HTTP chunked request bodies
```
net/http: use writev for HTTP chunked request bodies
This reduces both user and system CPU time for large
up...
normalperson (Eric Wong)
11:57 AM Bug #14338 (Closed): IO#write without args seems wrong
"`ruby -e STDOUT.write`" outputs "`#<IO:0x583a2de0>`" (without quotes)
"`ruby -rstringio -e 'p StringIO.new.write'...
normalperson (Eric Wong)
11:50 AM Revision a7d49457 (git): parse.y: Fix the lineno of nd_set_line
* parse.y: Follow up of r61676. r61676 removed
ruby_sourceline from some actions. When stop to
use lineno of "n t...
yui-knk (Kaneko Yuichiro)
10:54 AM Bug #14324: Should Exception#full_message include escape sequences?
nobu (Nobuyoshi Nakada) wrote:
> Since `Exception#full_message` is expected to return the message printed to stderr,...
Eregon (Benoit Daloze)
10:26 AM Bug #13794: Infinite loop of sched_yield
I notice that this bug has been closed for a while but has not been backported into 2.3. Is this likely to happen? Th... catphish (Charlie Smurthwaite)
10:23 AM Revision 436eef27 (git): net/http: clear compressed chunk after decompression
We no longer need the compressed data once the inflate block is
called; so clear it ASAP to reduce memory overhead. ...
Eric Wong
10:12 AM Revision 79161d30 (git): Update minitest-5.11.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
09:39 AM Revision ec01271c (git): parse.y: Remove dispose_string
I think that recycling the delimiter string objects doesn't pay its
complexity.
git-svn-id: svn+ssh://ci.ruby-lang.o...
mame (Yusuke Endoh)
09:11 AM Revision 380c84ea (git): vm_insnhelper.c: vm_invoke_block_opt_call
* vm_insnhelper.c (vm_invoke_block_opt_call): renamed with sliding
arguments.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
09:04 AM Bug #14335 (Closed): block.call should respect redefinition of Proc#call
Applied in changeset trunk|r61680.
----------
vm.c: respect redefinition of Proc#call
* vm.c (vm_redefinition_check...
nobu (Nobuyoshi Nakada)
08:54 AM Bug #14335 (Closed): block.call should respect redefinition of Proc#call
r61659の変更によって、
ブロック引数に対してcallメソッドを呼び出したときに
Proc#callの再定義が無視されるようになっています。
~~~
$ cat t.rb
Proc.prepend Module.ne...
ktsj (Kazuki Tsujimoto)
09:04 AM Revision 0948eb62 (git): vm.c: respect redefinition of Proc#call
* vm.c (vm_redefinition_check_method_type): hoist out method
definition type to check redefinition.
* vm.c (rb_vm_...
nobu (Nobuyoshi Nakada)
08:12 AM Revision c818e364 (git): Add parens [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:55 AM Revision 39c7700d (git): node.c: show newline node mark
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:54 AM Revision 80768abe (git): parse.y: Use last_loc.lineno instead of ruby_sourceline
State-less way is better.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
06:30 AM Revision 33b2ac9f (git): parse.y: Remove `$<num>$ = ruby_sourceline` hacks
Instead, use bison's lineno.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61676 b2dd03c8-39d4-4d8f-98ff-823fe69...
mame (Yusuke Endoh)
05:17 AM Revision dc0dc648 (git): compile.c: compile_case2 branch
* compile.c (compile_case2): compile as a branch condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61675 ...
nobu (Nobuyoshi Nakada)
05:17 AM Revision 51e6e260 (git): parse.y: constified NULL_LOC
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:35 AM Revision 6bb9890f (git): doc/NEWS-2.5.0: Time.at is a class method
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
03:57 AM Bug #10643: 2.2: TestRubyOptions#test_command_line_progname_nonascii test failure (MinGW)
Just checked `TestRubyOptions#test_command_line_progname_nonascii` with three recent builds:
Passed:
```
ruby 2....
MSP-Greg (Greg L)
03:22 AM Revision fbb5a9d9 (git): parse.y: Factor out special handling of a short-cut operator id
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
02:38 AM Revision 8ef39549 (git): parse.y: Remove duplicated nd_loc set
* parse.y: nd_loc is set by NEW_CASE2/NEW_WHEN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61671 b2dd03c8-39d4...
yui-knk (Kaneko Yuichiro)
02:36 AM Revision 81cc61d5 (git): parse.y: Embed simple wrapper functions for NEW_NODEs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
02:24 AM Revision 6e6a2539 (git): parse.y: Make NULL_LOC to be internal
* parse.y (NULL_LOC): We will create NODEs only
inside of parse.y, so make NULL_LOC to be internal.
git-svn-id: sv...
yui-knk (Kaneko Yuichiro)
02:24 AM Bug #14334 (Closed): Segmentation fault after running rspec (ruby/2.5.0/erb.rb:885 / simplecov/source_file.rb:85)
Segmentation fault after running rspec (ruby/2.5.0/erb.rb:885 and simplecov-0.15.1/lib/simplecov/source_file.rb:85)
...
jesselatham (Jesse Latham)
02:19 AM Revision 7fdbced2 (git): parse.y: Remove unneeded wrapper functions for NEW_NODEs
Just refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
01:49 AM Revision 4db3b9eb (git): parse.y: set bison's first_loc.lineno to nd_line by default
This change initializes nd_line, lineno of each node, by default, by
using the first line number of code range that b...
mame (Yusuke Endoh)
01:29 AM Revision 413d862f (git): parse.y: make all NEW_NODE macros receive location
This looks a big change, but just for refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61666 b2dd03c8-...
mame (Yusuke Endoh)
01:11 AM Feature #14319 (Closed): [PATCH] zlib: reduce garbage on Zlib::GzipReader#readpartial
Applied in changeset trunk|r61665.
----------
zlib: reduce garbage on Zlib::GzipReader#readpartial
For garbage-conc...
Anonymous
01:11 AM Revision 787fab5b (git): zlib: reduce garbage on Zlib::GzipReader#readpartial
For garbage-concious users who use the `outbuf' argument of
`readpartial' to supply a destination buffer, this provid...
Eric Wong
01:11 AM Feature #14320 (Closed): [PATCH] open-uri: clear string after buffering
Applied in changeset trunk|r61664.
----------
open-uri: clear string after buffering
Since r58846 (in Ruby 2.5), it...
Anonymous
01:11 AM Revision e1dd1fc3 (git): open-uri: clear string after buffering
Since r58846 (in Ruby 2.5), it is safe to clear the string
yielded to Net::HTTPResponse#read_body methods. This
redu...
Eric Wong
12:34 AM Feature #14326 (Closed): [PATCH] net/protocol: read directly into rbuf if it's empty
Applied in changeset trunk|r61663.
----------
net/protocol: read directly into rbuf if it's empty
There's no need t...
Anonymous
12:34 AM Revision b02fc0f9 (git): net/protocol: read directly into rbuf if it's empty
There's no need to allocate a temporary string when @rbuf is
empty, we can use it as the read_nonblock destination bu...
Eric Wong
12:34 AM Revision 816efa9a (git): net/protocol: use binary string buffers
Not an encoding expert, but this seems necessary for the next
change. All of the IO#read, IO#read_nonblock and relat...
Eric Wong

01/07/2018

11:40 PM Bug #14333 (Closed): Backport r61645
Please backport r61645 to ruby_2_5 branch.
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/616...
hsbt (Hiroshi SHIBATA)
11:31 PM Feature #14332 (Closed): Module.used_refinements to list refinement modules
Module.used_modules was added in #7418.
But I think `Module.used_refinements` is more useful or at least complementa...
Eregon (Benoit Daloze)
10:27 PM Bug #14312 (Closed): backport r61591
naruse (Yui NARUSE)
10:26 PM Bug #14272: backport r61561 (fix memory leak (FOUND BY A COMPILER WARNING))
ruby_2_5 r61661 merged revision(s) 61561. naruse (Yui NARUSE)
10:26 PM Revision 26b037fe (git): merge revision(s) 61561: [Backport #14272]
fix memory leak (FOUND BY A COMPILER WARNING)
Confusion of argument order ignores this st_free_table.
...
naruse (Yui NARUSE)
10:25 PM Bug #14260: test failure related with proc arity on 32-bit environment (e.g. Solaris 10 with 32-bit compile)
ruby_2_5 r61660 merged revision(s) 61518. naruse (Yui NARUSE)
10:25 PM Revision 70c59ba5 (git): merge revision(s) 61518: [Backport #14260]
bit fields treating negative values should be declared as signed int
* internal.h (struct vm_ifunc_argc): Bi...
naruse (Yui NARUSE)
10:23 PM Bug #14259: Integer#pow returns an invalid result with large modulo
ruby_2_5 r61629 merged revision(s) 61517. naruse (Yui NARUSE)
07:18 PM Feature #14330 (Closed): Speedup `block.call` where `block` is passed block parameter.
Applied in changeset trunk|r61659.
----------
Speedup `block.call` [Feature #14330]
* insns.def (getblockparamproxy...
ko1 (Koichi Sasada)
04:58 PM Feature #14330 (Closed): Speedup `block.call` where `block` is passed block parameter.
# abstract
Speedup `block.call` where `block` is passed block parameter with a special object named "proxyblock" w...
ko1 (Koichi Sasada)
07:18 PM Revision 7fd11834 (git): Speedup `block.call` [Feature #14330]
* insns.def (getblockparamproxy): introduce new instruction to return
the `rb_block_param_proxy` object if possible...
ko1 (Koichi Sasada)
06:04 PM Feature #14331: change call CGI methods from :: to .
I agree.
I assume that the most likely reason for the ancient style in CGI is that not many use CGI and probably n...
shevegen (Robert A. Heiler)
05:14 PM Feature #14331 (Closed): change call CGI methods from :: to .
Hi.
I think using :: for call methods for CGI class methods in documentation and core may cause confusion.
I think...
artofhuman (Semyon Pupkov)
05:49 PM Revision bb8f6ac0 (git): lib/scanf.rb: [DOC] fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
05:47 PM Revision 33f4ff71 (git): * 2018-01-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:47 PM Revision 403c03d1 (git): doc/NEWS-2.5.0: improve language
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
04:57 PM Feature #14329 (Closed): Speedup `block.call` where `block` is passed block parameter.
move to ruby-core. ko1 (Koichi Sasada)
04:49 PM Feature #14329 (Closed): Speedup `block.call` where `block` is passed block parameter.
# abstract
Speedup `block.call` where `block` is passed block parameter with a special object named "proxyblock" w...
ko1 (Koichi Sasada)
04:13 PM Feature #14328 (Open): SIMD vectorization
Hello,
in order to make ruby faster, I'd like to propose an optional SIMD optimization for some cases. I want to tar...
ahorek (Pavel Rosický)
04:06 PM Bug #14327: Segmentation fault while compiling ruby 2.5 on alpine armhf
Tried ruby 2.4 and got the same result as shown in #13811
https://semaphoreci.com/encodeering/docker-ruby/branches...
encodeering (Michael Clausen)
10:31 AM Bug #14327 (Closed): Segmentation fault while compiling ruby 2.5 on alpine armhf
Hi,
I'm trying to compile ruby 2.5 within a docker container. The code is compiling for a debian base image, but n...
encodeering (Michael Clausen)
12:55 PM Revision 933a3eb0 (git): node.c: fix SEGV of `->(a:){}` when --dump=parsetree
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
11:51 AM Revision f3aa3cd8 (git): parse.y: do not overwrite case_body position
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:51 AM Revision e1ac09db (git): parse.y: set case_body line position to args
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:44 AM Revision 057c88bc (git): parse.y: removed unused macro new_command_call
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:36 AM Revision f423f7c2 (git): parse.y: nd_line of new_qcall
* parse.y (new_qcall): set nd_line to the method name location.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61...
nobu (Nobuyoshi Nakada)
09:26 AM Feature #12589: VM performance improvement proposal
vmakarov (Vladimir Makarov) wrote:
> For example, GCC/LLVM optimizes well int->fixnum->int->... conversions but they...
jwmittag (Jörg W Mittag)
07:43 AM Bug #13774 (Rejected): for methods defined from procs, the binding of the resulting bound_method.to_proc does not have access to the original proc's closure environment
nobu (Nobuyoshi Nakada)
07:43 AM Bug #13774: for methods defined from procs, the binding of the resulting bound_method.to_proc does not have access to the original proc's closure environment
Once a `Proc` is bound as a method, the context of that method is not same as the based `Proc`, `receiver` for instan... nobu (Nobuyoshi Nakada)
06:22 AM Feature #14313: Support creating KeyError with receiver and key from Ruby
`Kernel.#raise` expects backtrace for the 3rd argument.
If we want to extend the current `Kernel.#raise` behavior, w...
kou (Kouhei Sutou)
06:18 AM Feature #14313: Support creating KeyError with receiver and key from Ruby
`NameError` already supports assigning `name`:
```ruby
p NameError.new("message", :x).name # => :x
```
Ah, di...
kou (Kouhei Sutou)
05:55 AM Bug #14324: Should Exception#full_message include escape sequences?
Since `Exception#full_message` is expected to return the message printed to stderr, escape sequences are intentional.... nobu (Nobuyoshi Nakada)
05:38 AM Revision 89f04195 (git): eval_error.c: reset in each line
* eval_error.c (print_errinfo): reset in each line, so that
Exception#full_message ends with a newline and puts wil...
nobu (Nobuyoshi Nakada)
04:57 AM Revision ac4d348d (git): eval_error.c: concat directly
* eval_error.c (write_warn, write_warn2): get rid of unnecessary
intermediate string objects, concat directly.
git...
nobu (Nobuyoshi Nakada)
04:23 AM Revision 51501137 (git): test_exception.rb: fix message
* test/ruby/test_exception.rb (test_full_message): fix method name
in a message.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
04:16 AM Revision 23a0a9b9 (git): eval_error.c: renamed an argument
* eval_error.c (print_errinfo): renamed argument `colored` as
`highlight`, as it does not use colors.
git-svn-id: ...
nobu (Nobuyoshi Nakada)
04:10 AM Revision f39ea3d1 (git): io.c: rb_stderr_to_original_p
* io.c (rb_stderr_to_original_p): hoist out the condition to write
messages to the stderr FD directly.
git-svn-id:...
nobu (Nobuyoshi Nakada)
03:14 AM Revision 707ab2c8 (git): Added bundler for `test-bundled-gems` dependency.
rake, did_you_mean, test-unit depends on bundler.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61645 b2dd03c8-3...
hsbt (Hiroshi SHIBATA)
03:10 AM Revision b9ca1265 (git): prelude.rb: eliminate a private constant
* prelude.rb (Thread.exclusive): eliminate a private constant,
MUTEX_FOR_THREAD_EXCLUSIVE.
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
02:49 AM Revision 4328d1f5 (git): extmk.rb: exclude recursively
* ext/extmk.rb: exclude extension libraries recursively.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61643 b2d...
nobu (Nobuyoshi Nakada)
01:55 AM Bug #14069: Document order of elements in Set
*Is* that actually guaranteed by the specification? Can you point to any specification or documentation or official s... jwmittag (Jörg W Mittag)
01:50 AM Misc #13968: [Ruby 3.x perhaps] - A (minimal?) static variant of ruby
Just to make sure I understand what you are talking about, when you write "Ruby", do you *really* mean "Ruby", or do ... jwmittag (Jörg W Mittag)
01:20 AM Revision 0512ab04 (git): * 2018-01-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:20 AM Revision 33f34bbf (git): doc/NEWS-2.5.0: Fix the description of backtrace format change
* The backtrace format change is affected by $stderr, but not STDERR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
Kenta Murata
12:43 AM Feature #14326 (Closed): [PATCH] net/protocol: read directly into rbuf if it's empty
This relies on the reverted r61638 which was prematurely committed:
https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?vie...
normalperson (Eric Wong)

01/06/2018

03:32 PM Bug #14325 (Closed): Set#reset raise RuntimeError instead of FrozenError
I think it should use `FrozenError` instead of `RuntimeError`.
I can't reproduce without modifying instance variable...
znz (Kazuhiro NISHIYAMA)
10:27 AM Bug #14324 (Closed): Should Exception#full_message include escape sequences?
```
$ ruby -e 'p RuntimeError.new("foo").full_message'
"\e[1mTraceback \e[m(most recent call last):\n-e:1:in `full_...
Eregon (Benoit Daloze)
09:23 AM Revision 0d63d4ee (git): Revert "net/protocol: use binary string buffers"
Oops, not ready, yet (will work on this tomorrow :x).
This reverts commit r61638
git-svn-id: svn+ssh://ci.ruby-lang....
Eric Wong
09:21 AM Bug #14323 (Closed): net/ftp: fix FrozenError in BufferedSocket
Applied in changeset trunk|r61639.
----------
net/ftp: fix FrozenError in BufferedSocket
I noticed this bug while w...
Anonymous
09:19 AM Bug #14323 (Closed): net/ftp: fix FrozenError in BufferedSocket
net/ftp: fix FrozenError in BufferedSocket
I noticed this bug while working on something else with
RUBYOPT=-d on,...
normalperson (Eric Wong)
09:21 AM Revision e56d3400 (git): net/ftp: fix FrozenError in BufferedSocket
I noticed this bug while working on something else with
RUBYOPT=-d on, existing test cases all passed with it.
Note:...
Eric Wong
09:21 AM Revision 7d34bdb8 (git): net/protocol: use binary string buffers
Not an encoding expert, but this seems necessary for the next
change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
Eric Wong
09:01 AM Revision dbc925f2 (git): test_process.rb: skip not-found groups
* test/ruby/test_process.rb (test_execopts_gid): under some
network configuration (maybe with Open Directory but
...
nobu (Nobuyoshi Nakada)
08:50 AM Bug #14257: the chomp option removes newlines in additon to the provided separator for String#each_line and String#lines
Sorry, r61636 is needed too.
Huge RS with `chomp` option could cause a SEGV.
nobu (Nobuyoshi Nakada)
08:44 AM Feature #13719: [PATCH] net/http: allow existing socket arg for Net::HTTP.start
> https://bugs.ruby-lang.org/issues/13719

Ping, any comment on this? Thanks.
normalperson (Eric Wong)
08:44 AM Revision e043ae73 (git): string.c: out-of-bounds access
* string.c (rb_str_enumerate_lines): fix out-of-bounds access when
record separator is longer than the last element...
nobu (Nobuyoshi Nakada)
05:41 AM Feature #13587 (Closed): Improve performance of string interpolation
This was applied in r60320. k0kubun (Takashi Kokubun)
05:29 AM Bug #14266: Set#clone(freeze: false) makes frozen internal hash
(ref [Fix Set#clone to clone internal hash.](https://github.com/ruby/ruby/pull/661)) znz (Kazuhiro NISHIYAMA)
04:58 AM Feature #14316 (Closed): Update Status Code classes
I commited at r61633, r61634, r61635. znz (Kazuhiro NISHIYAMA)
04:55 AM Revision 660740a7 (git): Update Status Code
see https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
git-svn-id: svn+ssh://ci.ruby-lang.or...
znz (Kazuhiro NISHIYAMA)
04:55 AM Revision 34cd43ac (git): Add 103 Early Hints
see https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
git-svn-id: svn+ssh://ci.ruby-lang.or...
znz (Kazuhiro NISHIYAMA)
04:55 AM Revision c4e5930f (git): Specify frozen_string_literal: true
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:14 AM Bug #14314: Marshalling broken in Ruby 2.5.0 for Structs with keyword_init: true
> Will this also fix YAML deserialization or is that a separate issue entirely?
Please file another issue for it.
k0kubun (Takashi Kokubun)
12:49 AM Bug #14322 (Open): Inconsitency in command line options between 2.4 and 2.5
We must not break existing use cases (including commands which
may show up in shell scripts and Makefiles) without d...
normalperson (Eric Wong)
12:42 AM Bug #14322: Inconsitency in command line options between 2.4 and 2.5
[email protected] wrote:
> Bug #14322: Inconsitency in command line options between 2.4 and 2.5
> https://bugs.ruby...
normalperson (Eric Wong)
12:30 AM Bug #14322: Inconsitency in command line options between 2.4 and 2.5
Hm, guess I should read not only the web version but also the detailed one. Guess this wasn't "notable" enough. Thx :) graywolf (Gray Wolf)
12:24 AM Bug #14322 (Rejected): Inconsitency in command line options between 2.4 and 2.5
Yes, ubygems.rb was removed intentionally. This is mentioned in the NEWS file for 2.5.0. jeremyevans0 (Jeremy Evans)
12:13 AM Bug #14322 (Rejected): Inconsitency in command line options between 2.4 and 2.5
How command-line options are handled was changed between 2.4 and 2.5
```
[ wolf@ws ] :: ~
Load: 0.33 2.40 3.64 ,...
graywolf (Gray Wolf)

01/05/2018

10:14 PM Bug #14321 (Closed): Backport r54803 (Fix Math.lgamma on AIX)
This is a ticket to back-port r54803 to 2.3. ReiOdaira (Rei Odaira)
10:09 PM Feature #14320 (Closed): [PATCH] open-uri: clear string after buffering
open-uri: clear string after buffering
Since r58846 (in Ruby 2.5), it is safe to clear the string
yielded to Net:...
normalperson (Eric Wong)
09:29 PM Misc #6299 (Closed): Adding PATCH to Net::HTTP
naruse (Yui NARUSE)
09:17 PM Misc #14211: maintain etc, fcntl, and zlib
I'm for zlib.
I thought etc and fcntl are maintained as the same of core.
(even though there's a gem version)
naruse (Yui NARUSE)
09:14 PM Revision 6776e0bc (git): io.c: clear Strings we create for IO.copy_stream
While we can't recycle strings after giving them rb_funcall*,
we can reduce their malloc overhead by resizing them to...
Eric Wong
09:03 PM Feature #14319 (Closed): [PATCH] zlib: reduce garbage on Zlib::GzipReader#readpartial
```
For garbage-concious users who use the `outbuf' argument of
`readpartial' to supply a destination buffer, this ...
normalperson (Eric Wong)
08:58 PM Bug #10648 (Closed): libffi can't build on mswin32
naruse (Yui NARUSE)
08:57 PM Feature #14316: Update Status Code classes
Looks fine.
Could you commit them?
> > 0001-Specify-frozen_string_literal-true.patch (697 Bytes)
>
> 0001 seems...
naruse (Yui NARUSE)
02:32 PM Feature #14316: Update Status Code classes
[email protected] wrote:
> 0001-Specify-frozen_string_literal-true.patch (697 Bytes)

0001 seems pointless, only s...
normalperson (Eric Wong)
01:54 PM Feature #14316 (Closed): Update Status Code classes
In lib/net/http/responses.rb, some class names are old names.
So I would like to update and add `103 Early Hints` i...
znz (Kazuhiro NISHIYAMA)
08:49 PM Feature #14315 (Closed): zlib: reduce garbage on gzip writes (deflate)
Applied in changeset trunk|r61631.
----------
zlib: reduce garbage on gzip writes (deflate)
Zlib::GzipWriter genera...
Anonymous
01:51 PM Feature #14315: zlib: reduce garbage on gzip writes (deflate)
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/14315

Complementary patch for the Zlib::GzipRea...
normalperson (Eric Wong)
11:20 AM Feature #14315 (Closed): zlib: reduce garbage on gzip writes (deflate)
```
zlib: reduce garbage on gzip writes (deflate)
Zlib::GzipWriter generated large amounts of garbage from
(stru...
normalperson (Eric Wong)
08:48 PM Revision a55abcc0 (git): zlib: reduce garbage on gzip writes (deflate)
Zlib::GzipWriter generated large amounts of garbage from
(struct zstream).input. Reuse the .input field when it is
h...
Eric Wong
08:46 PM Bug #14246: Inconsistent C source code indentation
Just FYI, there's a format tool named clang-format.
https://clang.llvm.org/docs/ClangFormat.html
I use following ...
naruse (Yui NARUSE)
06:13 PM Bug #14246: Inconsistent C source code indentation
Let me quote Developers How-To [1]:
> * indent
> * 4 for C
> * 2 for Ruby
> * tab/space
> * Do not use TABs...
vo.x (Vit Ondruch)
08:40 PM Revision a410ff68 (git): merge revision(s) 61625,61626,61627:
extend timeout to 15 seconds for ARMv8 environment
Show how many seconds it timeouts
By this we can...
naruse (Yui NARUSE)
08:40 PM Revision a697c8b6 (git): merge revision(s) 61517: [Backport #14259]
numeric.c: Fix Integer#pow with a large Fixnum modulo
* numeric.c: Fix Integer#pow with a large Fixnum modul...
naruse (Yui NARUSE)
08:39 PM Bug #14257: the chomp option removes newlines in additon to the provided separator for String#each_line and String#lines
ruby_2_5 r61628 merged revision(s) 61513. naruse (Yui NARUSE)
08:39 PM Revision 311d499f (git): merge revision(s) 61513: [Backport #14257]
string.c: chomp rs at the end
* string.c (rb_str_enumerate_lines): should chomp record separator
o...
naruse (Yui NARUSE)
08:38 PM Revision fb7ed3b3 (git): Extend timeout of test_clear_unreachable_keyword_args
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:36 PM Revision 112ee3aa (git): Show how many seconds it timeouts
By this we can easily extend timeout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61626 b2dd03c8-39d4-4d8f-98f...
naruse (Yui NARUSE)
07:54 PM Feature #14276: Ruby core debugger API
Welcome!
Regarding your other proposal:
> Creating debug gem in standard lib with the same purpose. Having the ...
deivid (David Rodríguez)
07:45 PM Feature #14276: Ruby core debugger API
Sorry David I was afraid to be incorrect here. Wrote to fast.
Just looked into your comments regarding the C API bei...
dsferreira (Daniel Ferreira)
05:59 PM Feature #14276: Ruby core debugger API
Thanks David for your input.
Very good resume of the situation which will help a lot on the ticket.
And also it i...
dsferreira (Daniel Ferreira)
02:59 PM Feature #14276: Ruby core debugger API
Hi! So there are two different proposals here. Regarding the first one:
> Defining core Debug API namespace where ...
deivid (David Rodríguez)
07:24 PM Revision 64f0caac (git): extend timeout to 15 seconds for ARMv8 environment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:14 PM Bug #14314: Marshalling broken in Ruby 2.5.0 for Structs with keyword_init: true
k0kubun (Takashi Kokubun) wrote:
> Thank you to catch this. I fixed this in r61616.
Will this also fix YAML deser...
shan (Shannon Skipper)
11:45 AM Bug #14314: Marshalling broken in Ruby 2.5.0 for Structs with keyword_init: true
Thank you to catch this. I fixed this in r61616. k0kubun (Takashi Kokubun)
11:44 AM Bug #14314 (Closed): Marshalling broken in Ruby 2.5.0 for Structs with keyword_init: true
Applied in changeset trunk|r61616.
----------
marshal.c: allow marshalling keyword_init struct
struct.c: define rb_...
k0kubun (Takashi Kokubun)
06:04 PM Bug #14166 (Third Party's Issue): vagrant
This appears to be Vagrant issue. Please report this to Vagrant upstream:
https://github.com/hashicorp/vagrant/
...
vo.x (Vit Ondruch)
05:59 PM Bug #14254 (Closed): vagrant add box not working
vo.x (Vit Ondruch)
05:58 PM Bug #14167 (Closed): Segmentation fault with Vagrant 2.0.1
vo.x (Vit Ondruch)
05:51 PM Feature #14318 (Closed): Speedup `Proc#call` to mimic `yield`
Applied in changeset trunk|r61624.
----------
Speedup `Proc#call` [Feature #14318]
* vm_insnhelper.c (vm_call_opt_c...
ko1 (Koichi Sasada)
05:44 PM Feature #14318 (Closed): Speedup `Proc#call` to mimic `yield`
We don't need to keep and restore`$SAFE` for `Proc#call`, we can replace the `Proc#call` process with `yield` process... ko1 (Koichi Sasada)
05:51 PM Revision 0d2346f9 (git): Speedup `Proc#call` [Feature #14318]
* vm_insnhelper.c (vm_call_opt_call): do same process of `yield` instead of
invoking `Proc`.
* vm_insnhelper.c (vm...
ko1 (Koichi Sasada)
04:04 PM Revision 1d3d8d89 (git): parse.y: Use nd_set_loc instead of direct modification to nd_loc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
04:04 PM Revision 8d06762c (git): parse.y: Remove unneeded code
Because block_append sets prelude->nd_loc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61622 b2dd03c8-39d4-4d8...
mame (Yusuke Endoh)
04:03 PM Bug #14317 (Rejected): Date.strptime(..., "%U") fails if first day of the week is not in the 0th week.
Date.new(2018,1,1)
=> Mon, 01 Jan 2018
Date.new(2018,1,1).strftime("%U %Y")
=> "00 2018"
Date.strptime("00 20...
jbake (Julien Bake)
03:44 PM Revision 5fe35fee (git): parse.y: make method_add_block accept location
Also, use method_add_block instead of direct modification to nd_iter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
mame (Yusuke Endoh)
03:43 PM Feature #14278: Ambiguous Exception for OpenSSL::HMAC.digest
thanks @shevegen for your reply.
and yeah I believe we completely agree on everything here. The error should be mor...
KINGSABRI (KING SABRI)
12:28 PM Feature #14278: Ambiguous Exception for OpenSSL::HMAC.digest
If I understand it correctly, the change you propose is, from e. g.:
TypeError: no implicit conversion of nil ...
shevegen (Robert A. Heiler)
03:16 PM Revision 19cced42 (git): * 2018-01-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:16 PM Revision c5153955 (git): node_h (NEW_DEFN): remove unused argument
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
02:23 PM Bug #14273 (Closed): Stack Consistency Error from return in loop
Applied in changeset trunk|r61618.
----------
compile.c: fix stack consistency error
* compile.c (iseq_peephole_opt...
nobu (Nobuyoshi Nakada)
02:23 PM Revision 43c1eb44 (git): compile.c: fix stack consistency error
* compile.c (iseq_peephole_optimize): fix stack consistency error
from return in loop, by adding extra `pop` when r...
nobu (Nobuyoshi Nakada)
02:23 PM Revision 665839dd (git): compile.c: remove more unreachable chunk
* compile.c (remove_unreachable_chunk): remove beyond labels to be
removed.
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
11:44 AM Revision 26df9588 (git): marshal.c: allow marshalling keyword_init struct
struct.c: define rb_struct_s_keyword_init to shared with marshal.c
internal.h: add the declaration to be used by mar...
k0kubun (Takashi Kokubun)
11:39 AM Revision d3cea2ed (git): node.c: factor out the part of operator output into F_OPERATOR
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
11:39 AM Revision 80e45b04 (git): node.c: remove unused macro F_OPTION
Follow up of r61610
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
11:24 AM Bug #14279: Modifying splat argument causes segmentation fault
nagachika (Tomoyuki Chikanaga) wrote:
> Though I cannot reproduce SEGV on my box with any version of ruby (2.2.6, 2....
Eregon (Benoit Daloze)
05:41 AM Bug #14279: Modifying splat argument causes segmentation fault
Though I cannot reproduce SEGV on my box with any version of ruby (2.2.6, 2.4.6, 2.4.3, 2.5.0), I believe reporter's ... nagachika (Tomoyuki Chikanaga)
02:47 AM Bug #14279: Modifying splat argument causes segmentation fault
> I think something like a TypeError should be raised in such a case.
```ruby
a = 13
p(*a) #=> 13
```
So tha...
ko1 (Koichi Sasada)
02:25 AM Bug #14279 (Closed): Modifying splat argument causes segmentation fault
Applied in changeset trunk|r61603.
----------
check array for zsuper. [Bug #14279]
* compile.c (iseq_compile_each0)...
ko1 (Koichi Sasada)
10:46 AM Revision fee54c82 (git): node.c (NODE_OP_CDECL): fix a typo bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
10:30 AM Revision e9360033 (git): zlib: remove redundant rb_obj_reveal
No need to reveal strings freshly created with rb_str_new.
* ext/zlib/zlib.c (zstream_detach_input): remove redundan...
Eric Wong
09:41 AM Bug #14227 (Closed): [PATCH] tool/rbinstall.rb: allow owner to have write permissions
Applied in changeset trunk|r61611.
----------
tool/rbinstall.rb: allow owner to have write permissions
Denying writ...
Anonymous
09:41 AM Revision 6c721bd4 (git): tool/rbinstall.rb: allow owner to have write permissions
Denying write permissions to the owner seems wrong.
Oddly, this problem only manifests in the "ruby_2_4" branch when...
Eric Wong
09:18 AM Feature #14313: Support creating KeyError with receiver and key from Ruby
should that also extend to the raise function itself like this?
~~~ ruby
raise KeyError, "key not found: #{header...
Hanmac (Hans Mackowiak)
03:51 AM Feature #14313: Support creating KeyError with receiver and key from Ruby
Also `NameError`? nobu (Nobuyoshi Nakada)
08:59 AM Revision 38c62063 (git): node.h: remove NODE_PRELUDE
NODE_PRELUDE contains a `BEGIN` node, a main node, and compile_option.
This node is assumed that it must be located i...
mame (Yusuke Endoh)
08:59 AM Revision 92b81dc5 (git): make rb_iseq_new* accept rb_ast_body_t instead of NODE*
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:59 AM Revision 503b858c (git): node.h: define rb_ast_body_t and restructure rb_ast_t
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
07:47 AM Revision a6794c4b (git): node.c: constify NODE* arguments in node.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
07:25 AM Revision 0268c85e (git): * insns.def (invokeblock): `calling->recv` is not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:18 AM Revision 4251ee5b (git): Try to fix Travis CI configuration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
05:27 AM Revision db81395d (git): parse.y: refactor out ast generation code of two rb_parser_compile_*
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
02:25 AM Revision 44936575 (git): check array for zsuper. [Bug #14279]
* compile.c (iseq_compile_each0): for zsuper (NODE_ZSUPER), we need to check
given argument is Array or not.
* tes...
ko1 (Koichi Sasada)
02:22 AM Feature #14268 (Closed): [PATCH] net/protocol: optimize large read case
Applied in changeset trunk|r61602.
----------
net/protocol: optimize large read case
There are several places where...
Anonymous
02:22 AM Revision d9beb769 (git): net/protocol: optimize large read case
There are several places where rbuf_consume is called with
@rbuf.size as its length arg; simplify that case by avoidi...
Eric Wong
12:49 AM Revision e1428e5c (git): Refactor ISEQ_TYPE_DEFINED_GUARD out
This commit removes ISEQ_TYPE_DEFINED_GUARD because it is no longer
needed. And this introduces ISEQ_TYPE_PLAIN whic...
mame (Yusuke Endoh)
12:49 AM Revision ecc29dc2 (git): * 2018-01-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:49 AM Revision 9c373683 (git): compile.c: refactoring of defined? exception handler
This commit removes tmp_node trick to create a special exception handler
for `defined?`.
git-svn-id: svn+ssh://ci.ru...
mame (Yusuke Endoh)

01/04/2018

10:58 PM Bug #14279: Modifying splat argument causes segmentation fault
I think something like a TypeError should be raised in such a case. Eregon (Benoit Daloze)
06:26 PM Bug #14198: Error forwarding standard input to subprocess
Thanks for the suggestions.
The following code snippet based on `IO.popen` seems to work. It executes a command, ...
betabandido (Victor Jimenez)
02:37 PM Bug #14314: Marshalling broken in Ruby 2.5.0 for Structs with keyword_init: true
ah yeah i see the problem
comparing the dump of the two cases, the dump doesn't know that the struct might need ke...
Hanmac (Hans Mackowiak)
12:47 PM Bug #14314 (Closed): Marshalling broken in Ruby 2.5.0 for Structs with keyword_init: true
Steps to reproduce:
~~~
irb(main):001:0> Foo = Struct.new(:foo)
=> Foo
irb(main):002:0> Marshal.load(Marshal.d...
jurriaan (Jurriaan Pruis)
02:37 PM Feature #14278: Ambiguous Exception for OpenSSL::HMAC.digest
Hanmac (Hans Mackowiak) wrote:
> the Error Message is common for all other stuff, check for example File.read(nil) h...
KINGSABRI (KING SABRI)
09:53 AM Feature #14278: Ambiguous Exception for OpenSSL::HMAC.digest
the Error Message is common for all other stuff, check for example File.read(nil) has same error:
~~~
TypeError: ...
Hanmac (Hans Mackowiak)
12:56 PM Revision 0f806b49 (git): test/ruby/test_io.rb: relax RLIMIT_NPROC for invocation of ruby
This limit seems to be too restrict. It sometimes produces the
following warning when running `make test-all`:
```
T...
mame (Yusuke Endoh)
12:47 PM Revision 0947c2ba (git): node.h: add NODE_ONCE instead of reuse of NODE_SCOPE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
07:51 AM Revision 3ec5c755 (git): suppress warnings for long string literals
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
07:51 AM Revision f8de9b04 (git): define NO_LONG_LONG appropriately
as documented above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
07:51 AM Revision beaf2ace (git): ULL suffix is a C99ism
Don't assume long long == 8 bytes.
If you can assume C99, there are macros named UINT64_C and
such for appropriate i...
shyouhei (Shyouhei Urabe)
07:51 AM Revision fa26bdc6 (git): ULL suffix is a C99ism
... and why not just use ~0 instead?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61593 b2dd03c8-39d4-4d8f-98ff...
shyouhei (Shyouhei Urabe)
07:14 AM Feature #14276: Ruby core debugger API
dsferreira (Daniel Ferreira) wrote:
> > > Developing production code without an available debugger is not manageable...
duerst (Martin Dürst)
01:02 AM Feature #14276: Ruby core debugger API

> > Developing production code without an available debugger is not manageable.
> This appears to be somewhat ...
dsferreira (Daniel Ferreira)
07:07 AM Revision e743a353 (git): iseq.c: Refactor out rb_iseq_new_ifunc from rb_iseq_new_with_opt
It is too error-prone to pass IMEMO_IFUNC object as NODE*.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61592 b...
mame (Yusuke Endoh)
05:03 AM Feature #14313 (Closed): Support creating KeyError with receiver and key from Ruby
`KeyError` has readers for error details, `receiver` and `key`. They are convenient to process `KeyError`.
We can ...
kou (Kouhei Sutou)
04:48 AM Bug #14312 (Closed): backport r61591
変なメモリを読み出す可能性があるので、バックポートお願いします。2.5 だけです。 mame (Yusuke Endoh)
04:44 AM Revision 1e4be7a8 (git): iseq.c (rb_iseq_new_with_opt): handle the case where node is imemo_func
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
03:52 AM Bug #14266: Set#clone(freeze: false) makes frozen internal hash
I see two possible ways to fix this:
1) Switch to overriding `clone` instead of `initialize_clone` in such cases.
...
jeremyevans0 (Jeremy Evans)
01:46 AM Revision 9edca48c (git): insns_info.inc.tmpl: share large tablese
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:30 AM Revision 7acd7b27 (git): insns_info.inc: position independent
* template/insns_info.inc.tmpl (insn_name_info): make position
independent for large strings.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
12:44 AM Revision a1bbb2a7 (git): Fix doc typo in Symbol#to_proc [Fix GH-1785]
[ci skip]
From: Dimitris Zorbas <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6158...
nobu (Nobuyoshi Nakada)
12:26 AM Revision 9b842fd0 (git): compile.c: next label
* compile.c (compile_next): label for jump to the end of block is
removable.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
12:26 AM Revision aee02268 (git): test_iseq_load.rb: set location
* test/-ext-/iseq_load/test_iseq_load.rb (assert_iseq_roundtrip):
set path and line number from callers.
git-svn-i...
nobu (Nobuyoshi Nakada)

01/03/2018

11:05 PM Revision 778d2028 (git): * 2018-01-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:05 PM Revision af597321 (git): compile.c: fix disasm dump
* compile.c (DECL_ANCHOR): initialize as anchor type, which is not
a valid iseq element.
* compile.c (BADINSN_DUMP...
nobu (Nobuyoshi Nakada)
09:01 PM Bug #14279 (Closed): Modifying splat argument causes segmentation fault
Using Docker Ruby images ruby:2.2 through ruby:rc as of 2018-01-03, this little bit of code causes a segmentation fau... coreycerovsek (Corey Cerovsek)
07:57 PM Feature #14276: Ruby core debugger API
> Developing production code without an available debugger
> is not manageable.
This appears to be somewhat opini...
shevegen (Robert A. Heiler)
02:52 AM Feature #14276 (Open): Ruby core debugger API
I would like to propose the creation of a ruby core minimal API for a Debugger.
Historically we have been relying ...
dsferreira (Daniel Ferreira)
07:53 PM Feature #14278 (Open): Ambiguous Exception for OpenSSL::HMAC.digest
The `OpenSSL::HMAC.digest` shows unclear and ambiguous exception when key is nil.
~~~ ruby
require 'openssl'
...
KINGSABRI (KING SABRI)
07:03 PM Feature #14277: Improve strings vs symbols ambiguity
Hi Robert and remaining active participants of the conversation,
It is hard to reply to all your considerations.
...
dsferreira (Daniel Ferreira)
12:49 PM Feature #14277: Improve strings vs symbols ambiguity
Since not everyone here knows Sequel, let me give an example on how strings and symbols are treated differently in th... rosenfeld (Rodrigo Rosenfeld Rosas)
12:31 PM Feature #14277: Improve strings vs symbols ambiguity
For those saying that typing two "'" is about the same effort as a ":", you didn't actually understand the real issue... rosenfeld (Rodrigo Rosenfeld Rosas)
10:06 AM Feature #14277: Improve strings vs symbols ambiguity
jeremyevans0 (Jeremy Evans) wrote:
> Just because there some cases where you can use either a string or a symbol d...
dsferreira (Daniel Ferreira)
09:58 AM Feature #14277: Improve strings vs symbols ambiguity
> I use the term "Ambiguity" to emphasise the grey area where ruby developers
> are using strings and symbols interc...
shevegen (Robert A. Heiler)
09:47 AM Feature #14277: Improve strings vs symbols ambiguity
the difference from Symbol vs String was from a time long ago before frozen String literals where added
in 99% of ...
Hanmac (Hans Mackowiak)
09:37 AM Feature #14277: Improve strings vs symbols ambiguity
duerst (Martin Dürst) wrote:
> And just in case somebody cares, I have a library where the distinction between Sym...
dsferreira (Daniel Ferreira)
09:32 AM Feature #14277: Improve strings vs symbols ambiguity
duerst (Martin Dürst) wrote:
> Koichi has given a challenge, most probably because he thinks it's very difficult i...
dsferreira (Daniel Ferreira)
09:30 AM Feature #14277: Improve strings vs symbols ambiguity
duerst (Martin Dürst) wrote:
> So are you saying we should disallow
> ruby
> alias_method "foo", "bar"
As a r...
dsferreira (Daniel Ferreira)
09:16 AM Feature #14277: Improve strings vs symbols ambiguity
jeremyevans0 (Jeremy Evans) wrote:
> To say strings and symbols are ambiguous is to imply that it is not possible ...
dsferreira (Daniel Ferreira)
09:05 AM Feature #14277: Improve strings vs symbols ambiguity
jeremyevans0 (Jeremy Evans) wrote:
> If you look at ruby code in the wild, is_a?(Symbol) seems even more common th...
dsferreira (Daniel Ferreira)
05:49 AM Feature #14277: Improve strings vs symbols ambiguity
jeremyevans0 (Jeremy Evans) wrote:
> If you need to have symbols anyway, then the only reason to use the symbol sy...
duerst (Martin Dürst)
05:43 AM Feature #14277: Improve strings vs symbols ambiguity
dsferreira (Daniel Ferreira) wrote:
> Can we discuss here what are the rules that would allow the transition path ...
duerst (Martin Dürst)
05:43 AM Feature #14277: Improve strings vs symbols ambiguity
duerst (Martin Dürst) wrote:
> So are you saying we should disallow
> ```ruby
> alias_method "foo", "bar"
> ```
...
jeremyevans0 (Jeremy Evans)
05:36 AM Feature #14277: Improve strings vs symbols ambiguity
dsferreira (Daniel Ferreira) wrote:
> This is the ambiguity:
>
> ```ruby
> alias_method :foo, :bar
> alias_meth...
jeremyevans0 (Jeremy Evans)
05:27 AM Feature #14277: Improve strings vs symbols ambiguity
dsferreira (Daniel Ferreira) wrote:
> This is the ambiguity:
>
> ```ruby
> alias_method :foo, :bar
> alias_meth...
duerst (Martin Dürst)
04:06 AM Feature #14277 (Rejected): Improve strings vs symbols ambiguity
This is the ambiguity:
```ruby
alias_method :foo, :bar
alias_method "foo", "bar"
```
Ruby developers are usi...
dsferreira (Daniel Ferreira)
06:15 PM Bug #14247: Thread#fetch raise KeyError without key and receiver
ruby_2_5 r61583 merged revision(s) 61507. naruse (Yui NARUSE)
06:14 PM Revision ba5b7136 (git): merge revision(s) 61507: [Backport #14247]
Fix KeyError#{key,receiver} of Thread#fetch
[ruby-core:84508] [Bug #14247]
git-svn-id: svn+ssh://ci.ruby-la...
naruse (Yui NARUSE)
06:12 PM Bug #14248: configure fails to detect fd_mask type on OS X
ruby_2_5 r61582 merged revision(s) 61500. naruse (Yui NARUSE)
06:12 PM Revision de6c5ae9 (git): merge revision(s) 61500: [Backport #14248]
fix fd mask detection on os x
This was broken in r59440 (3215b27a9abd8de793cf517f32d8901fd421eb1c)
[...
naruse (Yui NARUSE)
06:11 PM Bug #14243: Comments inside ERB tags broken
ruby_2_5 r61581 merged revision(s) 61497. naruse (Yui NARUSE)
06:11 PM Revision 887dced4 (git): merge revision(s) 61497: [Backport #14243]
erb.rb: preserve the behavior for invalid syntax
comment. Fix regression at r58948.
I even don't wa...
naruse (Yui NARUSE)
06:04 PM Bug #14236: rb_autoload の可視性が変更された結果、特定のgemを使用するとランタイム時に落ちるようになった
ruby_2_5 r61580 merged revision(s) 61479. naruse (Yui NARUSE)
06:03 PM Revision dc96b227 (git): merge revision(s) 61479: [Backport #14236]
variable.c: public rb_autoload
* variable.c (rb_autoload): restore the visibility for backward
com...
naruse (Yui NARUSE)
06:02 PM Bug #14231: __uint128_t check in hash.c is broken, use
ruby_2_5 r61579 merged revision(s) 61471,61472. naruse (Yui NARUSE)
06:02 PM Revision 364f62a0 (git): merge revision(s) 61471,61472: [Backport #14231]
Use UINT128_T support flag from configure
Current check for __uint128_t in hash.c is not valid, since it ign...
naruse (Yui NARUSE)
01:58 PM Revision 6bc72d25 (git): compile.c: label sp
* compile.c (dump_disasm_list_with_cursor): show stack depth for
each label.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
09:19 AM Revision 44cf5baa (git): dln.c: dln_incompatible_library_p
* dln.c (dln_incompatible_library_p): renamed as the error message
with dln prefix, since it is not bound to xmallo...
nobu (Nobuyoshi Nakada)
09:18 AM Feature #14275: GC not aggressive enough
> Sometimes a well-placed String#clear has a good effect, but
> I'm not sure if it's acceptable for Rubyists to spri...
shevegen (Robert A. Heiler)
01:52 AM Feature #14275 (Open): GC not aggressive enough
Ruby memory usage has always been a thorn in my side, more so than (lack of)
speed. I sometimes take vacations into...
normalperson (Eric Wong)
09:05 AM Revision 21a2146e (git): dln.c: xmalloc_mismatch_p with dlopen
* dln.c (xmalloc_mismatch_p): define only when using dlopen,
otherwise dlsym is not available too, and should be us...
nobu (Nobuyoshi Nakada)
06:28 AM Feature #14274: Merge Std-Lib Time Class into Core
`time` requires `date`, so this would either require `date` be moved from stdlib to core (including `Date` and `DateT... jeremyevans0 (Jeremy Evans)
01:19 AM Feature #14274: Merge Std-Lib Time Class into Core
I do not use rails, but I somewhat agree with you in the general
sense. I never remember the difference between date...
shevegen (Robert A. Heiler)
02:53 AM Bug #14226: Revert line number of "return", "b-return" and "end" events
The new issue has been created: [Ruby core debugger API](https://bugs.ruby-lang.org/issues/14276) dsferreira (Daniel Ferreira)
01:43 AM Revision 96d19b6c (git): delete extra #undef [ci skip]
Sorry, this was a garbage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)

01/02/2018

11:27 PM Feature #14274 (Open): Merge Std-Lib Time Class into Core
Please excuse me if this is a duplicate or already asked-and-answered. I won't be offended by an automatic close.
...
ecbrodie (Evan Brodie)
10:48 PM Bug #14234: Failed to build on CentOS 6.9
Do we know when the next version of ruby is likely to be released, and if it will include this patch? I'm trying to b... ewaters (Evan Waters)
09:51 PM Revision 7bbff604 (git): variable.c: fix autoload stack space regression
r61560 ("offsetof(type, foo.bar) is (arguably) a GCCism")
introduced 16 bytes of stack overhead on 64-bit systems.
Re...
Eric Wong
09:23 PM Revision 2244bf57 (git): thread_pthread.c: use container_of
It's easier to read this macro from ccan than open-coding pointer
arithmetic.
thread_pthread.c (ubf_wakeup_all_threa...
Eric Wong
08:40 PM Bug #14273 (Closed): Stack Consistency Error from return in loop
```ruby
def foo(x)
unless x
while !x
return nil
end
end
end
foo(nil)
```
```
(irb):18:...
ccutrer (Cody Cutrer)
03:29 PM Revision 751c64f8 (git): * 2018-01-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:29 PM Revision cff48e44 (git): check an existence of block.
* gc.c (rb_raw_obj_info): check block before using it.
* vm_core.h (vm_block_iseq): r61565 introduced NULL check but...
ko1 (Koichi Sasada)
02:31 PM Bug #14269: backport r61562, r61563, r61566, r61568, r61569 (fix SEGV touching uninitialized memory)
r61566 については ruby_2_3 では switch 文に default 節があるため未初期化のままアクセスされることはなく SEGV は発生しないと思いますが、初期化しておいて悪いことはないと思い REQUIRED のチ... nagachika (Tomoyuki Chikanaga)
12:51 PM Bug #14269 (Closed): backport r61562, r61563, r61566, r61568, r61569 (fix SEGV touching uninitialized memory)
backport 管理用チケットです。 nagachika (Tomoyuki Chikanaga)
02:24 PM Bug #14272 (Closed): backport r61561 (fix memory leak (FOUND BY A COMPILER WARNING))
backport 管理用のチケットです。 nagachika (Tomoyuki Chikanaga)
02:09 PM Bug #14271 (Closed): Random TestIO_Console#test_oflush failure
From time to time, I observe the following test suite error:
~~~
1) Failure:
TestIO_Console#test_oflush [/buil...
vo.x (Vit Ondruch)
12:57 PM Bug #14270 (Closed): backport r61564, r61565, r61571 (fix SEGV touching uninitialized memory)
backport 管理用チケットです。 nagachika (Tomoyuki Chikanaga)
10:59 AM Feature #11473: Immutable String literal in Ruby 3
FWIW, Rubocop suggests now in recent versions that you use the "unary plus" as the "one-character" approach to thaw a... perlun (Per Lundberg)
08:53 AM Feature #14268 (Closed): [PATCH] net/protocol: optimize large read case
```
Any comment? Will commit in a few days if none.
net/protocol: optimize large read case
There are several ...
normalperson (Eric Wong)
06:59 AM Bug #14260: test failure related with proc arity on 32-bit environment (e.g. Solaris 10 with 32-bit compile)
ngoto (Naohisa Goto) wrote:
> >> ビットフィールドのデフォルトは unsigned int というのがCの規格にて定められていますが、
>
> >ごめんなさい、いま家にいてCの規格にアクセス...
shyouhei (Shyouhei Urabe)
06:52 AM Feature #14045: Lazy Proc allocation for block parameters
> Don't report a bug on a closed feature, report it as a new bug (and link to the feature), thanks.
Thanks, I wasn...
myronmarston (Myron Marston)
01:10 AM Feature #14045: Lazy Proc allocation for block parameters
myronmarston (Myron Marston) wrote:
> This change introduces a bug in RSpec. I'm working on a work around for RSpec...
duerst (Martin Dürst)
06:47 AM Feature #14267 (Closed): Lazy proc allocation introduced in #14045 creates regression
The following script consistently prints `Proc equality: true` on versions of Ruby before 2.5, but prints `Proc equal... myronmarston (Myron Marston)
06:46 AM Revision 6faadd78 (git): include missing header
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
06:42 AM Revision 5b184f27 (git): fix SEGV inspecting uninitialized objects
obj_info() assumes the given object is alive. OTOH
gc_writebarrier_incremental is called before or in middle of
obje...
shyouhei (Shyouhei Urabe)
06:42 AM Revision 1d4129d9 (git): fix SEGV inspecting already freed objects
obj_info() assumes the given object is alive. Passing freed
objects to it results in SEGV.
(lldb) run
Process 29718...
shyouhei (Shyouhei Urabe)
06:42 AM Revision 13af45c0 (git): fix uninitialized variable
Likewise this can easily be noticed if you read the warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6156...
shyouhei (Shyouhei Urabe)
06:42 AM Revision 54983030 (git): fix SEGV touching uninitialized local variable
This imemo_name is used uninitialized because the switch
above does not cover all possible imemo types.
(lldb) run
P...
shyouhei (Shyouhei Urabe)
06:42 AM Revision 20389994 (git): fix SEGV touching uninitialized memory
This function can be called from rb_data_typed_object_zalloc().
No assumption can be made about object internals.
(l...
shyouhei (Shyouhei Urabe)
06:42 AM Revision 9aabe5a5 (git): fix SEGV touching uninitialized memory
This function can be called from Init_VM().
No assumption can be made about object internals.
(lldb) run
Process 157...
shyouhei (Shyouhei Urabe)
06:41 AM Revision cce479d6 (git): fix SEGV touching uninitialized memory
This function can be called from InitVM_Object().
No assumption can be made about object internals.
(lldb) run
Proce...
shyouhei (Shyouhei Urabe)
06:41 AM Revision 58517060 (git): fix SEGV touching uninitialized memory
This function can be called from boot_defclass().
No assumption can be made about object internals.
(lldb) run
Proce...
shyouhei (Shyouhei Urabe)
06:41 AM Revision e5914dd4 (git): fix memory leak (FOUND BY A COMPILER WARNING)
Confusion of argument order ignores this st_free_table.
Results in garbaged table not GCed.
Easily noticable when you...
shyouhei (Shyouhei Urabe)
06:41 AM Revision 5471bf9c (git): offsetof(type, foo.bar) is (arguably) a GCCism
TL;DR see http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2031.htm
Suppose we have:
struct X {
struct Y {
z_...
shyouhei (Shyouhei Urabe)
06:41 AM Revision 8dc0c7c0 (git): comparing function pointer versus void* is a GCCism
However dlsym() requires such feature so this function is non-
portable by nature. Cannot but suppress warning.
git...
shyouhei (Shyouhei Urabe)
06:41 AM Revision 1f76918a (git): label as lvalue is a GCCism
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
06:41 AM Revision a6b50f37 (git): statement experssion is a GCCism
should mark as such.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
06:41 AM Revision a5a5714b (git): enum value grater than int is a GCCism
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
06:41 AM Revision 8ebe5da2 (git): _Static_assert is a C11ism
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
06:41 AM Revision db5d556f (git): bit-fields other than int is a C99ism
To be precise C90 says "A bit-field may have type int, unsigned
int, or signed int". It is clear that char or enum ar...
shyouhei (Shyouhei Urabe)
06:41 AM Revision b8f8c202 (git): initializer paren-string `{("str")}` is a C99ism
First, `"str"` is a string constant but `("str")` is not. It is a
random expression whose type happen to be const ch...
shyouhei (Shyouhei Urabe)
06:41 AM Revision dfb24be6 (git): string literal longer than 509 characters is a C99ism
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
06:41 AM Revision 11c19de7 (git): flexible array member is a C99ism
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
06:41 AM Revision 91715ee5 (git): long long is a C99ism
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
06:41 AM Revision 1836af76 (git): comma at the end of enum is a C99ism
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
06:41 AM Revision 67b547d0 (git): __VA_ARGS__ is a C99ism
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
06:41 AM Revision ef19834e (git): long long is a C99sim
Don't assume 8-bytes integers == "long long".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61547 b2dd03c8-39d4-...
shyouhei (Shyouhei Urabe)
06:41 AM Revision f6f1cfcb (git): string literal longer than 509 characters is a C99ism
Should avoid such thing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
06:41 AM Revision 76091d43 (git): "%z" printf format specifier is a C99ism
PRIxSIZE is also. But shimmed in ruby.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61545 b2dd03c8-39d4-4d8f-...
shyouhei (Shyouhei Urabe)
06:41 AM Revision f03146dd (git): int (*)(void) is incompatible with void*
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
06:41 AM Revision 3f1ef729 (git): rb_insn_func_t is incompatible with void*
Why not just use void* ?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
06:41 AM Revision b6a2d63e (git): explicit cast to void* required for %p
These functions take variadic arguments so no automatic type
promotion is expected. You have to do it by hand.
git-...
shyouhei (Shyouhei Urabe)
06:41 AM Revision b4b0e8bd (git): suppress warning for clang
In this function, "volatile" is specified twice in macro-expanded
`VAR_INITIALIZED(cont)` part. That is a problem in...
shyouhei (Shyouhei Urabe)
04:24 AM Revision 035db929 (git): parse.y: fix typo
* parse.y (singleton): fix typo, show the expression.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61540 b2dd03...
nobu (Nobuyoshi Nakada)
04:20 AM Bug #14265 (Third Party's Issue): Possible bug in OpenSSL library
Duplicate of [Bug #12561]. Current versions of Ruby/OpenSSL raise an exception:
$ ruby a.rb
plaintext: 030fa889...
rhenium (Kazuki Yamaguchi)
03:00 AM Revision 58d01fc1 (git): * 2018-01-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 AM Revision 6e2ceaf0 (git): parse.y: code end position
* parse.y (parser_yyerror): use the given location as the end of
erred code, instead of the current position.
git-...
nobu (Nobuyoshi Nakada)
01:24 AM Bug #14266 (Closed): Set#clone(freeze: false) makes frozen internal hash
```
% irb -r irb/completion --simple-prompt
>> require 'set'
=> true
>> set=Set[].freeze.clone(freeze: false)
=>...
znz (Kazuhiro NISHIYAMA)
 

Also available in: Atom