Activity
From 04/11/2019 to 04/17/2019
04/17/2019
-
05:34 PM Bug #15774 (Closed): OptionParser doesn't accept Date options as stated in the docs
- The documentation for OptionParser states that Date, Time and DateTime are supported types for automatic coertion, however, it raises an error if any of those types are provided to the "on" method: "unsupported argument type: Date".
E... -
02:09 PM Misc #15723: Reconsider numbered parameters
- jeremyevans0 (Jeremy Evans) wrote:
> waheedi (Waheed Barghouthi) wrote:
> ...
Crystal clear. Thanks for the explanation once more.
-
12:59 PM Misc #15723: Reconsider numbered parameters
- waheedi (Waheed Barghouthi) wrote:
> But why it can't be like this? `@[0]` I think its more clear, just saying.
If you mean that you would like the intended behavior to be:
```ruby
proc{@[0]}.call(1,2)
# => 1
```
You would o... -
12:34 PM Misc #15723: Reconsider numbered parameters
- jeremyevans0 (Jeremy Evans) wrote:
> As I expressed in the developer meeting today, after a lot of thought, I believe if we want to support implicit block arguments, we should limit support to a single argument, and use `@` to represent... -
12:13 PM Misc #15723: Reconsider numbered parameters
- As I expressed in the developer meeting today, after a lot of thought, I believe if we want to support implicit block arguments, we should limit support to a single argument, and use `@` to represent the argument.
As Marc showed, bloc... -
01:20 PM Revision 286f0b8a (git): Added rubygems and bundler entries.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:41 AM Revision 82835333 (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:41 AM Revision 744e5df7 (git): Reverting compaction for now
- For some reason symbols (or classes) are being overridden in trunk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:24 AM Revision f399134e (git): NEWS: note about recent changes around JIT [ci skip]
- This diff is backported from the upcoming preview release note.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:53 AM Revision 0f31971a (git): Suppress warning in assertion too
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:42 AM Feature #15741: Ordinal parameters
- You make localisation a problem of the language syntax. For example, in the original code: `2rd` is actually not correct, it should be `2nd`. Other localisations are even more complicated, e.g. Russian.
-
08:39 AM Revision a2366a15 (git): Suppress warnings in `make test-all`
- suppress "warning: Pattern matching is experimental, and the behavior may change in future versions of Ruby!"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:27 AM Feature #15752: A dedicated module for experimental features
- I think it's a good idea to reserve a namespace globally shared among Ruby implementations, even if it's up to each implementation whether to follow individual features proposed by other implementations.
-
08:19 AM Feature #15752: A dedicated module for experimental features
- Using a plural constant name sounds like a good idea because it wouldn't likely conflict with existing model names. 😄
-
07:35 AM Revision ffbcf9f8 (git): downloader.rb: enable cache files
- * tool/downloader.rb (Downloader::Unicode.download): enable cache
files when index.html has not been modified since the previous
download, even if beta version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67594 b2dd03c8-39d4-4... -
07:35 AM Revision c576f140 (git): common.mk: download data and property files together
- * common.mk (update-unicode-files): download data and property
files together, not to download index html twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:15 AM Revision bd698312 (git): Fix the format of NODE_IN node
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:09 AM Revision 5141398f (git): downloader.rb: use File.read instead of IO.read
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:09 AM Revision 8e6c1a18 (git): common.mk: update auxiliary and emoji files
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:48 AM Revision fc9f19ab (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:48 AM Feature #14912 (Closed): Introduce pattern matching syntax
- Applied in changeset trunk|r67586.
----------
Introduce pattern matching [EXPERIMENTAL]
[ruby-core:87945] [Feature #14912] - 06:48 AM Revision da8cd2dc (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:48 AM Revision 9c9db64d (git): Define Struct#deconstruct
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:48 AM Revision 9738f96f (git): Introduce pattern matching [EXPERIMENTAL]
- [ruby-core:87945] [Feature #14912]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:16 AM Revision b077654a (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:16 AM Revision 281a22a3 (git): Super should be marked regardless of whether or not ext exists
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:13 AM Revision 7bd58a4e (git): update super even if there is no ext
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:34 AM Revision e1eb54b9 (git): string.c: improve splitting into chars
- * string.c (rb_str_split_m): improve splitting into chars by an
empty string, without a regexp.
Comparison:
to_chars-1
built-ruby: 1273527.6 i/s
compare-ruby: 189423.3 i/s ... -
05:19 AM Revision 62c07674 (git): make verification more strict
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:05 AM Feature #14183: "Real" keyword argument
- With Jeremy's proposal, I think there is no need to support non-Symbol keywords.
I think in the case of ActiveRecord or Sequel's #where, the method doesn't need to accept keywords, it can just accept a Hash.
This Hash might contain num... -
04:05 AM Revision dbc9f43c (git): call verification method in addition to compaction
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:17 AM Revision c54f9a5b (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:17 AM Revision aee9f249 (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:17 AM Revision 3c55b643 (git): Adding `GC.compact` and compacting GC support.
- This commit adds the new method `GC.compact` and compacting GC support.
Please see this issue for caveats:
https://bugs.ruby-lang.org/issues/15626
[Feature #15626]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67576 b2dd03c8-39d... -
01:03 AM Misc #15459: DevelopersMeeting before/after RubyKaigi2019
- [Feature #15765] `Module#name` without global constant search
- Looking for feedback
[Bug #15645] It is possible to escape `Mutex#synchronize` without releasing the mutex
- The suggestion posted as a comment seems to make sense....
04/16/2019
-
11:19 PM Feature #14701: If the object is not frozen, I want to be able to redefine the compound assignment operator.
- I agree with @shyouhei.
I think it breaks fundamental semantics of Ruby.
An explicit `add` or `add!` is I believe a good sign of the danger of mutating numeric values in place,
and with that we can still guarantee `+=` is safe and rea... -
11:12 PM Bug #15773 (Rejected): Net::HTTP doesn't try next IP address in case of timeout
- This example requires to have a working IPv6 address. Since IPv6 is used in first priority, I am using it to demonstrate the problem, but it exists with plain IPv4, which will be more round-robin-style, so less deterministic to show a re...
-
05:24 PM Misc #15459: DevelopersMeeting before/after RubyKaigi2019
- > 16:00-16:30 (5) new built-in class/method definition (ko1)
Sorry I couldn't make a new ticket about it. I write my idea here.
My RubyKaigi 2019 slide introduce this idea: http://www.atdot.net/~ko1/activities/2019_rubykaigi2019.pd... -
03:07 PM Misc #15459: DevelopersMeeting before/after RubyKaigi2019
- [Feature #15772] Proposal: Add `Time#ceil`
* I want to hear the opinions of developers.
[Feature #13645] Syntactic sugar for indexing when using the safe navigation operator
* I presented a use case. -
08:44 AM Misc #15459: DevelopersMeeting before/after RubyKaigi2019
- > 12:00-13:20 door open.
My flight will arrive Fukuoka 11:35. So it seems difficult to open at 12:00. It depends on real flight schedule.
If I'm not available please take a sheet in a place (there are some chairs at 5F, Fukuoka Ruby ... -
05:02 PM Revision fcd679ed (git): Recompile without method inlining
- if cancel happens in an inlined method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:02 PM Revision d71b7857 (git): Introduce frame-omitted method inlining
- for ISeq including only leaf and no-handles_sp insns except leaf.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:01 PM Revision b914166f (git): * 2019-04-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:01 PM Revision b0614dec (git): Implement single-level basic method inlining in JIT
- "Basic" means it does not omit a call frame.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:03 PM Feature #15772 (Closed): Proposal: Add Time#ceil
- ## Summary
proposal for a method that rounds up the decimal part of `Time` (nanosecond) to the specified digit.
## Current status
* `Time#round` and `Time#floor` (https://bugs.ruby-lang.org/issues/15653) are defined.
* Howeve... -
03:00 PM Feature #13645: Syntactic sugar for indexing when using the safe navigation operator
- hi. I would like to use `hash&.[key]` (or `hash&[key]` ) in following cases as below.
```ruby
class X
def initialize
@hash = { a: 1, b: 2, c: 3 }
end
def [](key)
@hash[key]
end
end
def get(key)
x = Symb... -
10:05 AM Bug #15764: Whitespace and control characters should not be permitted in tokens
- There may be a question as to what to do with encodings other than UTF-8. I see three possibilities:
1) Ignore (i.e. leave as is), because who still uses them?
2) Use a rule based on character properties such as letter and digit th... -
07:33 AM Bug #15768 (Closed): "and", &&, boolean issue, different ruby versions, confusing
- This is per spec as explained, so I'm closing it.
If you should want to change it, please create a feature request, and explain in detail what the change would do and how it would be backwards compatible. -
04:42 AM Feature #15771 (Feedback): Add `String#split` option to set `split_type string` with a single space separator
- When `String#split`'s separator is a single space character, it executes under `split_type: awk`.
When you want to split literally by a single space `" "`, and not a sequence of space characters, you need to take special care. For exa... -
04:33 AM Bug #15360: "ThreadError: deadlock; recursive locking" error when recursive lock shouldn't be possible
- https://github.com/ruby/ruby/pull/2131
- 12:02 AM Revision 69418c9f (git): * 2019-04-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:02 AM Revision fc275b2a (git): Mention SNI support in Net::IMAP
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/15/2019
- 11:58 PM Revision dcf5c19c (git): * 2019-04-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:58 PM Revision 3f7c6aea (git): Mention SNI support in Net::IMAP
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:57 PM Bug #15770 (Closed): CSV skip_lines param affects data
- Thanks for your report.
csv 3.0.9 has been backported to 2.6 branch recently. So the next 2.6 includes the fix of this. -
11:21 AM Bug #15770 (Closed): CSV skip_lines param affects data
- It works on 2.5.\*, but doesn't work on 2.6.\*
```
require 'csv'
require 'date'
counter = 0
CSV.foreach('./05-31-20.CSV', skip_lines: /^[^0-9]{4}/) do |row|
time = row[0]
p time if time.length < 23
counter += 1
end... -
02:42 PM Revision 872a0925 (git): merge revision(s) 67561:
- Import CSV 3.0.9
This fixes test failures on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:38 PM Revision e68495e5 (git): Carve out mjit_compile_body
- This refactoring is needed for implementing inlining later.
I've had this since long ago and it has conflicted sometimes. So let me
just commit this now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67566 b2dd03c8-39d4-4d8f-98ff-82... -
02:15 PM Bug #15768: "and", &&, boolean issue, different ruby versions, confusing
- > && and and are NOT synonyms.
The old pickaxe made that clear too, like in 2004 already or so.
Perhaps the official documentation could mention this more clearly. Admittedly
I knew about this primarily (and initially) because I r... -
12:39 PM Bug #15768: "and", &&, boolean issue, different ruby versions, confusing
- It is a conscient (though controversial according to some) design decision, borrowed from Perl.
`&&` and `and` are NOT synonyms. `&&`/`||` are boolean operators, while `and`/`or` are control-flow operators.
Demonstrated behavior is u... -
11:32 AM Bug #15768: "and", &&, boolean issue, different ruby versions, confusing
- I think there's two things confusing you here.
Firstly, `v1 = true and false` is `((v1 = true) and false)`, while `v2 = true && false` is `(v2 = (true && false))`. `--dump=parser` will tell you this.
Secondly, when you do `v1 = tru... -
10:01 AM Bug #15768: "and", &&, boolean issue, different ruby versions, confusing
- does it have something to do with different precendence?
https://ruby-doc.org/core-2.6.2/doc/syntax/precedence_rdoc.html
-
09:45 AM Bug #15768 (Closed): "and", &&, boolean issue, different ruby versions, confusing
- Just caught this:
``` ruby
# version 2.5.1, Mac OS
v1 = true and false # => IRB: true
p v1 # => app.rb: true, IRB: false
v2 = true && false ... -
01:46 PM Bug #15769: Backport r67563: SNI is not enabled in Net::IMAP
- ruby_2_6 r67565 merged revision(s) 67563.
-
01:27 PM Bug #15769 (Closed): Backport r67563: SNI is not enabled in Net::IMAP
-
11:01 AM Bug #15769 (Closed): Backport r67563: SNI is not enabled in Net::IMAP
- Net::IMAP should enable SNI for it to be able to connect to SNI enabled servers like imap.gmail.com. (Gmail started to require SNI last year)
This problem is exposed when the underlying SSL library supports TLSv1.3, such as OpenSSL >=... -
01:36 PM Revision fb09ade6 (git): merge revision(s) 67560,67561:
- Import CSV 3.0.8
This includes performance improvements and backward incompatibility
fixes.
Import CSV 3.0.9
This fixes test failures on Windows.
Note that r67562's commit message is wrong.
git-svn-... -
01:33 PM Bug #15637: Backport RubyGems 3.0.3/2.7.9
- Hi htbt,
Thanks for fixing the vulnerability issues.
I have just a question.
In case I want to fix only CVE-2019-8324: Installing a malicious gem may lead to arbitrary code execution, applying the below commit is good enough, right?... -
01:27 PM Revision edb7ec21 (git): merge revision(s) 67563:
- Support SNI (Reapplying r67488)
This fixes connecting using TLS 1.3 to imap.gmail.com
[Fix GH-2077] [Feature #15594]
From: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
git-svn-id: svn+ssh://ci.ruby-lang.o... - 10:52 AM Revision 246723a3 (git): Support SNI (Reapplying r67488)
- This fixes connecting using TLS 1.3 to imap.gmail.com
[Fix GH-2077] [Feature #15594]
From: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:22 AM Revision b5aba69e (git): merge revision(s) 66720:
- separate downloading of Unicode property files and auxiliary files
Separate downloading of Unicode property files in ucd and in ucd/auxiliary.
This is needed because we need information from separate index.html files
... -
08:11 AM Bug #15767 (Closed): .rvm/rubies/ruby-2.4.4/lib/ruby/2.4.0/timeout.rb:86: [BUG] Segmentation fault at 0x000000010ae58a3a
- 13:35:39 web.1 | -- Crash Report log information --------------------------------------------
13:35:39 web.1 | See Crash Report log file under the one of following:
13:35:39 web.1 | * ~/Library/Logs/DiagnosticReports
13:35:... -
07:27 AM Feature #14701: If the object is not frozen, I want to be able to redefine the compound assignment operator.
- So far in ruby, a variable is _not_ an object. That is the reason behind why we lack ++ operator.
naitoh (Jun NAITOH) wrote:
> I want to write "a += 1" instead of "a.inplace + 1".
Is this enough for us to depart from where we are... -
06:57 AM Feature #14701: If the object is not frozen, I want to be able to redefine the compound assignment operator.
- I've talked with matz today.
matz said he is not objective as long as we can define good semantics.
One option is allowing to define `+=` operator, and if it is defined, call it. One concern is that it could cause slowness.
Another ... -
06:54 AM Feature #14701 (Open): If the object is not frozen, I want to be able to redefine the compound assignment operator.
-
04:27 AM Feature #15626: Manual Compaction for MRI's GC (`GC.compact`)
- Tested again w/ merged version of this patch. My "before" and "after" timings are within the margin of measurement error. I no longer see a performance regression. Thanks!
- 02:05 AM Revision 3791bdf0 (git): Import CSV 3.0.9
- This fixes test failures on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:01 AM Misc #15459: DevelopersMeeting before/after RubyKaigi2019
- > 12:00-13:20 door open. I (ko1) will be there with bento-lunch.
ko1 will be there with my own bento (to welcome you).
If you want to eat with me, please bring your own bento (lunch).
I heard that Fukuoka has very nice food restau...
04/14/2019
-
09:11 PM Bug #15766: Crash in 2.4, 2.5 involving at_exit
- Using a recent build (`ruby 2.5.5p157 (2019-03-15 revision 67260) [x64-mingw32]`), the code ran fine, or just like 2.6. I haven't checked on 2.4.
Using the current RubyInstaller release (`ruby 2.5.3p105 (2018-10-18 revision 65156) [x... -
03:17 PM Bug #15766 (Closed): Crash in 2.4, 2.5 involving at_exit
- Hello,
I've written a piece of code which reproducibly triggers a crash in some versions of Ruby (2.4 and 2.5, but not 2.2, 2.3 nor 2.6).
As this involves Minitest, I've started by filing a bug report on GitHub:
https://github... - 09:01 PM Revision e3b6c7c7 (git): Import CSV 3.0.8
- This includes performance improvements and backward incompatibility
fixes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:25 PM Revision fb96811d (git): Drop obsoleted debugging output [ci skip]
- I confirmed that it's working now in
https://dev.azure.com/rubylang/ruby/_build/results?buildId=396&view=logs&jobId=8c5967c9-8e3a-5773-c80c-34c55d5c3051
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67559 b2dd03c8-39d4-4d8f-98ff-823... - 03:13 PM Revision ad9c5c5d (git): * 2019-04-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:13 PM Revision 17b606d8 (git): Fix broken variable propagation on Azure
- It looks like the old definition was not working as intended...
https://dev.azure.com/rubylang/ruby/_build/results?buildId=394
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:50 PM Bug #15515 (Closed): OpenStruct raising NoMethodError instead of ArgumentError
- Merged. Thank you for your contribution!
- 01:47 PM Revision 816c5323 (git): OpenStruct: improve error message when passing wrong number of arguments.
- Patch by Lisa Ugray (issue #15515)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:42 PM Revision 1119bb47 (git): Debug bundled-gems allow_failures
- it seems not working in
https://dev.azure.com/rubylang/ruby/_build/results?buildId=392
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:29 PM Revision ead870d7 (git): Do not require Ruby 2.4 for baseruby
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:10 PM Revision b041cf55 (git): Fix missing debug counter name
- r67550 introduced the typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:49 PM Revision 009a0a38 (git): Avoid crash on logging GC-ed ISeq
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:40 PM Revision e45c9a40 (git): Do not execute MJIT copy job when ISeq is GC-ed
- I assumed that ISeq is never GC-ed by `in_jit` + `mjit_mark` on copy job
ISeq, but unfortunately I found SEGV on `mjit_copy_job_handler` in which
iseq->body was somehow Qnil. And it seems to be fixed by disabling the
job when `mjit_free_... -
12:25 PM Revision 12225347 (git): Share optimization cancel handlers
- $ benchmark-driver benchmark.yml --rbenv='before --jit;after --jit' -v --output=all --repeat-count=12
before --jit: ruby 2.7.0dev (2019-04-14 trunk 67549) +JIT [x86_64-linux]
after --jit: ruby 2.7.0dev (2019-04-14 trunk 67549) +JIT [x86_... -
09:31 AM Revision 04ac63fe (git): Prefer uintptr_t over ptrdiff_t for i686
- as debugged in PR
[close https://github.com/ruby/ruby/pull/2130]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:53 AM Revision c5570cf9 (git): Detect send-compatible opt insns automatically
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:33 AM Revision b75bb06e (git): Allow falling back to non-inlined opt_send_without_block
- for opt_aref with inline cache to minimize the possibility of JIT cancel.
Also opt_aset and opt_mod are added for the targets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:12 AM Revision 18b51482 (git): Add debug counter for MJIT stale_units
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:10 AM Revision f7035dd3 (git): Do not reset non-increment-only counters
- to prevernt underflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:57 AM Revision 5ce28c06 (git): Add RubyVM.reset_debug_counters when RB_DEBUG_COUNTER
- is defined. It's 0 by default and so it dissappears on actual build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:52 AM Revision 57f9a700 (git): Add more debug print for random CI failure on osx Travis
- see r67347
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:05 AM Revision 3ac518f9 (git): Enabled to some bundler examples again.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:03 AM Revision 2e8b9aba (git): Skip to failing examples on ruby core repository.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:02 AM Revision 59fa1232 (git): Added rspec dependency for bundler examples.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:01 AM Revision 68ddd4d3 (git): Merge Bundler 2.1.0.pre.1 as developed version from upstream.
- https://github.com/bundler/bundler/commit/a53709556b95a914e874b22ed2116a46b0528852
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:52 AM Revision d636809c (git): Revert "Try to set false explicitly"
- This reverts commit a1b5d20068a9b1859b383b249e510cd33d196e4a.
Revert "Revert "Skip recompiling tests on i686 Linux""
This reverts commit 7b88a9207b97b94bc3c3be35084c742296f4aff2.
Revert "Simplify matrix for debugging"
This reverts co... -
05:48 AM Revision a1b5d200 (git): Try to set false explicitly
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:48 AM Revision 7b88a920 (git): Revert "Skip recompiling tests on i686 Linux"
- This reverts commit 19513c88d5f923abb7f226520192aef9f3fcc1c7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:48 AM Revision e85d6c5c (git): Simplify matrix for debugging
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:40 AM Revision 661cefc5 (git): Fix typo in platform matcher
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:26 AM Revision fa13bb1a (git): Unify comment styles across MJIT sources
- I'm writing `//` comments in newer MJIT code after C99 enablement
(because I write 1-line comments more often than multi-line comments
and `//` requires fewer chars on 1-line) and then they are mixed
with `/* */` now.
For consistency a... -
05:26 AM Revision 19513c88 (git): Skip recompiling tests on i686 Linux
- somehow they are filing like
https://travis-ci.org/ruby/ruby/jobs/519830085
but they are not so fatal.
Let me just skip them for now and fix tests afterwards.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67532 b2dd03c8-39d4-4d8f-9... - 04:52 AM Revision d6d8fc24 (git): * 2019-04-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:52 AM Revision 9b6b4674 (git): Recompile JIT-ed code without optimization
- based on inline cache when JIT cancel happens by that.
This feature was in the original MJIT implementation by Vladimir, but on
merging MJIT to Ruby it was removed for simplification. This commit adds
the functionality again for the fol... -
01:12 AM Misc #15459: DevelopersMeeting before/after RubyKaigi2019
- Hi all,
I asked Matz and we fixed dev-meeting schedule:
* 12:00-13:20 door open. I (ko1) will be there with bento-lunch.
* 13:20-13:30 opening
* 13:30-14:00 (1) keyword arguments progress report (mame)
* 14:00-14:30 (2) static c...
04/13/2019
-
10:18 PM Revision 13718651 (git): merge revision(s) 66720:
- separate downloading of Unicode property files and auxiliary files
Separate downloading of Unicode property files in ucd and in ucd/auxiliary.
This is needed because we need information from separate index.html files
... -
10:04 PM Revision f020dffd (git): merge revision(s) 66737,66738,67413,67445,67446,67447,67448,67450,67451,67454:
- add logic to handle Unicode beta period file names
In downloader.rb, add logic to handle file names of the form
UnicodeData-12.0.0d6.txt. To find the right file, we download
the index of the directory. Then we do... -
03:14 PM Revision d6387f70 (git): merge revision(s) 66745,67397,67398,67399,67400,67409,67410,67411,67412,67425,67426,67473,67474: [Backport #15742]
- Bump version to date-2.0.0.
I forgot to change it when Ruby 2.6.0 was released.
date_parse.c: extract Japanese era initials
* expand tabs.
date_parse.c: removed 'r' which is not in JIS X 0301 yet
... -
03:01 PM Bug #15740: Backport Unicode Version 12.1.0 and other Japanese new era issues to Ruby 2.6
- ruby_2_6 r67525 merged revision(s) 67439,67441,67453,67476.
-
12:55 PM Bug #15740 (Closed): Backport Unicode Version 12.1.0 and other Japanese new era issues to Ruby 2.6
- 03:01 PM Revision d8cac330 (git): * 2019-04-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:01 PM Revision 69ec3936 (git): merge revision(s) 67439,67441,67453,67476: [Backport #15740]
- change lib/unicode_normalize/tables.rb to single item per line to make diffs shorter
* template/unicode_norm_gen.tmpl: Change formatting of output to produce only a
single item (or range) for each line to make future d... -
02:10 PM Misc #15459: DevelopersMeeting before/after RubyKaigi2019
- * [Feature #14912] Introduce pattern matching syntax
* I'd like to introduce latest specification, discuss about the details.
-
09:46 AM Misc #15459: DevelopersMeeting before/after RubyKaigi2019
- [Bug #15764] Whitespace and control characters should not be permitted in tokens
(This can and should be easily fixed, but I'd like Matz to give it a check.) -
10:14 AM Misc #15723: Reconsider numbered parameters
- jeremyevans0 (Jeremy Evans) wrote:
> I'm not sure what led you to this statement, as the feature does work with lambdas and methods:
> ...
Hmm, not obvious from description in the accepted feature request. By recent 2.7.0-dev implement... -
10:09 AM Misc #15723: Reconsider numbered parameters
- jeremyevans0 (Jeremy Evans) wrote:
> I'm not sure what led you to this statement, as the feature does work with lambdas and methods:
Well, only with `define_method` methods, not `def` methods, which are the huge majority:
```ruby
... -
08:08 AM Misc #15723: Reconsider numbered parameters
- dunrix (Damon Unrix) wrote:
> Existing solution for example breaks rule of the general approach, as it only works with (anonymous)blocks and procs, not with lambdas and methods which are strict in arguments. It only adds to fragmentatio... -
04:44 AM Misc #15723: Reconsider numbered parameters
- Don't you think it may be just the high time stop throwing yet-another of *half-baked hacks* and cease work on implementation & release of the #4475 feature, until other and more mature solution is found ?
It seems the whole concept o... -
09:51 AM Bug #15764: Whitespace and control characters should not be permitted in tokens
- I also think this is a bug. I have changed the category accordingly.
I think we should restrict the characters usable in identifiers to some reasonable ranges. I agree that we mainly want to focus on ASCII programs, but we should do a... -
06:18 AM Bug #15764: Whitespace and control characters should not be permitted in tokens
- I am not sure this is a bug, though. If it is a valid Unicode token then it should
work, so the behaviour would seem correct to me. Actually sawa made a similar comment
on SO - he is very active on the ruby bug tracker here too. :-)
... -
07:33 AM Bug #15760: OpenSSL::BN.new(nil, 2) dumps core
- ruby_2_6 r67524 merged revision(s) 67497,67498.
-
07:33 AM Revision c5f1c9e2 (git): merge revision(s) 67497,67498: [Backport #15760]
- ext/openssl/ossl_bn.c (ossl_bn_initialize): get rid of SEGV
OpenSSL::BN.new(nil, 2) dumped core.
[ruby-core:92231] [Bug #15760]
* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@6752... -
06:55 AM Revision 088df9c8 (git): Revert "GET_CFP and ec->cfp are different"
- This reverts commit 30f71f4768e0babc60f5be6ca235d2c40268bc27.
I've also overlooked we're doing RESTORE_REGS()...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:27 AM Revision 30f71f47 (git): GET_CFP and ec->cfp are different
- When reviewing r66565, I overlooked that `GET_ISEQ()` and `GET_EP()` are
NOT `ec->cfp->iseq` and `ec->cfp->ep` but `reg_cfp->iseq` and
`reg_cfp->ep`.
`vm_push_frame` updates `ec->cfp` and in this case we want to check the
callee's cfp a... -
06:03 AM Bug #15762 (Closed): Error compiling OpenSSL on Cygwin
- nobu (Nobuyoshi Nakada) wrote:
> No error occurred, maybe OpenSSL headers have changed since the previous build?
> ...
I'm not sure why, but this seems to have worked. Thanks a lot! -
05:19 AM Bug #15670: Ripper treats :"sym" as xstring
- This change broke a library preval https://github.com/kddeisz/preval/issues/1, and potentially also breaks other libraries that uses Ripper. Since this is an incompatible change for Ripper.sexp, I guess backport requires a loud changelog...
- 12:56 AM Revision e7f7aa87 (git): * 2019-04-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:56 AM Revision a73dae4c (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:56 AM Revision d3da5fbd (git): Proc.new: change deprecation warning for clarity (issue #15539)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:46 AM Bug #12548: Rounding modes inconsistency between round versus sprintf
- I came across this thread now, because I've noticed that sprintf's behavior has actually changed in Ruby 2.4 too, just... not the same way as round's did...
```
> echo "n = [5.005, 5.015, 5.025]; puts 'round: ' + n.map { |x| x.round(...
04/12/2019
-
10:42 PM Bug #15515: OpenStruct raising NoMethodError instead of ArgumentError
- Sorry I missed this.
I'm positive on this patch and will commit it shortly unless there's any objection. -
10:38 PM Misc #15723: Reconsider numbered parameters
- jeremyevans0 (Jeremy Evans) wrote:
> The behavior changes if `foo` is a local variable:
> ...
Good catch, I forgot about that case.
Indeed, that's confusing.
This case can be worked around with parentheses if there is a local variab... -
09:11 PM Misc #15723: Reconsider numbered parameters
- Eregon (Benoit Daloze) wrote:
> headius (Charles Nutter) wrote:
> ...
The behavior changes if `foo` is a local variable:
```ruby
foo = 1
proc{foo &1}.call
# => 1
proc{foo & 1}.call
# => 1
```
This proposal has the followin... -
08:29 PM Misc #15723: Reconsider numbered parameters
- headius (Charles Nutter) wrote:
> Conflicts with bitwise AND, doesn't it?
No, binary operators already care about spacing to clarify which one it is, and this syntax "conflict" already exists anyway:
~~~ ruby
irb(main):001:0> cl... -
08:10 PM Misc #15723: Reconsider numbered parameters
- > Another idea for syntax, already mentioned in https://bugs.ruby-lang.org/issues/4475#note-12 : &1, &2, etc.
Conflicts with bitwise AND, doesn't it?
```ruby
foo &1
```
Is it `foo() & 1` or `foo(&1)`? -
08:08 PM Misc #15723: Reconsider numbered parameters
- Another idea for syntax, already mentioned in https://bugs.ruby-lang.org/issues/4475#note-12 : &1, &2, etc.
`&` associates much better with blocks than `@`: `map(&:name)`, `foo(&block)`, etc.
In fact, I think many previous suggestion... -
07:12 PM Misc #15723: Reconsider numbered parameters
- Oh, another simplication... if user code in 2.7+ attempts to read `_1` before writing it in a block, that can be an indication that it's expected to be an argument offset. If it's assigned first it's just a normal local variable.
-
07:11 PM Misc #15723: Reconsider numbered parameters
- What about using `_1`, `_2`? These are value variable names that could be reserved for argument offsets. This would mimic some golfed block code like `{|_| ...}` (though I know there's some debate about whether `@1` should map to `|x|` o...
-
03:34 PM Feature #14183: "Real" keyword argument
- mame (Yusuke Endoh) wrote:
> However, akr and I think that "2.7 is completely compatible with 2.6 except warnings" approach is not good enough. We need to provide a migration path that allows users to rewrite their code for 3.0 gradual... -
01:52 PM Feature #14183: "Real" keyword argument
- @jeremyevans0,
You registered this ticket for pre-RubyKaigi [Misc#15459]. Do you have an idea how to discuss the issue?
@ko1 is now creating an agenda, and maybe 30 minutes will be allotted to this issue. The agenda is not decide... -
08:26 AM Feature #14183: "Real" keyword argument
- Jeremy, thank you for working on this issue.
> I believe the expected behavior in Ruby 2.7 is to warn but return the same results as Ruby 2.6 in all three cases, is that correct?
I had intended the incompatibility, as I said in "Mi... - 02:32 PM Revision 95a82766 (git): * 2019-04-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:32 PM Revision 39b04bc6 (git): [DOC] Add `ifnone` example to `find` documentation [ci skip]
- [Fix GH-2110]
From: OKURA Masafumi <masafumi.o1988@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:59 AM Bug #15708: Implicit numbered argument decomposes an array
- jeremyevans0 (Jeremy Evans) wrote:
> Attached is a patch that will turn off destructuring if the only implicit block variable is `@1`:
```diff
- args->nd_ainfo->rest_arg = excessed_comma;
+ if (max_numparam > 1) {
+ args->nd_a... -
04:17 AM Feature #15765: [PATCH] Module#name without global constant search
- This is for #11119 and #15625.
-
04:12 AM Feature #15765 (Closed): [PATCH] Module#name without global constant search
- Hello!
The current implementation of `Module#name` is known for having sub-optimal performance when it comes to anonymous modules. (see #11119 and #15625)
I have put together a reimplementation of `Module#name`, which works by eagerl... -
01:13 AM Misc #15459: DevelopersMeeting before/after RubyKaigi2019
- * new built-in class/method definition features in Ruby and C (will be talked at RubyKaigi 2019, my talk) (ko1)
04/11/2019
-
11:16 PM Bug #15300: rb_frame_method_id_and_class deprecated in 2.6
- I just noticed that Rice works perfectly under Ruby 2.6.2! Thank you so much.
-
09:42 PM Bug #15708: Implicit numbered argument decomposes an array
- Attached is a patch that will turn off destructuring if the only implicit block variable is `@1`:
```ruby
# equivalent to proc{|x| x}
proc{@1}.call([1,2])
# => [1, 2]
# equivalent to proc{|_,x| x}
proc{@2}.call([1,2])
# => 2
... -
08:59 PM Bug #15764 (Assigned): Whitespace and control characters should not be permitted in tokens
- As of Ruby 2.5.1p57, it appears that all valid Unicode code-points above 128 are permitted in tokens. This includes whitespace and control characters.
This was demonstrated here: https://gist.github.com/qrohlf/7045823
I have attach... -
03:17 PM Bug #15360: "ThreadError: deadlock; recursive locking" error when recursive lock shouldn't be possible
- `git bisect` shows the problem occurs frequently since r58604.
But I don't know it can occur before the commit.
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/trunk/revisions/66489/entry/thread_sync.c#L267
`do_mutex_lock(... -
12:09 PM Bug #15755: [BUG] Unnormalized Fixnum value on Enumerator::ArithmeticSequence#hash.to_s on Windows
- ruby_2_6 r67516 merged revision(s) 67466.
-
12:09 PM Revision cb915c94 (git): merge revision(s) 67466: [Backport #15755]
- enumerator.c: force hash values fixable
* enumerator.c (arith_seq_hash): force hash values fixable on
LLP64 environment. [ruby-core:92190] [Bug #15755]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67... -
12:09 PM Bug #15756: [BUG] Unnormalized Fixnum value on Method#hash.to_s on Windows
- ruby_2_6 r67515 merged revision(s) 67467.
-
12:09 PM Revision 03e35744 (git): merge revision(s) 67467: [Backport #15756]
- range.c: force hash values fixable
* range.c (method_hash): force hash values fixable on LLP64
environment. [ruby-core:92191] [Bug #15756]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67515 b2dd03c8-... -
12:09 PM Bug #15757: [BUG] Unnormalized Fixnum value on Range#hash.to_s on Windows
- ruby_2_6 r67514 merged revision(s) 67468.
-
12:08 PM Revision 42acabf1 (git): merge revision(s) 67468: [Backport #15757]
- range.c: force hash values fixable
* range.c (range_hash): force hash values fixable on LLP64
environment. [ruby-core:92194] [Bug #15757]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67514 b2dd03c8-3... - 10:36 AM Revision 6f866fd9 (git): * 2019-04-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:36 AM Revision 02534365 (git): Get rid of a magic number
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:36 AM Revision 47c82df2 (git): Share the exception local ID table
- [Fix GH-2115]
From: Lourens Naudé <lourens@bearmetal.eu>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:33 AM Misc #15723: Reconsider numbered parameters
- I very much like the feature itself, esp. for one liners you can come up with on a pry prompt. What I very much dislike though is the use of `@` which is a glorious hack if there is any since currently `@` tokenizably resolves to 'instan...
-
07:04 AM Bug #15761: File::Statfs documentation still exists on ruby-doc.org/core-trunk/
- Sorry, I didn't notice it's not official.
I'll report to them.
I didn't know docs.ruby-lang.org is a thing, it never shows up in Google search, maybe it needs some SEO.
Thanks for the reply!
 -
06:53 AM Bug #15746: 11 test cases run failed
- nobu (Nobuyoshi Nakada) wrote:
> Run with `make test-all` or test/runner.rb:
> ...
Thanks! -
05:11 AM Bug #15763: Segmentation fault in timeout.rb / sleep
- This might be the same issue as:
* https://bugs.ruby-lang.org/issues/15490
* https://bugs.ruby-lang.org/issues/15639
* https://github.com/hanami/hanami/issues/993
The common points are:
* macOS (darwin17 or 18)
* uses multipl... -
01:37 AM Bug #15763: Segmentation fault in timeout.rb / sleep
- Additionally, the issue does not seem to happen on every build. If I rebuild the same version of ruby, the issue may go away. (until another few rebuilds)
-
12:26 AM Bug #15763 (Third Party's Issue): Segmentation fault in timeout.rb / sleep
- I'm running into crashes on both ruby 2.6.1 and 2.6.2 (2.5.x is all good).
I'm on OSX / mojave with ruby installed via rbenv / ruby-build. Confirmed on two different machines.
The crash happens through the parallel gem, but it happen...