Activity
From 01/18/2018 to 01/24/2018
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... -
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... -
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... -
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... -
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...
-
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... - 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... - 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... -
09:41 PM Feature #14392: Pipe operator
- shevegen (Robert A. Heiler) wrote:
> No |> though.
Hi Robert, many thanks for the extensive comment.
The idea... -
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... -
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 ... -
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... -
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... -
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... -
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... -
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... -
02:47 PM Feature #14392: Pipe operator
~~~ ruby
class Foo
private def bar(var)
puts “Hello #{var}!”
end
def baz(arg)
bar(arg)
e...-
02:43 PM Feature #14392: Pipe operator
- We already have `yield_self` (2.5+) exactly for this.
```ruby
class Foo
##
# Bar public method.
def... -
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 ... -
09:28 PM Feature #14396 (Rejected): public, protected and private should return their arguments instead of self
- 誤ってruby-devに投げてしまったのでこっちは閉じます。
[Feature #14397] を参照。 -
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 ... -
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... -
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.
-
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... - 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 ... -
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... -
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... -
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... - 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
- 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
-
05:49 PM Bug #14376: OpenSSL::X509::Store#verify_callback= requires Qtrue, not just truthy
- Please close in favor of #14377.
-
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... -
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... -
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...
-
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... -
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... -
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... -
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... -
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... -
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...
-
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...
-
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... -
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,...
-
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... -
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... -
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... -
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-... -
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. -
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
-
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.
-
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... -
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... -
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... -
12:57 PM Bug #14391 (Closed): Integer#digitsが遅い
- Integer#digitsが遅い
大きなIntegerのdigitsがto_sと比べてかなり遅い(計算量のオーダーが違う)ようです。
~~~ ruby
(9999**9999).to_s.chars.map(&:to_... -
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
>... -
11:58 AM Bug #14389: Reflected XSS
- The twitter link above gives me "This account's Tweets are protected.", just
for your information. -
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%... -
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...
-
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
... -
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 ... -
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, ...
-
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... -
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.
-
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.... -
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... -
08:36 AM Bug #4443: odd evaluation order in a multiple assignment
- 関連すると思われるささださんの昔のメールを見つけました: ruby-dev:31579
```
1) 右辺が重複しないローカル変数の列だったら今まで通り
(副作用はないので問題ない)
2) そうじゃなければ,色々コストを... -
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 ... -
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 ... -
08:14 AM Bug #14388 (Closed): 不正エンコーディング文字列から切り出した正当なエンコーディング文字列が invalid encoding になる
- ~~~ ruby
data = "\xFFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
p data.encoding #=> #<Encoding:UTF-8>
p data... -
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.
-
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... -
08:02 AM Bug #14380 (Assigned): Expected transform_keys! to work just as transform_keys, but it doesn't
-
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... -
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...
-
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.
-
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... -
05:59 AM Feature #13969: Dir#each_child
- Agreed.
Matz.
-
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... -
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
-
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.
-
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... -
06:00 AM Feature #14223: Refinements で定義した #to_proc が &hoge 時に呼ばれないのを緩和する提案
- 良さそうに思えます。取り込んでみましょう。
Matz.
-
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).... -
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... -
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.
-
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... -
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... -
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 のバージョンによって、再帰が止められ... -
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
-
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... -
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...
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
... -
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... -
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... -
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... -
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... -
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...
-
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?
... -
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... -
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... -
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... -
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 ... -
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... -
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... -
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... -
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.... -
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... -
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 `+`, `-`,... -
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.
... -
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... -
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 ...
-
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... -
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(:... -
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?... -
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... -
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... -
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... -
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....
-
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... -
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... -
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... -
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 ... -
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?
>
> ... -
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... -
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... -
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...
-
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] ?
>
>... -
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... -
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 ... -
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... -
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 ...
-
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... -
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...
-
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 ... -
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.
-
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_... -
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
... -
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... - 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
-
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.... -
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
-
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` ? -
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... -
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...
-
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. -
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
-
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
-
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... - 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
-
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
-
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 ...
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...
-
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... -
01:12 PM Feature #14382: Make public access of a private constant call const_missing
- Isn't Module#deprecate_constant specifically for this usage?
-
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...
-
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
-
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. -
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... -
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... -
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]... -
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... - 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... - 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... -
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.
-
12:22 AM Feature #8497 (Rejected): private, protected, private_constなどがブロックを受け取るようにする
- #3753 で`private def ...`と書けるようになって必要なくなったので閉じます。
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" :
> ... -
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_... -
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. - 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
-
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
-
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
-
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.
-
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...
-
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... -
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... -
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
-
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
-
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
-
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... -
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... -
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
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... - 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,... -
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... -
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} #=> ... -
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... -
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
-
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
-
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... -
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... -
12:46 PM Bug #14379 (Closed): Exit code 3 when running the sass compiler
- Seems #14047.
-
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...
-
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... -
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... -
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... -
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
-
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
-
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
-
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
- 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
-
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
-
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...
-
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 ... -
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... -
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...
-
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... -
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).... -
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... -
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... -
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... -
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... -
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:
```
$... -
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... -
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... -
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... -
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.... -
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... -
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... -
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
-
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... -
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... -
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
-
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...
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...
-
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 ...
-
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. ... -
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...
-
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
-
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
-
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
-
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
-
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
-
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... - 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
-
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... -
02:55 PM Feature #14371: New option "recursive: true" for Hash#transform_keys!
- https://github.com/nobu/ruby/tree/feature/14371-transform_keys-recursive
-
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... -
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... -
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 -
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
-
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... -
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... -
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
-
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... - 10:48 AM Revision 340dc036 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
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... -
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... -
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... -
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...
-
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... -
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... -
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.... -
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 -
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... -
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... -
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
-
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
-
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
-
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... -
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... -
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... -
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-... -
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... -
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... -
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... -
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 ...
-
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...
01/18/2018
-
09:34 PM Bug #14372: Memory leak in require with Pathnames in the $LOAD_PATH in 2.3/2.4
- I did a small change to see how the number of Pathnames in the `$LOAD_PATH` changes the leak amount at the script's c...
-
05:16 PM Bug #14372: Memory leak in require with Pathnames in the $LOAD_PATH in 2.3/2.4
- It's worth mentioning that more `Pathname` objects in the `$LOAD_PATH` may make this leak worse as even on ruby 2.5.0...
-
04:57 PM Bug #14372 (Closed): Memory leak in require with Pathnames in the $LOAD_PATH in 2.3/2.4
- There is a memory leak that we have found on ruby 2.3.6 and 2.4.3 that happens on Mac OSX and Linux. Ruby 2.2.6 and ...
-
06:53 PM Feature #14370: Directly mark instruction operands and avoid mark_ary usage on rb_iseq_constant_body
- normalperson (Eric Wong) wrote:
> [email protected] wrote:
> > I was concerned that this patch might impact... -
06:33 PM Bug #14373: Methods with more than 32 keyword arguments with default values have some of the arguments set to default despite being passed in.
- I ran the code and indeed, this is very strange behaviour.
The bigget surprise to me was the "prints nothing in 2.... -
05:23 PM 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.
- ~~~ ruby
class Test
# 33 keyword arguments
def test1(a0: '', a1: '', a2: '', a3: '', a4: '', a5: '', a6: '', ... - 03:48 PM Revision 09b4d6e8 (git): * 2018-01-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:48 PM Revision 823a4fe7 (git): compile.c: use ALLOCV_N
- * compile.c (ibf_dump_object_list): allocate known-size array by
ALLOCV_N instead of rb_ary_tmp_new.
git-svn-id: s... -
12:54 PM Revision ce7ad3a8 (git): Use already casted variable
- r61883
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:54 PM Revision 646db52f (git): [DOC] Add `Array#{append,prepend}` to call-seq [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:19 PM Feature #14371: New option "recursive: true" for Hash#transform_keys!
- I agree with the proposal.
If it is approved, please do not forget meaningful documentation + perhaps
at the leas... -
05:59 AM Feature #14371: New option "recursive: true" for Hash#transform_keys!
- > Why prefer `each` over `transform_keys!`?
> And probably you wanted to write `elsif`.
Your points are correct. ... -
05:56 AM Feature #14371: New option "recursive: true" for Hash#transform_keys!
- tagomoris (Satoshi TAGOMORI) wrote:
> ```ruby
> if v.respond_to?(:each)
> else v.respond_to?(:transform_ke... -
05:29 AM Feature #14371 (Rejected): New option "recursive: true" for Hash#transform_keys!
- `Hash#transform_keys!` is available when we want to symbolize hash keys.
But in some/many cases (for example, receiv... -
11:44 AM Revision ef9bc609 (git): Fix typos.
- * rememberd -> remembered
* refered -> referred
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61933 b2dd03c8-3... -
11:34 AM Revision 37f0d532 (git): marked as NORETURN
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 9e746a35 (git): rb_global_tbl marked as static
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 8fca7e00 (git): rb_parser_lex_state_names marked as static
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 39f0269b (git): usage analysis functions marke as static
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision f5e3ddf2 (git): vm_super_outside marked as NORETURN
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision edb413ff (git): vm_stackoverflow marked as NORETURN
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 0c932244 (git): raise_closed_queue_error marked as NORETURN
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 3b787be5 (git): rb_threadptr_to_kill marked as NORETURN
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 9d792adb (git): sigill marked as NORETURN
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 856496bf (git): ruby_abort marked as NORETURN
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 31358b47 (git): sigsegv marked as NORETURN
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 4aff8e73 (git): sigbus marked as NORETURN
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision cdff88b8 (git): rb_reg_raise_str marked as NORETURN
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 86915152 (git): rb_enc_reg_raise marked as NORETURN
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 8bc36159 (git): rb_reg_enc_error marked as NORETURN
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision f41b1d07 (git): rb_reg_raise marked as NORETURN
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 193b85a9 (git): num_funcall_op_1_recursion marked as NORETURN
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 29b0b75b (git): long_toobig marked as NORETURN
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision ebe0247c (git): dir_closed marked as NORETURN
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 213782d0 (git): ibf_dump_object_unsupported marked as NORETURN
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 414c0901 (git): -Wmissing-noreturn
- This is the -Wsuggest-attribute=noreturn equivalent option for clang.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
09:44 AM Revision 449cceb8 (git): merge extern declarations into internal.h
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 8fc054fd (git): export transcode exceptions
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 2950cb06 (git): export rb_mProcGID, rb_mProcUid, rb_mProcID_Syscall
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision f64c6997 (git): export rb_mFConst
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 3cc4559c (git): export ruby_mWarning
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 8dc9ecfe (git): export rb_cLazy
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 585a2131 (git): sort lines
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:59 AM Revision 001212b9 (git): vm_eval.c: for auto-indent
- * vm_eval.c (rb_type_str): moved `case`s and semicolons so auto
indentation works.
git-svn-id: svn+ssh://ci.ruby-l... -
07:53 AM Revision 440a6476 (git): eval_intern.h: duplicate check
- * eval_intern.h (pass_passed_block_handler): remove duplicate
check. vm_block_handler_verify() is called in the su... -
04:42 AM Bug #14232: Unused refinement still breaks method search
- You cannot refine Module on 2.3.x.
I set DONTNEED for 2.3. -
04:37 AM Bug #14366: Not possible to compile ruby C extension when using `-std=c90`
- It your ruby is compiled with that option, `long long` should not be used.
-
04:05 AM Feature #14362: use BigDecimal instead of Float by default
- You can write "exact" number by `1.2r`.
-
03:53 AM Revision 04de75bf (git): extend timeout more
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:42 AM Bug #14361 (Closed): Segmentation fault when array includes two nil's without a comma between them: [nil nil, nil]
-
03:37 AM Revision b2feea29 (git): parse.y: no longer undef assignable
- * parse.y (assignable): no longer needs to undef since r61899.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@619... -
03:29 AM Revision e6883ef6 (git): parse.y: fix overflow
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:25 AM Revision 257fbc2c (git): parse.y: REQUIRED_KEYWORD
- * parse.y (REQUIRED_KEYWORD): special argument for required
keyword argument, for core and ripper.
git-svn-id: svn... -
03:09 AM Bug #14369 (Closed): Win32::Resolv.get_hosts_path may return nil, causing Resolv to fail
- Applied in changeset trunk|r61898.
----------
resolv.rb: NUL hosts
* lib/resolv.rb (Resolv::Hosts::DefaultFileName)... -
03:01 AM Bug #14369: Win32::Resolv.get_hosts_path may return nil, causing Resolv to fail
- What configuration causes it?
No TCP/IP stack? -
03:09 AM Revision 456dc174 (git): resolv.rb: NUL hosts
- * lib/resolv.rb (Resolv::Hosts::DefaultFileName): fallback to NUL
device when Win32::Resolv.get_hosts_path() return... -
02:44 AM Revision fa5870b9 (git): resolv: use safe navigation operator
- * lib/resolv.rb (each_address): use safe navigation operator to
avoid extra hash lookups, as well as each_name sinc... -
01:27 AM Revision fcb112a1 (git): marshal.c: initialize keywords
- * marshal.c (r_object0): initialize `keywords` and removed
`keyword_init` flag, to get rid of maybe-uninitialized w... -
01:10 AM Revision 1c98a41a (git): win32/resolv.rb: call rb_w32_osid
- * ext/win32/lib/win32/resolv.rb: call rb_w32_osid instead of
direct GetVersionExA API.
git-svn-id: svn+ssh://ci.ru... - 12:52 AM Revision f729089f (git): logger: use safe navigation operator
- Saves a few hundred bytes of bytecode in a frequently loaded module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
Also available in: Atom