Project

General

Profile

Activity

From 01/19/2018 to 01/25/2018

01/25/2018

11:53 PM Bug #14402 (Closed): Crash and coredump (Stack consistency error) on ruby 2.5.0
nobu (Nobuyoshi Nakada)
06:07 PM Bug #14402: Crash and coredump (Stack consistency error) on ruby 2.5.0
Sorry accidentally double-reported, the issue tracker gave me an error on first submit and I thought it hadn't been s... jrochkind (jonathan rochkind)
04:39 PM Bug #14402 (Closed): Crash and coredump (Stack consistency error) on ruby 2.5.0
This reproduction script seems to make no sense, because it's extracted from an actual program where I encountered th... jrochkind (jonathan rochkind)
11:02 PM Bug #14387: Ruby 2.5 を Alpine Linux で実行すると比較的浅めで SystemStackError 例外になる
koshigoe (Masataka SUZUKI) wrote:
> Ruby のバージョンによって、再帰が止められるまでの回数に大きな違いがあるのはなぜでしょうか?
> これは、意図された挙動なのか、Ruby の変更によるもの...
wanabe (_ wanabe)
10:25 PM Feature #14394: Class.descendants
I think one part of the discussion was that this features requires classes to explicitly track their subclasses (whic... Eregon (Benoit Daloze)
09:29 PM Feature #14394: Class.descendants
@Hanmac yeah, registering with a method or a static list is common practice. But I feel like Ruby can do better.
F...
ridiculous (Ryan Buckley)
02:34 PM Feature #14394: Class.descendants
"Class#inherited hook" works not for core classes because they are defined before you can define the hook
also sho...
Hanmac (Hans Mackowiak)
12:18 PM Feature #14394: Class.descendants
Could that work with just the Class#inherited hook?
What's the advantage of asking all subclasses/descendents of a c...
Eregon (Benoit Daloze)
06:41 PM Feature #14399: Add Enumerable#product
That's interesting because I never intuitively understood the use
of `inject`, especially for numerical purposes, an...
jzakiya (Jabari Zakiya)
10:42 AM Feature #14399: Add Enumerable#product
> which is a little longer, but I think is more accurately
> descriptive and intuitive.
We are back to the ancien...
shevegen (Robert A. Heiler)
01:29 AM Feature #14399: Add Enumerable#product
Actually, after looking at the docs for `Array#product` a
better name would be `Array#combinations`, which is a litt...
jzakiya (Jabari Zakiya)
01:22 AM Feature #14399: Add Enumerable#product
Duh, ok, its an `Array` method. jzakiya (Jabari Zakiya)
01:20 AM Feature #14399: Add Enumerable#product
I looked here https://ruby-doc.org/core-2.5.0/Enumerable.html and didn't see
that method, so I didn't know it existe...
jzakiya (Jabari Zakiya)
12:21 AM Feature #14399: Add Enumerable#product
Array#product would stomp on Enumerable#product, and it confusingly does a different thing:
~~~ ruby
[2,3,5,7].pr...
shan (Shannon Skipper)
04:40 PM Bug #14403: Crash and coredump (Stack consistency error) on ruby 2.5.0
Oops, sorry, somehow missed reproduction script in the original report, here it is:
https://gist.github.com/jrochk...
jrochkind (jonathan rochkind)
04:39 PM Bug #14403 (Closed): Crash and coredump (Stack consistency error) on ruby 2.5.0
This reproduction script seems to make no sense, because it's extracted from an actual program where I encountered th... jrochkind (jonathan rochkind)
04:26 PM Feature #14383: Making prime_division in prime.rb Ruby 3 ready.
Your `prime_division2` uses `OpenSSL::BN#prime?`. You may know, it is a Miller-Rabin *probabilistic* primality test ... mame (Yusuke Endoh)
02:31 PM Feature #14386: Add option to let Kernel.#system raise error instead of returning false
Thanks, Takashi, but very often in my code, when dealing with output and error management of external commands, I end... rosenfeld (Rodrigo Rosenfeld Rosas)
01:22 PM Revision d00ef6b3 (git): compile.c: check mid
* compile.c (iseq_peephole_optimize): check that method ID is +@.
fix up r62039.
http://d.hatena.ne.jp/nagachika/...
nobu (Nobuyoshi Nakada)
01:13 PM Feature #14401 (Open): Integer#digitsの逆の動作をするメソッドが欲しい
Integer#digitsの逆の動作をするメソッドがあると良いと思うのですがどうでしょうか?
~~~ruby
inverse_of_digits([5,4,3,2,1]) # => 12345
inverse_of_dig...
tompng (tomoya ishida)
01:10 PM Bug #14388 (Closed): 不正エンコーディング文字列から切り出した正当なエンコーディング文字列が invalid encoding になる
Applied in changeset trunk|r62040.
----------
string.c: clear substring code range
* string.c (str_substr): substri...
nobu (Nobuyoshi Nakada)
03:52 AM Bug #14388: 不正エンコーディング文字列から切り出した正当なエンコーディング文字列が invalid encoding になる
Rubyの内部のコードにはあんまり詳しくないんですけど、これで直ると思うのですがどうでしょうか。
```diff
diff --git a/string.c b/string.c
index 82fa603ada..9079...
tommy (Masahiro Tomita)
01:10 PM Revision 9237049e (git): string.c: clear substring code range
* string.c (str_substr): substring of broken code range string may
be valid or broken. patch by tommy (Masahiro To...
nobu (Nobuyoshi Nakada)
12:31 PM Feature #13581: Syntax sugar for method reference
@nobu Thanks, I've updated the list.
Can you please add it to next Developer Meeting's agenda?..
zverok (Victor Shepelev)
12:23 PM Feature #13581: Syntax sugar for method reference
zverok (Victor Shepelev) wrote:
> * `map(&Math.>sqrt)`, `each(&.>puts)`
This conflicts with existing syntax.
...
nobu (Nobuyoshi Nakada)
12:23 PM Feature #14397: public, protected and private should return their arguments instead of self
Would it be simpler for the semantics to always return an Array of symbols?
Otherwise `final` (and other potential u...
Eregon (Benoit Daloze)
12:00 PM Revision 845b3cfb (git): compile.c: unnecessary freezing
* compile.c (iseq_peephole_optimize): get rid of freezing
dynamically created string to be duplicated immediately.
...
nobu (Nobuyoshi Nakada)
11:34 AM Bug #14389: Reflected XSS
TheGirdap (Hamit Cibo) wrote:
> hsbt (Hiroshi SHIBATA) wrote:
> > Thank you for your report.
> >
> > But I know ...
TheGirdap (Hamit Cibo)
11:12 AM Bug #14389: Reflected XSS
hsbt (Hiroshi SHIBATA) wrote:
> Thank you for your report.
>
> But I know that you already reported other places ...
TheGirdap (Hamit Cibo)
01:46 AM Bug #14389 (Third Party's Issue): Reflected XSS
Thank you for your report.
But I know that you already reported other places and shared the upstream information.
...
hsbt (Hiroshi SHIBATA)
11:21 AM Revision 07decad2 (git): openssl/buffering.rb: no RS when output
* ext/openssl/lib/openssl/buffering.rb (do_write, puts): output
methods should not be affected by the input record ...
nobu (Nobuyoshi Nakada)
10:28 AM Bug #14400 (Closed): IO#ungetc and IO#ungetbyte documentation is inconsistent with the behavior
The documentation of IO#ungetc states:
> Pushes back one character (passed as a parameter) onto ios, such that a
...
Eregon (Benoit Daloze)
10:09 AM Feature #14240: warn four special variables: $; $, $/ $\
I wonder that aliased variables also should be warned, `$-0`, `$-F`, and aliases in English.rb.
Currently, aliases...
nobu (Nobuyoshi Nakada)
10:00 AM Misc #14222: Mutex.lock is not safe inside signal handler: what is?
normalperson (Eric Wong) wrote:
> > Having a not-well defined set of allowed operations in a Ruby block (the signal...
Eregon (Benoit Daloze)
09:55 AM Bug #14375: 3 Spec failures building MinGW 2018-01-19 trunk 61950
Thank you for the report and patches.
I decided to remove the specs trying arbitrary values for chmod/umask in r62...
Eregon (Benoit Daloze)
09:50 AM Bug #14375 (Closed): 3 Spec failures building MinGW 2018-01-19 trunk 61950
Applied in changeset trunk|r62036.
----------
Remove specs trying arbitrary values for chmod and umask
* Instead as...
Eregon (Benoit Daloze)
09:50 AM Revision b101d2c2 (git): Group related File.umask specs together
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
09:50 AM Revision 7dc0bdb6 (git): Remove specs trying arbitrary values for chmod and umask
* Instead assert that too large values raise RangeError.
* [Bug #14375] [ruby-core:84933]
* See https://github.com/ru...
Eregon (Benoit Daloze)
08:13 AM Feature #14392: Pipe operator
Also when I want to look specifically at the API of a certain class I look into its documentation not the code base. dsferreira (Daniel Ferreira)
08:11 AM Feature #14392: Pipe operator
shyouhei (Shyouhei Urabe) wrote:
> Don't you have difficulties writing elixir code then?
I mentioned already th...
dsferreira (Daniel Ferreira)
08:06 AM Feature #14392: Pipe operator
Hanmac (Hans Mackowiak) wrote:
> Symbol#pri and others will never work
You're right. Not to much thought put o...
dsferreira (Daniel Ferreira)
07:36 AM Feature #14392: Pipe operator
dsferreira (Daniel Ferreira) wrote:
> shyouhei (Shyouhei Urabe) wrote:
>
> > Is it really worth adding a new synt...
shyouhei (Shyouhei Urabe)
07:35 AM Feature #14392: Pipe operator
Symbol#pri and others will never work because you failed to understand how Object work in ruby
so NO "easily do by...
Hanmac (Hans Mackowiak)
07:25 AM Feature #14392: Pipe operator
Shyouhei,
To add up to this:
When I look into a specific method my first concern is about the source code not i...
dsferreira (Daniel Ferreira)
07:07 AM Feature #14392: Pipe operator
shyouhei (Shyouhei Urabe) wrote:
> Is it really worth adding a new syntax to replace private def... ?
For me i...
dsferreira (Daniel Ferreira)
06:32 AM Feature #14392: Pipe operator
I don't remember any programming language which puts the visibility of a method at the trailer of a method body. Is ... shyouhei (Shyouhei Urabe)
05:49 AM Feature #14392: Pipe operator
mame (Yusuke Endoh) wrote:
> I'm now a bit against the feature
Yusuke what would you propose as an alternative...
dsferreira (Daniel Ferreira)
02:09 AM Feature #14392: Pipe operator
dsferreira (Daniel Ferreira) wrote:
>
> ```ruby
> def bar(var)
> puts “Hello #{var}!”
> end |> private
...
mame (Yusuke Endoh)
05:59 AM Feature #14371 (Rejected): New option "recursive: true" for Hash#transform_keys!
I see. Thank you! tagomoris (Satoshi Tagomori)
01:48 AM Revision 429e2abf (git): optparse.rb: literal newline
* lib/optparse.rb (OptionParser#summarize): use literal newline to
join option summaries as IO#puts does, not the s...
nobu (Nobuyoshi Nakada)
01:15 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Hi Eric,
I've been reading this issue and I'm finding it fascinating.
Let me play here the role of the ruby devel...
dsferreira (Daniel Ferreira)
12:42 AM Revision f8fa8dd9 (git): revert r62032 because it refers to a undefined variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
12:11 AM Bug #14246 (Closed): Inconsistent C source code indentation
Applied in changeset trunk|r62033.
----------
.editorconfig: Use spaces instead of tab except Makefiles
ref [Bug #1...
Anonymous
12:11 AM Revision 224bbbdc (git): .editorconfig: Use spaces instead of tab except Makefiles
ref [Bug #14246]
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)

01/24/2018

11:30 PM Feature #14399 (Open): Add Enumerable#product
For similar reasons for creating `Enumerable#sum` a companion method
`Enumerable#product` is also very useful. Takin...
jzakiya (Jabari Zakiya)
11:17 PM Revision 3010d5ee (git): optparse.rb: literal newline
* lib/optparse.rb (OptionParser#summarize): use literal newline to
join option summaries as IO#puts does, not the s...
nobu (Nobuyoshi Nakada)
10:41 PM Feature #14394: Class.descendants
Thanks for the reply, shevegen, those are helpful questions :)
The gems I've seen implement this are active-suppor...
ridiculous (Ryan Buckley)
09:01 PM Feature #14394: Class.descendants
I do not know if it was suggested before, but it could be discussed
at the ruby developer meeting perhaps (unless it...
shevegen (Robert A. Heiler)
07:07 PM Feature #14394 (Assigned): Class.descendants
There have been numerous implementations of the method Class.descendants by various gems. However, I can't help but t... ridiculous (Ryan Buckley)
10:41 PM Bug #14398 (Closed): [BUG] Bus Error
Hi Folks, not sure it this is appropriate place to send my bug.
I noticed this error when I tried to apply Puppet ma...
kmonticolo (Kamil Monticolo)
10:40 PM Revision 69d6e7d9 (git): vm.c: remove unnecessary branch
th->altstack is never NULL, and even if it were, POSIX
stipulates free(3) on NULL to be a no-op.
git-svn-id: svn+ssh...
Eric Wong
10:39 PM Revision 7c8b7975 (git): load.c: use fstring instead of OBJ_FREEZE
These strings already exist (or will exist soon) in the fstring
table, so avoid the duplicate, sooner.
git-svn-id: s...
Eric Wong
09:41 PM Feature #14392: Pipe operator
shevegen (Robert A. Heiler) wrote:
> No |> though.
Hi Robert, many thanks for the extensive comment.
The idea...
dsferreira (Daniel Ferreira)
08:54 PM Feature #14392: Pipe operator
> It will be reject anyways but I will still continue to seek
> for a better option.
Who knows - but I think it m...
shevegen (Robert A. Heiler)
04:24 PM Feature #14392: Pipe operator
zverok (Victor Shepelev) wrote:
> That's the way, obviously.
Fortunately not every one look at things the same ...
dsferreira (Daniel Ferreira)
04:10 PM Feature #14392: Pipe operator
zverok (Victor Shepelev) wrote:
> It already looks messed up :)
Didn't understand very well how messed up it is...
dsferreira (Daniel Ferreira)
03:16 PM Feature #14392: Pipe operator
>> `private def bar(var)`
> I don't like the syntax it provides.
So, what you saying is "I don't like how the c...
zverok (Victor Shepelev)
03:13 PM Feature #14392: Pipe operator
Let me, then, introduce some philosphy here (I know this issue will be rejected anyways, so whatever).
When you pr...
zverok (Victor Shepelev)
02:59 PM Feature #14392: Pipe operator
Hanmac (Hans Mackowiak) wrote:
> `private def bar(var)`
I don't like the syntax it provides.
What I do curr...
dsferreira (Daniel Ferreira)
02:54 PM Feature #14392: Pipe operator
zverok (Victor Shepelev) wrote:
> We already have yield_self (2.5+) exactly for this.
I will not use it like t...
dsferreira (Daniel Ferreira)
02:47 PM Feature #14392: Pipe operator

~~~ ruby
class Foo
private def bar(var)
puts “Hello #{var}!”
end
def baz(arg)
bar(arg)
e...
Hanmac (Hans Mackowiak)
02:43 PM Feature #14392: Pipe operator
We already have `yield_self` (2.5+) exactly for this.
```ruby
class Foo
##
# Bar public method.
def...
zverok (Victor Shepelev)
02:35 PM Feature #14392 (Open): Pipe operator
I would like to see implemented in ruby a pipe operator as we have in elixir.
An example of application I have in ...
dsferreira (Daniel Ferreira)
09:28 PM Feature #14396 (Rejected): public, protected and private should return their arguments instead of self
誤ってruby-devに投げてしまったのでこっちは閉じます。
[Feature #14397] を参照。
usa (Usaku NAKAMURA)
09:14 PM Feature #14396 (Rejected): public, protected and private should return their arguments instead of self
Matsuda-san suggested me that `public`, `protected` and `private` should return their arguments instead of self,
to ...
usa (Usaku NAKAMURA)
09:27 PM Feature #14397 (Assigned): public, protected and private should return their arguments instead of self
Matsuda-san suggested me that `public`, `protected` and `private` should return their arguments instead of `self`,
t...
usa (Usaku NAKAMURA)
09:13 PM Bug #14314: Marshalling broken in Ruby 2.5.0 for Structs with keyword_init: true
The YAML issue has also been fixed on trunk. shan (Shannon Skipper)
09:07 PM Misc #14381 (Closed): [PATCH] ruby/ruby.h: remove unnecessary exports from C-API
Applied in changeset trunk|r62029.
----------
ruby/ruby.h: remove unnecessary exports from C-API
Needlessly exporti...
Anonymous
09:07 PM Revision 7e669f40 (git): ruby/ruby.h: remove unnecessary exports from C-API
Needlessly exporting can reduce performance locally and increase
binary size.
Increasing the footprint of our C-API ...
Eric Wong
08:58 PM Feature #14393: Support sending file descriptors (on local machine) via DRb UNIX
Would be nice.
I must admit that I have not used drb in a really long time - but I
am a firm believer in ruby obj...
shevegen (Robert A. Heiler)
07:06 PM Feature #14393 (Open): Support sending file descriptors (on local machine) via DRb UNIX
Ruby: `2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux]`
Currently DRb supports UNIX domain sockets, via `drbu...
Anonymous
08:52 PM Misc #14395 (Closed): [PATCH] internal.h: add BITFIELD macro
Pretty trivial, will commit soon.
internal.h: add BITFIELD macro
I plan to use this macro to pack other enums...
normalperson (Eric Wong)
08:50 PM Revision 0a0b71f3 (git): * 2018-01-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:50 PM Revision a41386a2 (git): ruby.c (open_load_file): avoid shadowing variable for errno
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
05:49 PM Bug #14376: OpenSSL::X509::Store#verify_callback= requires Qtrue, not just truthy
Please close in favor of #14377. graywolf (Gray Wolf)
05:48 PM Feature #14377: Improve documentation for `OpenSSL::X509::Store#verify_callback=` and `OpenSSL::SSL::SSLContext#verify_callback=`
Please close.
I need to learn to read docs. The fact that `Store#verify_callback=` is method (so listed in left pa...
graywolf (Gray Wolf)
04:46 PM Feature #14235: Merge MJIT infrastructure with conservative JIT compiler
k0kubun (Takashi Kokubun) wrote:
> Vladimir, thank you for your opinion on this!
>
You are welcome. You are do...
vmakarov (Vladimir Makarov)
04:42 PM Feature #14235: Merge MJIT infrastructure with conservative JIT compiler
> I also think that in the future setting JIT features and params through environment variable(s) might improve JIT u... k0kubun (Takashi Kokubun)
04:40 PM Feature #14235: Merge MJIT infrastructure with conservative JIT compiler
larskanis (Lars Kanis) wrote:
> I like your last proposal most (using `--jit-X` options). It would also allow this i...
vmakarov (Vladimir Makarov)
04:38 PM Feature #14235: Merge MJIT infrastructure with conservative JIT compiler
Vladimir, thank you for your opinion on this!
> --jit-wait/--jit-threshold are very useful options for testers. Th...
k0kubun (Takashi Kokubun)
04:25 PM Feature #14235: Merge MJIT infrastructure with conservative JIT compiler
k0kubun (Takashi Kokubun) wrote:
> > The short form should be there for convenience IMHO
>
> TBH I don't have str...
vmakarov (Vladimir Makarov)
04:05 PM Feature #14235: Merge MJIT infrastructure with conservative JIT compiler
I like your last proposal most (using `--jit-X` options). It would also allow this in the future:
```
--jit [<t...
larskanis (Lars Kanis)
03:44 PM Feature #14235: Merge MJIT infrastructure with conservative JIT compiler
> having "-jX" instead of "-j:t=X" would be very reasonable interface.
I rethought that it's still aggressive to a...
k0kubun (Takashi Kokubun)
03:41 PM Feature #14235: Merge MJIT infrastructure with conservative JIT compiler
> Vladimirs command line option -j:t=X sets the number of parallel running compile tasks, which is similar to what -j... k0kubun (Takashi Kokubun)
03:34 PM Feature #14235: Merge MJIT infrastructure with conservative JIT compiler
Vladimirs command line [option -j:t=X](https://github.com/vnmakarov/ruby/blob/rtl_mjit_branch/ruby.c#L267) sets the n... larskanis (Lars Kanis)
02:01 PM Feature #14235: Merge MJIT infrastructure with conservative JIT compiler
> The short form should be there for convenience IMHO
TBH I don't have strong preference on having the short versi...
k0kubun (Takashi Kokubun)
10:43 AM Feature #14235: Merge MJIT infrastructure with conservative JIT compiler
Just my opinion: -j only makes sense in the context of a tool/script which can run in parallel (build tool like make,... Eregon (Benoit Daloze)
05:09 AM Feature #14235: Merge MJIT infrastructure with conservative JIT compiler
Before we merge MJIT, we need to consider what CLI options ruby should have.
Current implementation with some modi...
k0kubun (Takashi Kokubun)
02:48 PM Feature #13581: Syntax sugar for method reference
zverok (Victor Shepelev) wrote:
> map(&Math|>sqrt), each(&|>puts) (too confusable with Elixir-like pipe, probably...
dsferreira (Daniel Ferreira)
09:49 AM Feature #13581: Syntax sugar for method reference
Just to push this forward, here are all the syntaxes from this and duplicate #12125.
I am taking `Math.sqrt` and `pu...
zverok (Victor Shepelev)
02:31 PM Revision c5022061 (git): system_spec.rb: add RubySpec for r62025
NEWS: added an entry for `exception: true` option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62026 b2dd03c8-...
k0kubun (Takashi Kokubun)
02:15 PM Feature #14386 (Closed): Add option to let Kernel.#system raise error instead of returning false
Applied in changeset r62025.
For rosenfeld's suggestion, open3 would be a good place to have the functionality.
k0kubun (Takashi Kokubun)
09:00 AM Feature #14386: Add option to let Kernel.#system raise error instead of returning false
I created a patch for exception: true. https://github.com/ruby/ruby/pull/1795 k0kubun (Takashi Kokubun)
07:14 AM Feature #14386: Add option to let Kernel.#system raise error instead of returning false
Agree with adding keyword argument to specify raising an exception (`exception:true` sounds reasonable).
Matz.
matz (Yukihiro Matsumoto)
07:11 AM Feature #14386: Add option to let Kernel.#system raise error instead of returning false
I don't like the keyword name, "assert_status".
I think "exception" is better.
It is consistent with read_nonbloc...
akr (Akira Tanaka)
12:04 AM Feature #14386: Add option to let Kernel.#system raise error instead of returning false
> I have nothing against it. I think it would change existing behaviour
though, if I read http://ruby-doc.org/core-2...
k0kubun (Takashi Kokubun)
02:11 PM Revision fb29cffa (git): process.c: add :exception option to Kernel.#system
to raise error when it fails.
[Feature 14386] [GH-1795]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62025 b2d...
k0kubun (Takashi Kokubun)
12:57 PM Bug #14391 (Closed): Integer#digitsが遅い
Integer#digitsが遅い
大きなIntegerのdigitsがto_sと比べてかなり遅い(計算量のオーダーが違う)ようです。
~~~ ruby
(9999**9999).to_s.chars.map(&:to_...
tompng (tomoya ishida)
12:30 PM Bug #14389: Reflected XSS
shevegen (Robert A. Heiler) wrote:
> The twitter link above gives me "This account's Tweets are protected.", just
>...
TheGirdap (Hamit Cibo)
11:58 AM Bug #14389: Reflected XSS
The twitter link above gives me "This account's Tweets are protected.", just
for your information.
shevegen (Robert A. Heiler)
09:11 AM Bug #14389 (Third Party's Issue): Reflected XSS
Hello,
Reflected Xss found ..
https://docs.ruby-lang.org/ja/search/query:import/query:callback/%22%3E%3C/title%...
TheGirdap (Hamit Cibo)
12:18 PM Feature #14390: UnboundMethod#to_proc
@shevegen I am well aware of the process, thanks. In my head, it also includes "ideas are discussed in this bug track... zverok (Victor Shepelev)
11:55 AM Feature #14390: UnboundMethod#to_proc
> Ugh, seems it duplicates answer-less #10879.
It can probably be referenced to the other report, and your issue
...
shevegen (Robert A. Heiler)
09:22 AM Feature #14390: UnboundMethod#to_proc
Ugh, seems it duplicates answer-less #10879.
Though, I'd be happy to raise the priority of discussion higher, and ...
zverok (Victor Shepelev)
09:18 AM Feature #14390 (Feedback): UnboundMethod#to_proc
I believe that it could be somewhat useful to have UnboundMethod converted to proc (accepting the object to bind to, ... zverok (Victor Shepelev)
09:11 AM Feature #11161: Proc/Method#rcurry working like curry but in reverse order
Started to write my own ticket, but found this one :)
My explanation was like this:
---
Considering two wide...
zverok (Victor Shepelev)
08:40 AM Feature #4830 (Rejected): Provide Default Variables for Array#each and other iterators
Rejected. It would cause too much confusion than convenience.
Matz.
matz (Yukihiro Matsumoto)
08:39 AM Feature #14371: New option "recursive: true" for Hash#transform_keys!
FYI, ActiveSupport implemented these functionalities as separate methods:
* [Hash#deep_transform_keys](http://api....
sakuro (Sakuro OZAWA)
06:19 AM Feature #14371: New option "recursive: true" for Hash#transform_keys!
I don't think this proposal is a good idea for following reasons:
* `transform_keys` method to modify value part o...
matz (Yukihiro Matsumoto)
08:36 AM Bug #4443: odd evaluation order in a multiple assignment
関連すると思われるささださんの昔のメールを見つけました: ruby-dev:31579
```
1) 右辺が重複しないローカル変数の列だったら今まで通り
 (副作用はないので問題ない)
2) そうじゃなければ,色々コストを...
akr (Akira Tanaka)
08:25 AM Revision 7184e03e (git): mkmf.rb: werror on mswin
* lib/mkmf.rb (MakeMakefile#try_ldflags): enable warning checking
on mswin, link.exe warns -l options but does not ...
nobu (Nobuyoshi Nakada)
08:22 AM Feature #14240: warn four special variables: $; $, $/ $\
We discussed this issue at today's developper meeting.
We (including matz) agree produce warnings for 5 variables ...
akr (Akira Tanaka)
08:14 AM Bug #14388 (Closed): 不正エンコーディング文字列から切り出した正当なエンコーディング文字列が invalid encoding になる
~~~ ruby
data = "\xFFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
p data.encoding #=> #<Encoding:UTF-8>
p data...
tommy (Masahiro Tomita)
08:11 AM Bug #14269: backport r61562, r61563, r61566, r61568, r61569 (fix SEGV touching uninitialized memory)
ruby_2_5 r62023 merged revision(s) 61562,61563,61566,61568,61569. naruse (Yui NARUSE)
08:11 AM Revision 9ceb9e30 (git): merge revision(s) 61562,61563,61566,61568,61569: [Backport #14269]
fix SEGV touching uninitialized memory
This function can be called from boot_defclass().
No assumpti...
naruse (Yui NARUSE)
08:02 AM Bug #14380 (Assigned): Expected transform_keys! to work just as transform_keys, but it doesn't
mrkn (Kenta Murata)
08:00 AM Bug #14246: Inconsistent C source code indentation
We discussed this issue in today's developer meeting.
- We agreed _not_ to batch update the indents at once. Inde...
shyouhei (Shyouhei Urabe)
08:00 AM Feature #12732: An option to pass to `Integer`, `Float`, to return `nil` instead of raise an exception
Just for the record, `Integer(x, rescue: default_value)` might be an idea, if anything other than `nil` (like zero) w... knu (Akinori MUSHA)
07:54 AM Feature #12732: An option to pass to `Integer`, `Float`, to return `nil` instead of raise an exception
Aaron's comment in #note-6 sounds reasonable. Accepted.
Matz.
matz (Yukihiro Matsumoto)
07:16 AM Feature #13969 (Closed): Dir#each_child
Applied in changeset trunk|r62022.
----------
dir.c: Dir#each_child
* dir.c (dir_each_child_m): new instance method...
nobu (Nobuyoshi Nakada)
05:59 AM Feature #13969: Dir#each_child
Agreed.
Matz.
matz (Yukihiro Matsumoto)
07:15 AM Revision 6a3a7e91 (git): dir.c: Dir#each_child
* dir.c (dir_each_child_m): new instance methods Dir#each_child
and Dir#children. [Feature #13969]
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
06:32 AM Revision f7210deb (git): NEWS: [Feature #14223] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:28 AM Feature #14313: Support creating KeyError with receiver and key from Ruby
I agree with the original proposal. We are not going to enhance `raise` behavior (yet).
Matz.
matz (Yukihiro Matsumoto)
06:25 AM Feature #14223 (Closed): Refinements で定義した #to_proc が &hoge 時に呼ばれないのを緩和する提案
Applied in changeset trunk|r62020.
----------
vm_args.c: to_proc refinements
* vm_args.c (vm_to_proc): enable #to_p...
nobu (Nobuyoshi Nakada)
06:00 AM Feature #14223: Refinements で定義した #to_proc が &hoge 時に呼ばれないのを緩和する提案
良さそうに思えます。取り込んでみましょう。
Matz.
matz (Yukihiro Matsumoto)
06:25 AM Revision a6e5073c (git): vm_args.c: to_proc refinements
* vm_args.c (vm_to_proc): enable #to_proc by refinements at Proc
passing as a block. patched by osyo (manga osyo)....
nobu (Nobuyoshi Nakada)
06:17 AM Feature #14382: Make public access of a private constant call const_missing
matz (Yukihiro Matsumoto) wrote:
> The idea seems OK to me. Can you experiment?
With the attached patch, both tes...
jeremyevans0 (Jeremy Evans)
05:35 AM Feature #14382: Make public access of a private constant call const_missing
The idea seems OK to me. Can you experiment?
Matz.
matz (Yukihiro Matsumoto)
03:33 AM Feature #14383: Making prime_division in prime.rb Ruby 3 ready.
Well, I did say "serious" math, didn't I.
```
2.5.0 :097 > 2**256
=> 11579208923731619542357098500868790785326...
jzakiya (Jabari Zakiya)
12:34 AM Feature #14362: use BigDecimal instead of Float by default
Rational and BigDecimal do not cover irrational numbers.
```ruby
require 'bigdecimal'
p (BigDecimal("2.0")**BigD...
nobu (Nobuyoshi Nakada)
12:29 AM Bug #14387 (Closed): Ruby 2.5 を Alpine Linux で実行すると比較的浅めで SystemStackError 例外になる
CircleCI で Alpine Linux を使って Ruby 2.5.0 で Rubocop を実行した時に遭遇した例外です(Ruby 2.4.3 では発生しませんでした)。
Ruby のバージョンによって、再帰が止められ...
koshigoe (Masataka SUZUKI)
12:12 AM Revision c786db20 (git): Fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yui-knk (Kaneko Yuichiro)
12:03 AM Bug #14264 (Closed): RDoc comment of warn does not mention uplevel:
Applied in changeset trunk|r62018.
----------
Add documentation for the Kernel#warn :uplevel keyword
[ruby-core:845...
Anonymous
12:03 AM Revision 49a23c27 (git): Add documentation for the Kernel#warn :uplevel keyword
[ruby-core:84574] [Bug #14264]
Author: Jeremy Evans <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org...
znz (Kazuhiro NISHIYAMA)

01/23/2018

11:45 PM Feature #14383: Making prime_division in prime.rb Ruby 3 ready.
Unless I copy-pasted wrong your `prime_division2` is /significantly/ slower for small numbers:
```
$ ruby bm.rb
...
graywolf (Gray Wolf)
08:46 PM Feature #14383: Making prime_division in prime.rb Ruby 3 ready.
The major problem with `prime_division` trying to accommodate negative numbers is
that, mathematically, [prime facto...
jzakiya (Jabari Zakiya)
07:16 AM Feature #14383: Making prime_division in prime.rb Ruby 3 ready.
Currently, `prime_division` can factorize any negative integers that are less than -1 like:
```
[2] pry(main)> -1...
mrkn (Kenta Murata)
06:47 AM Feature #14383: Making prime_division in prime.rb Ruby 3 ready.
I won't go into all points since your issue makes even my issue
requests seem small. :-)
It may be easier to spli...
shevegen (Robert A. Heiler)
02:18 AM Feature #14383 (Closed): Making prime_division in prime.rb Ruby 3 ready.
I have been running old code in Ruby 2.5.0 (released 2017.12.25) to check for
speed and compatibility. I still see t...
jzakiya (Jabari Zakiya)
06:57 PM Feature #14386: Add option to let Kernel.#system raise error instead of returning false
If an option would be used to make system raise instead of returning a boolean, then it would make more sense to retu... rosenfeld (Rodrigo Rosenfeld Rosas)
05:52 PM Feature #14386: Add option to let Kernel.#system raise error instead of returning false
If I understood it correctly, you mean to pass in an optional hash
to be the second argument to system() right?
...
shevegen (Robert A. Heiler)
05:39 PM Feature #14386 (Closed): Add option to let Kernel.#system raise error instead of returning false
I sometimes write code like:
~~~ ruby
system('git pull origin master') || raise('Failed to execute: git pull orig...
k0kubun (Takashi Kokubun)
06:08 PM Feature #14385: Deprecate back-tick for Ruby 3.
IMHO this is way too incompatible and using %x{} only makes it less nice/readable/intuitive.
What's wrong with the v...
Eregon (Benoit Daloze)
05:11 PM Feature #14385: Deprecate back-tick for Ruby 3.
[email protected] wrote:
> Matz's intention is to use back-ticks for a different syntax,
> not to deprecate the c...
normalperson (Eric Wong)
02:04 PM Feature #14385: Deprecate back-tick for Ruby 3.
Hanmac (Hans Mackowiak) wrote:
> is there already any info for what this syntax (`) might be used for?
I haven't ...
nobu (Nobuyoshi Nakada)
01:59 PM Feature #14385: Deprecate back-tick for Ruby 3.
nobu (Nobuyoshi Nakada) wrote:
> `%x{}` will not change.
> Matz's intention is to use back-ticks for a different sy...
Hanmac (Hans Mackowiak)
01:46 PM Feature #14385: Deprecate back-tick for Ruby 3.
`%x{}` will not change.
Matz's intention is to use back-ticks for a different syntax, not to deprecate the command s...
nobu (Nobuyoshi Nakada)
11:55 AM Feature #14385: Deprecate back-tick for Ruby 3.
would that affect `%x{}` too or whould that be done later?
i mean in most cases they might not what i want and nee...
Hanmac (Hans Mackowiak)
11:52 AM Feature #14385: Deprecate back-tick for Ruby 3.
Thank you for the early notice - there are now lots of entries for the developer meeting
compared to a few days ago....
shevegen (Robert A. Heiler)
11:03 AM Feature #14385 (Rejected): Deprecate back-tick for Ruby 3.
From https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20171212Japan#From-attendees
Matz hopes to dep...
hsbt (Hiroshi SHIBATA)
05:42 PM Feature #14362: use BigDecimal instead of Float by default
nobu (Nobuyoshi Nakada) wrote:
> You can write "exact" number by `1.2r`.
Rational numbers work fine for `+`, `-`,...
sos4nt (Stefan Schüßler)
05:32 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
[email protected] wrote:
> We discussed your proposal at last developer meeting (Dec 26, 2017)

Awesome news.

...
normalperson (Eric Wong)
11:35 AM Feature #13618 (Assigned): [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Hi, Eric.
We discussed your proposal at last developer meeting (Dec 26, 2017)
- Name this "Thread", or somethin...
hsbt (Hiroshi SHIBATA)
04:37 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
It still doesn't make sense for me since it's only possible to add instance variables starting with @ when using the ... rosenfeld (Rodrigo Rosenfeld Rosas)
04:05 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
jeremyevans0 (Jeremy Evans) wrote:
> You can actually store instance variables that don't start with @ using the C...
dsferreira (Daniel Ferreira)
03:41 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
dsferreira (Daniel Ferreira) wrote:
> I believe it would be great to have:
>
> ```ruby
> instance_variable_set(:...
jeremyevans0 (Jeremy Evans)
03:30 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
nobu (Nobuyoshi Nakada) wrote:
> Do you want to access constants without the first upper case letter by const_get?...
dsferreira (Daniel Ferreira)
03:25 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
`@` is a part of instance variable names.
Do you want to access constants without the first upper case letter by `co...
nobu (Nobuyoshi Nakada)
03:15 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
nobu (Nobuyoshi Nakada) wrote:
> Instance variables must start with @ in ruby.
> It's a language design.
What...
dsferreira (Daniel Ferreira)
03:11 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
nobu (Nobuyoshi Nakada) wrote:
> Why and how do you think it will break that code?
Sorry Nobu. Now I can see i...
dsferreira (Daniel Ferreira)
02:55 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
> I ALREADY did! data for color gradient (see above). Just theating that my example doesn't exist to prof your point.... rosenfeld (Rodrigo Rosenfeld Rosas)
02:52 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
> Instance variables must start with @ in ruby.
I believe that was exactly the point of Daniel. Since it must star...
rosenfeld (Rodrigo Rosenfeld Rosas)
02:48 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
dsferreira (Daniel Ferreira) wrote:
> Are you aware of the new keyword feature that will break that code?
>
> htt...
nobu (Nobuyoshi Nakada)
02:42 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
wouldn't this be beautiful:
```ruby
%w/height width tileheight tilewith/.each do |dimension|
instance_variable...
dsferreira (Daniel Ferreira)
02:34 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
Hanmac (Hans Mackowiak) wrote:
> and old (pre keyword) example how to make it work
I don't know what to think ...
dsferreira (Daniel Ferreira)
02:20 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
dsferreira (Daniel Ferreira) wrote:
> Hans, now I completely missed your point.
>
> What does this prove?
>
> ...
Hanmac (Hans Mackowiak)
02:13 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
Hans, now I completely missed your point.
What does this prove?
```ruby
@height = (node[:height] || node["heig...
dsferreira (Daniel Ferreira)
02:08 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
some older code of mine where i needed to handle both user input and input from xml or json
https://github.com/Hanma...
Hanmac (Hans Mackowiak)
01:44 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
It's not about what I think makes sense. I can provide you tons of code where people are using HWIA because it's a re... rosenfeld (Rodrigo Rosenfeld Rosas)
01:36 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> > why are you guys not have a problem with that h[0] != h[0.0] ?
>
>...
Hanmac (Hans Mackowiak)
12:34 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
> why are you guys not have a problem with that h[0] != h[0.0] ?
Aren't you exaggerating? When did you ever need t...
rosenfeld (Rodrigo Rosenfeld Rosas)
12:15 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> I give up on this discussion until someone brings a new perspective ...
dsferreira (Daniel Ferreira)
12:07 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> I give up on this discussion since I'm very low on free time these days...
Hanmac (Hans Mackowiak)
11:58 AM Feature #14336: Create new method String#symbol? and deprecate Symbol class
I give up on this discussion since I'm very low on free time these days and it's clear to me that I'm talking to the ... rosenfeld (Rodrigo Rosenfeld Rosas)
11:47 AM Feature #14336: Create new method String#symbol? and deprecate Symbol class
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> > it means that the developer doesn't think about his own application e...
Hanmac (Hans Mackowiak)
10:55 AM Feature #14336: Create new method String#symbol? and deprecate Symbol class
> it means that the developer doesn't think about his own application enough to know if something would be a String o... rosenfeld (Rodrigo Rosenfeld Rosas)
10:46 AM Feature #14336: Create new method String#symbol? and deprecate Symbol class
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> But even if you had, that wouldn't completely fix the issue, because ...
Hanmac (Hans Mackowiak)
03:32 PM Bug #14384: CompatibilityError is thrown when formatting a non-ASCII string with a binary string argument
The message does not come from `rb_w32_strerror` but `gai_strerror` in WinSock2 library. nobu (Nobuyoshi Nakada)
03:31 PM Bug #14384 (Closed): CompatibilityError is thrown when formatting a non-ASCII string with a binary string argument
Applied in changeset trunk|r62017.
----------
init.c: encode socket error message
* ext/socket/init.c (rsock_raise_...
nobu (Nobuyoshi Nakada)
02:50 AM Bug #14384 (Closed): CompatibilityError is thrown when formatting a non-ASCII string with a binary string argument
The following script:
~~~
# coding: utf-8
require 'socket'
begin
TCPSocket.open('nowhere', 80)
rescue => e
...
joshc (Josh C)
03:31 PM Revision a41005eb (git): init.c: encode socket error message
* ext/socket/init.c (rsock_raise_socket_error): on Windows, encode
error messages from wide characters to the defau...
nobu (Nobuyoshi Nakada)
03:31 PM Revision d6aa4916 (git): * 2018-01-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:31 PM Revision fb6c4ca1 (git): getaddrinfo.c: ai_errlist
* ext/socket/getaddrinfo.c (ai_errlist): used only if gai_strerror
is missing.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
02:17 PM Revision 813a206d (git): parse.y: fix yytokentype function declarations
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:02 PM Feature #5129: Create a core class "FileArray" and make "ARGF" its instance
yimutang (Joey Zhou) wrote:
> For example, I want to mix two *groups* of files, not two files:
`FileGroup` ?
nobu (Nobuyoshi Nakada)
12:09 PM Feature #5129: Create a core class "FileArray" and make "ARGF" its instance
Just noticed it for the upcoming developer meeting. I agree with the
functionality; not sure if `FileArray` is a goo...
shevegen (Robert A. Heiler)
08:09 AM Feature #4831: Integer#prime_factors
I am not against adding such an alias but I'd like to think with more inputs. At this moment, I don't have strong rea... yugui (Yuki Sonoda)
07:23 AM Bug #8402: Segfault when precompiling rails assets
I has the same trouble with Ruby 2.2.8 and Rails 4.2.10.
After cleanup project's cache directory it working fine.
ukolovda (Dmitry Ukolov)
03:53 AM Revision 502d0bab (git): parse.y: added implicit parser_params argument
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:37 AM Revision 8563942a (git): parse.y: added new_strterm wrapper
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:31 AM Revision 63c047f1 (git): parse.y: concat dedented heredoc
* parse.y (heredoc_dedent): concat literal strings after dedented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
02:23 AM Revision c16c30ac (git): * 2018-01-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:23 AM Revision 2bf8cac2 (git): parse.y: removed implicit parser_params macros
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:52 AM Feature #14370: Directly mark instruction operands and avoid mark_ary usage on rb_iseq_constant_body
I've been doing more investigation about performance of this patch. Using the same Rails application I used for the ... tenderlovemaking (Aaron Patterson)

01/22/2018

07:06 PM Feature #14336: Create new method String#symbol? and deprecate Symbol class
Thanks, Matz, it certainly helps, but there are plenty of cases where we are not in the control of how hashes are ser... rosenfeld (Rodrigo Rosenfeld Rosas)
02:41 PM Feature #14382: Make public access of a private constant call const_missing
Eregon (Benoit Daloze) wrote:
> Isn't Module#deprecate_constant specifically for this usage?
`Module#deprecate_co...
jeremyevans0 (Jeremy Evans)
01:12 PM Feature #14382: Make public access of a private constant call const_missing
Isn't Module#deprecate_constant specifically for this usage? Eregon (Benoit Daloze)
03:50 AM Feature #14382 (Closed): Make public access of a private constant call const_missing
Calling `obj.foo` where `foo` is a private method of `obj` calls `method_missing`. You would expect `klass::FOO` wher... jeremyevans0 (Jeremy Evans)
01:09 PM Revision b8cc476c (git): use predefined IDs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:37 PM Bug #13069: mkmf: ignore linker warnings on OpenBSD
Could you let us know where those functions are used?
It's better to get rid of them, I think.
nobu (Nobuyoshi Nakada)
12:34 PM Bug #13069 (Closed): mkmf: ignore linker warnings on OpenBSD
Applied in changeset trunk|r62007.
----------
mkmf.rb: ignore linker warnings
* lib/mkmf.rb (try_ldflags): ignore l...
nobu (Nobuyoshi Nakada)
10:24 AM Bug #13069: mkmf: ignore linker warnings on OpenBSD
The issue is affecting my gem, [cld3-ruby](https://github.com/akihikodaki/cld3-ruby).
[Build failure on OpenBSD · Is...
akihikodaki (Akihiko Odaki)
12:34 PM Revision 4f03a239 (git): mkmf.rb: ignore linker warnings
* lib/mkmf.rb (try_ldflags): ignore linker warnings. they cause
unexpected failures on OpenBSD. [ruby-core:78827]...
nobu (Nobuyoshi Nakada)
03:42 AM Bug #14380: Expected transform_keys! to work just as transform_keys, but it doesn't
phluid61 (Matthew Kerwin) wrote:
> IIRC this was discussed when the feature was originally proposed.
Here you are...
shyouhei (Shyouhei Urabe)
03:04 AM Revision 218b8324 (git): time.c (num_exact): use predefined IDs
No need to waste space on "to_r" and "to_int" which are
predefined in defs/id.def
git-svn-id: svn+ssh://ci.ruby-lang...
Eric Wong
12:40 AM Revision 8a6c76b5 (git): time.c: constify compat_* tables
compat_common_month_table and compat_leap_month_table should
not be writable.
git-svn-id: svn+ssh://ci.ruby-lang.org...
Eric Wong
12:27 AM Feature #7019 (Rejected): allow `private` and `protected` keywords to take blocks
#3753 adds `private def ...` support. If you still want this feature, please reopen this issue. kou (Kouhei Sutou)
12:22 AM Feature #8497 (Rejected): private, protected, private_constなどがブロックを受け取るようにする
#3753 で`private def ...`と書けるようになって必要なくなったので閉じます。
kou (Kouhei Sutou)

01/21/2018

11:24 PM Bug #14380: Expected transform_keys! to work just as transform_keys, but it doesn't
taw (Tomasz Wegrzanowski) wrote:
> Oops, I meant to suggest this, accidentally said "values" instead of "keys" :
> ...
phluid61 (Matthew Kerwin)
10:24 PM Bug #14380: Expected transform_keys! to work just as transform_keys, but it doesn't
Oops, I meant to suggest this, accidentally said "values" instead of "keys" :
class Hash
def transform_...
taw (Tomasz Wegrzanowski)
05:18 PM Bug #14375: 3 Spec failures building MinGW 2018-01-19 trunk 61950
Thanks for the report, I'll take a look.
This spec looks rather hacky at first sight.
Eregon (Benoit Daloze)
03:26 PM Revision 96240fa4 (git): * 2018-01-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:26 PM Revision c91b8a1b (git): parse.y: expand tokp macro
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:26 PM Revision 3cefccb6 (git): parse.y: add EXPR_NONE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:28 PM Misc #14381: [PATCH] ruby/ruby.h: remove unnecessary exports from C-API
Ack. Like I said I have no strong opinion on this. shyouhei (Shyouhei Urabe)
01:21 PM Bug #14349: Fix Net::HTTP documentation around connection reuse
Makes sense, I've attached a patch that fixes the documentation (generated from https://github.com/ruby/ruby/pull/179... rohitpaulk (Paul Kuruvilla)
09:59 AM Revision 415c3340 (git): keywords: shrink struct kwtable
* defs/keywords (struct kwtable): shrink since members do not
exceed 16bit. lex_state needs to be int (or enum lex...
nobu (Nobuyoshi Nakada)
07:44 AM Revision 543ed365 (git): parse.y: fix state after left brace
* parse.y (parser_yylex): as well as `tLBRACE_ARG` (expr block),
`tLBRACE` (primary block) also does not accept a l...
nobu (Nobuyoshi Nakada)
07:44 AM Revision 3a12eb82 (git): parse.y: revert trace message to lex_state
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:44 AM Revision bb5772de (git): parse.y: use enum yytokentype
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:44 AM Revision 46e2fad6 (git): parse.y: parser_token_value_print for yydebug
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:51 AM Feature #14378: Increase Fixnum range on Windows from 31 bits to 63 bits
a mere data point:
(cygwin-64 ruby includes the full 64-bit Fixnum)
```
>> RUBY_VERSION
=> "2.2.5"
>> `uname...
spatulasnout (B Kelly)
12:21 AM Feature #14378: Increase Fixnum range on Windows from 31 bits to 63 bits
[email protected] wrote:
>
> what I only want to say is 'why didn't use typedef?...'

In the 1980s, when the 'i...
spatulasnout (B Kelly)
02:24 AM Revision f56a90ae (git): Fix missing m4_include at r61982
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)

01/20/2018

10:09 PM Misc #14381 (Closed): [PATCH] ruby/ruby.h: remove unnecessary exports from C-API
Note this depends on r61995, will wait a few days for review
(ENOSPC on my end to run gem-codesearch)
```
Needle...
normalperson (Eric Wong)
10:07 PM Revision 903b6628 (git): load.c: use rb_warning directly
This removes the last dependency on rb_mWarning outside of
error.c and allows future commits to mark it static.
Yes,...
Eric Wong
07:44 PM Bug #14380: Expected transform_keys! to work just as transform_keys, but it doesn't
Here is the current documentation:
http://ruby-doc.org/core-2.5.0/Hash.html#method-i-transform_keys
After looki...
shevegen (Robert A. Heiler)
07:03 PM Bug #14380 (Closed): Expected transform_keys! to work just as transform_keys, but it doesn't
This seriously violates the Principle of Least Surprise to me:
{1 => :a, -1 => :b}.transform_keys{|k| -k} #=> ...
taw (Tomasz Wegrzanowski)
05:52 PM Revision 8a489a7d (git): ext/ripper/tools/dsl.rb: Use String#sub instead of delete_suffix
It fails when baseruby is old.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61994 b2dd03c8-39d4-4d8f-98ff-823fe...
mame (Yusuke Endoh)
05:52 PM Revision f69bf708 (git): parse.y: Remove unneeded macro nd_set_line
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
05:45 PM Revision 5db28942 (git): parse.y: Remove double meaning of new_qcall/new_command_qcall
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
05:45 PM Revision d24f1fdd (git): ext/ripper/tools/dsl.rb: Serialize dispatch calls
To avoid the unspecified behavior (the evaluation order of arguments).
In `$$ = foo(bar(), baz());`, it is unspecifie...
mame (Yusuke Endoh)
04:50 PM Bug #14379: Exit code 3 when running the sass compiler
Oh, never thought about Onedrive, thank you!
Also, I apologize for the source file name, I forgot to change it, it s...
ArtemisHimself (Artemis Fowl)
12:46 PM Bug #14379 (Closed): Exit code 3 when running the sass compiler
Seems #14047. nobu (Nobuyoshi Nakada)
11:40 AM Bug #14379: Exit code 3 when running the sass compiler
Edit: It shouldn't be a SASS error, as my colleague is working with the same Ruby release, SASS release, and SCSS sou... ArtemisHimself (Artemis Fowl)
11:37 AM Bug #14379 (Closed): Exit code 3 when running the sass compiler
Hi,
I was told by my IDE (JetBrains' WebStorm) support center to upload here a report about
a problem I'm encounter...
ArtemisHimself (Artemis Fowl)
04:34 PM Bug #13496: Patches for MinGW builds - gnu_printf in 'config' & defines.h
Since I've been building trunk, the gnu_printf patch has moved from
Configure.in -> Configure.ac -> tool/m4/ruby_c...
MSP-Greg (Greg L)
04:21 PM Revision 7ba7a2f7 (git): parse.y: rewrite excessed_comma process
Currently, parser.y includes core parser and Ripper parser obscurity.
In addition, *some* Ripper code uses the result...
mame (Yusuke Endoh)
04:21 PM Revision 43aa218d (git): parse.y: Remove macros that are no longer used
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
04:21 PM Revision 57deb6fe (git): parse.y: Remove double meaning of new_op_assign, etc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
04:21 PM Revision 4d7b8af1 (git): parse.y: Remove double meaning of new_xstring/new_string1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
04:21 PM Revision a2688019 (git): parse.y: remove double meaning of new_brace_body/new_do_body
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
04:21 PM Revision 4b902422 (git): * 2018-01-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:21 PM Revision c4c135cb (git): parse.y: remove double meaning of const_path_field/top_const_field
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
03:41 PM Bug #14375: 3 Spec failures building MinGW 2018-01-19 trunk 61950
Please ignore the above files. Patch is located at https://github.com/MSP-Greg/ruby-loco/blob/498b640b81d798c8d69bad... MSP-Greg (Greg L)
02:22 PM Feature #14378: Increase Fixnum range on Windows from 31 bits to 63 bits
This is indeed very surprising that on a platform with 64-bit pointers, Fixnum are still only 30 bits.
+1 to making ...
Eregon (Benoit Daloze)
12:01 PM Feature #14378: Increase Fixnum range on Windows from 31 bits to 63 bits
nobu (Nobuyoshi Nakada) wrote:
> To "fix" this, or relax this limitation, we have to replace tons of `long` in the s...
HfCloud (Xiangyu Shi)
11:29 AM Feature #14378: Increase Fixnum range on Windows from 31 bits to 63 bits
I'm using vs2017 and embed ruby interpreter in my game engine. In certain situation I need to use Fixnum to pass valu... HfCloud (Xiangyu Shi)
11:07 AM Feature #14378: Increase Fixnum range on Windows from 31 bits to 63 bits
HfCloud (Xiangyu Shi) wrote:
> So, it is that FIXNUM of the 64-bits ruby is a 32-bits data?
Yes, we are using `lo...
nobu (Nobuyoshi Nakada)
10:24 AM Feature #14378 (Open): Increase Fixnum range on Windows from 31 bits to 63 bits
On windows, start an IRB of a 64-bits ruby, enter these code:
~~~ruby
(1<<29).equal?(1<<29)
#=>true
(1<<30)....
HfCloud (Xiangyu Shi)
07:14 AM Revision 58393960 (git): Emacs friendliness [ci skip]
Just add comment by:
sed -i $'1i\\\n# -*- Autoconf -*-' tool/m4/*.m4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
shyouhei (Shyouhei Urabe)
07:05 AM Revision ec43478f (git): set AC_CONFIG_MACRO_DIRS [close GH-1793]
We do not use aclocal(1) by default. But in case users do so,
AC_CONFIG_MACRO_DIRS help them reconstruct the same con...
shyouhei (Shyouhei Urabe)
07:05 AM Revision 0664a637 (git): refactor split configure.ac into files
This does not (yet) change anything. The generated configure file
is the identical to previous one (except several em...
shyouhei (Shyouhei Urabe)
06:49 AM Revision 645e441c (git): Makefile.sub: missing/nan.obj
* win32/Makefile.sub (MISSING): nan() is available since msvcrr120.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
nobu (Nobuyoshi Nakada)
06:11 AM Revision 9e955137 (git): parse.y: Remove unneeded var_field_1 trick
I thought this trick was needed because the result of var_field was
passed to different arguments, as follows:
```
$...
mame (Yusuke Endoh)
05:58 AM Revision a8a4bdb7 (git): parse.y: dot_or_colon as id
* parse.y (dot_or_colon): made type of `dot_or_colon` and EXPR_DOT
tokens to <id> and set those IDs at tokenization...
nobu (Nobuyoshi Nakada)
05:47 AM Revision 7efe4e08 (git): parse.y: moved excessed_comma
* parse.y (block_param): embed excessed_comma event result in
place of rest argument, instead of dispatching with t...
nobu (Nobuyoshi Nakada)
05:39 AM Revision 0b859420 (git): dsl.rb: p
* ext/ripper/tools/dsl.rb (DSL#initialize): define `p` for `struct
parser_params *p`.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
05:39 AM Revision b5be3e78 (git): dsl.rb: ID constants
* ext/ripper/tools/dsl.rb (DSL#method_missing): expand ID
constnats without parentheses.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
05:39 AM Revision b54f2add (git): dsl.rb: const_missing
* ext/ripper/tools/dsl.rb (DSL.const_missing): define to expand
Qnil and Qundef as-is.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
05:39 AM Revision 23830ab9 (git): dsl.rb: indent
* ext/ripper/tools/dsl.rb (DSL#generate): indent after surrounding
by braces.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
04:18 AM Revision 4680cecd (git): [ci skip] tabify
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
03:16 AM Revision 782236e3 (git): add missing/nan.c
instead of scattering #ifdef HAVE_NANF here and there define our
own nan() unless defined elsewhere.
git-svn-id: s...
shyouhei (Shyouhei Urabe)
02:51 AM Feature #14370: Directly mark instruction operands and avoid mark_ary usage on rb_iseq_constant_body
ko1 (Koichi Sasada) wrote:
> Cool.
>
> Did you verify the references between your patch and current implementatio...
tenderlovemaking (Aaron Patterson)
01:24 AM Revision 76b609c8 (git): parse.y (yycompile0): check if accepted
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:34 AM Feature #14377: Improve documentation for `OpenSSL::X509::Store#verify_callback=` and `OpenSSL::SSL::SSLContext#verify_callback=`
In case it's relevant, certs were generated using
```
openssl req -x509 -newkey rsa:4096 -sha512 -nodes -keyout s...
graywolf (Gray Wolf)

01/19/2018

11:00 PM Feature #14377 (Rejected): Improve documentation for `OpenSSL::X509::Store#verify_callback=` and `OpenSSL::SSL::SSLContext#verify_callback=`
I'm trying to use `OpenSSL::X509::Store#verify_callback=` to ignore all error during certificate validation, which ac... graywolf (Gray Wolf)
10:54 PM Bug #14376 (Closed): OpenSSL::X509::Store#verify_callback= requires Qtrue, not just truthy
`OpenSSL::X509::Store#verify_callback=` must return `true` exactly, not just anything truthy. Switching the check in ... graywolf (Gray Wolf)
09:31 PM Bug #14375: 3 Spec failures building MinGW 2018-01-19 trunk 61950
@Eregon,
Attached are three files (one patch, and two spec files from repo). Changes allow it to pass on MinGW. ...
MSP-Greg (Greg L)
05:36 PM Bug #14375 (Closed): 3 Spec failures building MinGW 2018-01-19 trunk 61950
Below are the results of spec tests for 61964. The previous build, `ruby 2.6.0dev (2018-01-19 trunk 61949) [x64-ming... MSP-Greg (Greg L)
06:55 PM Revision c151679c (git): r61950 changes mode_t to ushort on FreeBSD and Darwin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:29 PM Revision c4380069 (git): parse.y (assignable): Remove macro hell
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
05:06 PM Revision a403faa1 (git): parse.y: Split the path of assignable to Ripper/Parser
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
04:28 PM Revision d0b094b0 (git): parse.y: Remove double meaning of node_assign
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
04:24 PM Revision 193b158b (git): parse.y: Remove double meaning of backref_assign_error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
03:43 PM Revision a64054cd (git): parse.y: Remove unneeded type decls for Ripper
I think that they are not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61964 b2dd03c8-39d4-4d8f-98ff-823f...
mame (Yusuke Endoh)
03:22 PM Revision 2a628a43 (git): * 2018-01-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:22 PM Revision c141a0f7 (git): parse.y: swap `foo!` and `foo` in Ripper DSL
`foo!(...)` means Ripper event, and `foo(...)` means C function/macro
call. This is for fail-safe; if I forget `!` a...
mame (Yusuke Endoh)
02:55 PM Feature #14371: New option "recursive: true" for Hash#transform_keys!
https://github.com/nobu/ruby/tree/feature/14371-transform_keys-recursive nobu (Nobuyoshi Nakada)
02:50 PM Revision 25205cf8 (git): test_io.rb: avoid OOM
* test/ruby/test_io.rb (TestIO#test_copy_stream_socket7): reduce
memory usage so the worker process will not die by...
nobu (Nobuyoshi Nakada)
01:41 PM Revision f1b69648 (git): parse.y: assign to $$
* parse.y (command): assign to $$. should not rely upon
undocumented behavior.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
01:36 PM Revision e82059ce (git): parse.y: fix up r61957, too
My apologies!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
01:25 PM Revision 70321a23 (git): parse.y: fix up r61957
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:11 PM Revision bf7621d8 (git): parse.y: Allows Ripper DSL to embed C function calls as `foo!`
Instead of `_foo`. This makes it useful to do word boundary search of
the editor.
git-svn-id: svn+ssh://ci.ruby-lan...
mame (Yusuke Endoh)
12:15 PM Revision 814daf85 (git): Fix warning
``lib/net/protocol.rb:214: warning: `*' interpreted as argument prefix``
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
znz (Kazuhiro NISHIYAMA)
11:10 AM Revision f8dd91e6 (git): parse.y: Remove new_command
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
11:10 AM Revision b1746e9e (git): ext/ripper/tools/preproc.rb: Remove `/*%c%` handling
It was replaced with `/*% ripper[brace]: ... %*/`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61954 b2dd03c8-3...
mame (Yusuke Endoh)
10:48 AM Revision 340dc036 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:48 AM Revision 9b7fe0a2 (git): ext/ripper: Introduce a simple DSL for ripper.y code generation
Currently, parse.y actions are hard to read and write because the code
has double meaning (for core parser and for ri...
mame (Yusuke Endoh)
10:26 AM Revision 9eb4344a (git): parse.y: Fix excessed_comma event
I believe that the assignment to `$$` was just forgotten.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61951 b2...
mame (Yusuke Endoh)
09:12 AM Revision de9d2640 (git): there is no guarantee that mode_t is as wide as int
POSIX only defines mode_t to be "an integer typea", and in fact
MacOS defines it to be uint16_t. We didn't have NUM2...
shyouhei (Shyouhei Urabe)
08:24 AM Bug #14374 (Closed): `for` does not splat elements
In general, it is said that `for` statement and `each` method call are similar, except for the scope of loop variabl... nobu (Nobuyoshi Nakada)
08:17 AM Revision 26b08ed1 (git): don't abuse RSTRING_PTR (2nd try)
r61827, r61947 was about to fix this. The proper way to allocate
memory region is called ALLOCV_N.
git-svn-id: svn+s...
shyouhei (Shyouhei Urabe)
07:16 AM Revision 66bd6ffc (git): svn merge -c -61947 .
Previous commit fails in CI.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61948 b2dd03c8-39d4-4d8f-98ff-823fe6...
shyouhei (Shyouhei Urabe)
07:07 AM Revision 40b95f08 (git): don't abuse RSTRING_PTR
r61827 was about to fix this. The proper way to allocate memory
region is called ALLOCV_N.
git-svn-id: svn+ssh://ci....
shyouhei (Shyouhei Urabe)
05:18 AM Revision 00d0bef7 (git): there is no such thing like 0 in enum defined_type
introduce new enum for it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
04:23 AM Revision 12c0cc01 (git): vm_args.c: fix KW_SPECIFIED_BITS_MAX
* vm_args.c (KW_SPECIFIED_BITS_MAX): subtracted 1bit for
FIXNUM_FLAG. [ruby-core:84921] [Bug #14373]
* vm_insnhel...
nobu (Nobuyoshi Nakada)
03:59 AM Revision 350c2ac4 (git): avoid goto
gcc -Wjump-misses-init warns this goto. That is a false alert.
However why on earth do we need to use goto here?
gi...
shyouhei (Shyouhei Urabe)
03:57 AM Revision 568a5f64 (git): ruby_gc_debug_indent needed only when RUBY_MARK_FREE_DEBUG
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
03:55 AM Revision 5fef2139 (git): st_hashtype_num marked as static
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
03:19 AM Revision e92684da (git): variable succ_index_table never actually used
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
03:10 AM Feature #14183: "Real" keyword argument
It’s not clear for me all the implications of this change.
Would it be possible to exemplify the before and after be...
dsferreira (Daniel Ferreira)
03:09 AM Bug #14373 (Closed): Methods with more than 32 keyword arguments with default values have some of the arguments set to default despite being passed in.
Applied in changeset trunk|r61940.
----------
vm_insnhelper.c: fix many keyword arguments
* vm_insnhelper.c (vm_che...
nobu (Nobuyoshi Nakada)
03:09 AM Revision fb839332 (git): vm_insnhelper.c: fix many keyword arguments
* vm_insnhelper.c (vm_check_keyword): if the index exceeds the
width of unspecified bits, that argument is specifie...
nobu (Nobuyoshi Nakada)
02:36 AM Revision 828998bc (git): vm_insnhelper.c: should invert unspecified flag
* vm_insnhelper.c (vm_check_keyword): invert unspecified value
flag as `checkkeyword` result. fix up r58390.
git-...
nobu (Nobuyoshi Nakada)
02:16 AM Feature #14370: Directly mark instruction operands and avoid mark_ary usage on rb_iseq_constant_body
Cool.
Did you verify the references between your patch and current implementation?
You can have two sets of ref...
ko1 (Koichi Sasada)
01:59 AM Feature #14336: Create new method String#symbol? and deprecate Symbol class
matz (Yukihiro Matsumoto) wrote:
> rosenfeld (Rodrigo Rosenfeld Rosas), that sounds like if the de-facto JSON libr...
dsferreira (Daniel Ferreira)
12:58 AM Feature #14336: Create new method String#symbol? and deprecate Symbol class
matz (Yukihiro Matsumoto) wrote:
> @rosenfeld, that sounds like if the de-facto JSON library can automatically conve...
jeremyevans0 (Jeremy Evans)
12:39 AM Feature #14336: Create new method String#symbol? and deprecate Symbol class
@rosenfeld, that sounds like if the de-facto JSON library can automatically convert map keys to symbols, most of the ... matz (Yukihiro Matsumoto)
01:45 AM Revision 3ca0948f (git): INFINITY is float. That of double is HUGE_VAL.
It seems HUGE_VAL is already used. Why not eliminate INTINITY.
NAN is also float. That of double is called nan(). Thi...
shyouhei (Shyouhei Urabe)
 

Also available in: Atom