Project

General

Profile

Activity

From 04/17/2018 to 04/23/2018

04/23/2018

11:46 PM Revision 3471d0f6 (git): rescue Errno::EPROTOTYPE
* test/webrick/test_httpserver.rb (test_gigantic_request_header):
Errno::EPROTOTYPE is sometimes raised on Mac OS X...
nobu (Nobuyoshi Nakada)
09:40 PM Feature #14706: Atomic Integer incr/decr
Jeremy, good point. I would agree that the different semantics are enough to justify a different class. Namespacing... mperham (Mike Perham)
09:27 PM Feature #14706: Atomic Integer incr/decr
Related ticket with some discussion already (and partially rejected) https://bugs.ruby-lang.org/issues/12607 rafaelfranca (Rafael França)
09:18 PM Feature #14706: Atomic Integer incr/decr
I think this feature in general is a good candidate for addition to stdlib.
I don't think the `Integer` class is a...
jeremyevans0 (Jeremy Evans)
09:08 PM Feature #14706: Atomic Integer incr/decr
I've always missed that feature as well, so I'm +1 to this. This and many other built-in thread-safe helpers by the w... rosenfeld (Rodrigo Rosenfeld Rosas)
08:53 PM Feature #14706 (Closed): Atomic Integer incr/decr
Ruby does not any thread-safe way to implement simple counters without a Mutex. Today Ruby provides Integer#succ but... mperham (Mike Perham)
04:20 PM Revision 6c4cab00 (git): * 2018-04-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:20 PM Revision f84efbaa (git): revert r63212
except test_jit.rb.
In some situations, this generates a wrong code. I'll add a test for it
later but let me revert ...
k0kubun (Takashi Kokubun)
01:56 PM Feature #14697: Introducing Range#% as an alias to Range#step
I'm supposing that this new notation of Range#step is mostly used for slicing numerical arrays like Numo::NArray.
Th...
mrkn (Kenta Murata)
12:51 PM Revision 4cae5353 (git): compile.c: copy a short insn with leave
* compile.c (iseq_peephole_optimize): copy not only `leave`, with
a non-operand instruction, which are not longer t...
nobu (Nobuyoshi Nakada)
12:09 PM Revision 425118b8 (git): [DOC] URI::Generic#port returns Integer [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:52 AM Revision c6ad7a62 (git): compile.c: insn before pop
* compile.c (iseq_peephole_optimize): more eliminatable
instructions before `pop` without side effects.
git-svn-id...
nobu (Nobuyoshi Nakada)
07:02 AM Misc #14698: DevelopersMeeting20180517Japan
zverok (Victor Shepelev) wrote:
> > your favorite ticket numbers you want to ask to discuss with your SHORT comment ...
baweaver (Brandon Weaver)
07:00 AM Feature #13581: Syntax sugar for method reference
sevos (Artur Roszczyk) wrote:
> After a while I am becoming a bigger fan of the triple colon operator. We could impl...
baweaver (Brandon Weaver)
05:54 AM Revision 87ca4f30 (git): test/ruby/test_io.rb: add extra Thread#join to delay close
Maybe this fixes some CI failures. Also, use different timeouts
for each item for hopefully easier diagnosis.
git-s...
Eric Wong
02:07 AM Revision 1222560a (git): thread_pthread.c: fallback to CLOCK_REALTIME
* thread_pthread.c (Init_native_thread): fallback to the default
CLOCK_REALTIME when failed to set to CLOCK_MONOTON...
nobu (Nobuyoshi Nakada)

04/22/2018

10:33 PM Misc #12004: Code of Conduct
[email protected] wrote:
> Issue #12004 has been updated by gkop (Gabe Kopley).
>
> matz (Yukihiro Matsumoto) wrote...
spatulasnout (B Kelly)
10:21 PM Feature #14705 (Closed): [PATCH] eval.c (ruby_setup): disable THP on Linux
Transparent Huge Pages (THP) decrease the effectiveness of
CoW-friendly GC because it decreases page granularity. T...
normalperson (Eric Wong)
09:21 PM Feature #14703 (Closed): [PATCH] net/imap: set SO_KEEPALIVE on TCP sockets
Applied in changeset trunk|r63243.
----------
net/imap: set SO_KEEPALIVE on TCP sockets
Otherwise connections (comm...
normalperson (Eric Wong)
09:21 PM Revision c4056a4a (git): net/imap: set SO_KEEPALIVE on TCP sockets
Otherwise connections (commonly on IDLE, but it could be any
command) may never receive notifications of link errors....
Eric Wong
07:41 PM Revision 75e5a91e (git): sprintf.c: fix typo
* sprintf.c: [DOC] fix typo.
Patch by Lazarus Lazaridis (iridakos). [Fix GH-1789]
git-svn-id: svn+ssh://ci.ruby-l...
stomar (Marcus Stollsteimer)
04:33 PM Revision 532464d1 (git): Same as the last commit (comment out tests for CI).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:03 PM Revision fdf2764e (git): * 2018-04-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:03 PM Revision dd45691d (git): Skip some tests to make CI healthy.
r63236 (or r63237) introduces test failures and CI shows errors.
This commit makes skipping these tests. Please reve...
ko1 (Koichi Sasada)
12:09 PM Misc #14497 (Closed): [PATCH] thread*: all condvars are monotonic
Applied in changeset trunk|r63238.
----------
thread*: all condvars are monotonic
There's no reason to use CLOCK_RE...
normalperson (Eric Wong)
12:09 PM Revision ed590bdb (git): thread*: all condvars are monotonic
There's no reason to use CLOCK_REALTIME for any condvars in Ruby.
Indeed, we initialized all condvars with RB_CONDATT...
Eric Wong
09:43 AM Bug #14600: test-all & REXML - fixup
I've enabled almost tests.
The tests reveals some XPath related bugs. They are good tests.
I've fixed most of the...
kou (Kouhei Sutou)
09:38 AM Revision 7a6f3410 (git): rexml: Fix XPath bug of //#{ELEMENT_NAME}[#{POSITION}]
The position should be counted for each nodeset but the previous
implementation counts position for union-ed nodeset....
Sutou Kouhei
08:09 AM Revision 4d15e619 (git): rexml: Fix XPath bug of /#{ELEMENT_NAME}
It doesn't mean that all elements which name "ELEMENT_NAME" with any
namespace URI including null namespace URI. It m...
Sutou Kouhei
05:53 AM Misc #14692: Question: Ruby stdlib's Option Parser
nobu (Nobuyoshi Nakada) wrote:
> Currently, it is not able.
> A possible workaround is to define an option which ra...
xz0r (xz0r xz0r)
04:01 AM Revision b252d8ad (git): mjit_compile.c: comment the intention of r63092 [ci skip]
It's for "leave" instruction.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63235 b2dd03c8-39d4-4d8f-98ff-823fe6...
k0kubun (Takashi Kokubun)
12:47 AM Revision 56e87b2c (git): made *.cmd excutable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:46 AM Revision 04ac0363 (git): made *.cmd excutable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:12 AM Bug #14681: `syswrite': stream closed in another thread (IOError)
[email protected] wrote:
> > We no longer set O_NONBLOCK on sockets/pipes by default since
> > 1.9+; and bu...
normalperson (Eric Wong)
12:02 AM Revision 0b429ad2 (git): Makefile.in: MJIT_ARCHFLAG
* Makefile.in (mjit_config.h): separate MJIT_ARCHFLAG for each
architecture on universal binary. cannot use precom...
nobu (Nobuyoshi Nakada)

04/21/2018

11:32 PM Revision fed7f81b (git): test/ruby/test_io.rb: try to diagnose stuck test_recycled_fd_close
I can't reproduce the problem myself, but gets loop seems ought
to give more useful information for tracking down whe...
Eric Wong
11:02 PM Revision c83decf6 (git): mjit.c: check pch status
* mjit.c (mjit_add_iseq_to_process, mjit_get_iseq_func): check if
pch failed before timedout.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
10:12 PM Bug #14681: `syswrite': stream closed in another thread (IOError)
> We no longer set O_NONBLOCK on sockets/pipes by default since
> 1.9+; and but that didn't help with slow filesyste...
ioquatix (Samuel Williams)
06:12 PM Bug #14681: `syswrite': stream closed in another thread (IOError)
[email protected] wrote:
> I reviewed your suggestion, and while it (in theory) works
> with the original e...
normalperson (Eric Wong)
06:03 PM Bug #14681: `syswrite': stream closed in another thread (IOError)
[email protected] wrote:
> Excuse my ignorance, but if you call write, why can't you just
> directly invoke...
normalperson (Eric Wong)
01:26 PM Bug #14681: `syswrite': stream closed in another thread (IOError)
Excuse my ignorance, but if you call write, why can't you just directly invoke `::write`? Why do you need to do `rb_... ioquatix (Samuel Williams)
01:18 PM Bug #14681: `syswrite': stream closed in another thread (IOError)
I reviewed your suggestion, and while it (in theory) works with the original example, it won't work with my actual us... ioquatix (Samuel Williams)
01:14 PM Bug #14681: `syswrite': stream closed in another thread (IOError)
Eric, thanks so much for your commitment to fixing this issue and for taking a look at my specific use case.
I wil...
ioquatix (Samuel Williams)
09:04 AM Bug #14681: `syswrite': stream closed in another thread (IOError)
Eric Wong <[email protected]> wrote:
> https://80x24.org/spew/[email protected]/
> Note...
normalperson (Eric Wong)
03:32 AM Bug #14681: `syswrite': stream closed in another thread (IOError)
[email protected] wrote:
> Bug #14681: `syswrite': stream closed in another thread (IOError)
> https://bugs...
normalperson (Eric Wong)
12:33 AM Bug #14681: `syswrite': stream closed in another thread (IOError)
Thanks, fixing now. normalperson (Eric Wong)
08:04 PM Revision 83bd262f (git): * 2018-04-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:04 PM Revision 300b22dc (git): Improve docs for URI library
* lib/uri/generic.rb: [DOC] fix invalid example code to make it
syntax highlighted; drop unnecessary `puts', `p'; a...
stomar (Marcus Stollsteimer)
07:50 PM Misc #12004: Code of Conduct
matz (Yukihiro Matsumoto) wrote:
> We have set our Code of Conduct.
>
> https://www.ruby-lang.org/en/conduct/
> ...
gkop (Gabe Kopley)
01:15 PM Revision c04881f9 (git): test_jit.rb: follow the change of instruction
in r63225. Not strictly needed but to avoid confusion.
The JIT compiler itself seems working fine.
git-svn-id: svn+...
k0kubun (Takashi Kokubun)
01:09 PM Bug #14561: Consistent 2.5.0 seg fault in GC, related to accessing an enumerator in a thread
Thanks so much for your effort to isolate this issue.
I don't think any of my code is violating "First, Fiber.new ...
ioquatix (Samuel Williams)
11:33 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
[email protected] wrote:
> It would be also be pretty awesome if you could actually
> supply a reactor to u...
normalperson (Eric Wong)
11:12 AM Feature #14624: #{nil} allocates a fresh empty string each time
[email protected] wrote:
> https://github.com/nobu/ruby/tree/feature/opt_to_s

Btw, I also had [ruby-core:81905]...
normalperson (Eric Wong)
10:52 AM Revision fde115b1 (git): compile.c: optimize checktype
* compile.c (optimize_checktype): optimize `checktype` instruction
on a literal.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
10:52 AM Revision a3fe1034 (git): insns.def: checktype
* insns.def (checktype): split branchiftype to checktype and
branchif, to make branch condition negation possible.
...
nobu (Nobuyoshi Nakada)
07:48 AM Revision c458aeff (git): compile.c: renamed macro arguments
* compile.c (INSERT_BEFORE_INSN, INSERT_BEFORE_INSN1): rename
argument `prev` as `next`.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
06:52 AM Bug #14659: segfault in ConditionVariable#broadcast and ConditionVariable#signal
[email protected] wrote:
> Bug #14659: segfault in ConditionVariable#broadcast and ConditionVariable#signal
> https...
normalperson (Eric Wong)
06:45 AM Revision ee29985d (git): rexml: Enable more tests
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
06:43 AM Revision da89931d (git): rexml: Fix XPath concat() implementation
* lib/rexml/functions.rb (REXML::Functions.concat): Implement.
* test/rexml/test_jaxen.rb: Enable one more test.
g...
Sutou Kouhei
06:39 AM Revision 6793c0a2 (git): rexml: Fix XPath string() implementation
* lib/rexml/functions.rb( REXML::Functions.string):
* Support context node.
* Fix implementation for document nod...
Sutou Kouhei
06:21 AM Revision e044924e (git): rexml: Make more readable
test/rexml/test_jaxen.rb: Use more meaningful name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63220 b2dd03c...
Sutou Kouhei
06:21 AM Revision 1992cec5 (git): rexml: Fix a test bug
test/rexml/test_jaxen.rb: Fix wrong assert_raise usage. Note that this code
isn't used yet.
git-svn-id: svn+ssh://c...
Sutou Kouhei
06:18 AM Revision daec80fe (git): rexml: Make more readable
test/rexml/xpath/test_base.rb: Use here document for readability.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
Sutou Kouhei
04:02 AM Revision 7e9c19ad (git): test/ruby/test_io.rb: add closing recycled FD test
Followup-to: r63216
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
03:12 AM Revision 645f7fbd (git): io.c: do not use rb_notify_fd_close close on recycled FD
It is unsafe to release GVL and call rb_notify_fd_close after
close(2) on any given FD. FDs (file descriptor) may be...
Eric Wong

04/20/2018

10:53 PM Revision af72dcd9 (git): thread_sync: redo r62934 to use fork_gen
Instead of maintaining linked-lists to store all
rb_queue/rb_szqueue/rb_condvar structs; store only a fork_gen
serial...
Eric Wong
09:38 PM Feature #14487 (Closed): [PATCH] simplify altstack and enable reuse with thread cache
Applied in changeset trunk|r63213.
----------
simplify altstack and enable reuse with thread cache
Instead of alloc...
normalperson (Eric Wong)
09:38 PM Revision 730d257b (git): * 2018-04-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:38 PM Revision 475b4aa4 (git): simplify altstack and enable reuse with thread cache
Instead of allocating and registering the altstack in different
places, do it together to reduce code and improve rea...
Eric Wong
06:34 PM Feature #6284: Add composition for procs
yuroyoro (TOMOHITO Ozaki) wrote:
> Most languages do not define function composition in built-in operators, but prov...
baweaver (Brandon Weaver)
03:23 PM Bug #14704 (Closed): Module#ancestors looks wrong when a module is both included and prepended in the same class.
`Module#ancestors` looks wrong when a module is both included and prepended in the same class.
Here is the example s...
knknkn1162 (Kenta Nakajima)
01:42 PM Revision e72a86fc (git): _mjit_compile_send.erb: inline attr_reader call
_mjit_compile_send_guard.erb: carve out the shared logic to invalidate
inlined method call
common.mk: update depende...
k0kubun (Takashi Kokubun)
01:40 PM Bug #14662: Stack consistency error in 2.5.1
Unfortunately I haven't found a way to reproduce this without a large portion of our code running, and because the er... jacobevelyn (Jacob Evelyn)
01:23 PM Feature #14111: ArgumentErrorが発生した時メソッドのプロトタイプをメッセージに含む
いくつか問題があるようです。
* `define_method` で定義されたメソッドで `ArgumentError` が起きるとSEGV
* `label` はメソッド名とは同じとは限らない
* 特異メソッドを持つオブジ...
nobu (Nobuyoshi Nakada)
11:52 AM Feature #14703 (Closed): [PATCH] net/imap: set SO_KEEPALIVE on TCP sockets
Otherwise connections (commonly on IDLE, but it could be any
command) may never receive notifications of link errors...
normalperson (Eric Wong)
10:11 AM Misc #14698: DevelopersMeeting20180517Japan
shevegen (Robert A. Heiler) wrote:
> Just one comment:
>
> > From this time, we use a ticket to make dev-meeting ...
naruse (Yui NARUSE)
10:03 AM Bug #14702 (Closed): On Ruby 2.5.1, tracepoint isn't working on the file that is loaded by load_iseq
On Ruby 2.5.1, when loading file with RubyVM::InstructionSequence.load_from_binary, TracePoint callback event is not ... [email protected] (Makoto Tajitsu)
08:27 AM Feature #14701 (Rejected): If the object is not frozen, I want to be able to redefine the compound assignment operator.
Use `append` instead of `+=` for arrays. Changing the behavior of `+=` would have too much compatibility problems fro... matz (Yukihiro Matsumoto)
07:10 AM Revision 1658fb3f (git): Update latest bundled gems:
did_you_mean: 1.2.1
rake: 12.3.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63211 b2dd03c8-39d4-4d8f-98ff-8...
hsbt (Hiroshi SHIBATA)
03:32 AM Bug #14634: Queue#push seems to crash after fork
[email protected] wrote:
> The customer just sent me another crasher report (segfault).
> It happens in another loc...
normalperson (Eric Wong)
03:22 AM Revision b456eab2 (git): variable.c: fix thread + fork errors in autoload
This is fairly non-intrusive bugfix to prevent children
from trying to reach into thread stacks of the parent.
I will...
Eric Wong
02:12 AM Feature #14352: Array#pack("M") Quoted-Printable with binary mode
なるせさん
ご検討いただきありがとうございました。
mailライブラリとしてはこの結果をベースに修正案を出してみようと思います。
kirika (Toshio Maki)
12:52 AM Bug #14700 (Rejected): Endless ranges don't seem to work properly with case statements
Please use parentheses, like `when (0..)`. Unfortunately, it is difficult to allow this because it may cause a confl... mame (Yusuke Endoh)
12:25 AM Revision 5b9bb500 (git): vm_core.h: adjust indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:23 AM Revision db885d08 (git): range.c: step in bignum
* range.c (range_step): honor step in bignum addition.
[Feature #12912]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
12:10 AM Revision ad5a6aa7 (git): range.c: fix fixnum loop condition
* range.c (range_step): FIXABLE + FIXABLE never overflow, but may
not be FIXABLE. [Feature #12912]
git-svn-id: sv...
nobu (Nobuyoshi Nakada)

04/19/2018

11:46 PM Revision 5a5c9a70 (git): fiddle/test_import.rb: fix warnings by rubygems
[Bug #14686]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:36 PM Bug #14686 (Closed): Windows - uninitialized constant Fiddle::Function::STDCALL, test issue
Applied in changeset trunk|r63205.
----------
fiddle/import.rb: suppress warning
* ext/fiddle/lib/fiddle/import.rb:...
nobu (Nobuyoshi Nakada)
11:35 PM Revision eb02a846 (git): fiddle/import.rb: suppress warning
* ext/fiddle/lib/fiddle/import.rb: suppress exception report when
$DEBUG is enabled. [ruby-core:86536] [Bug #14686...
nobu (Nobuyoshi Nakada)
11:30 PM Feature #14701 (Open): If the object is not frozen, I want to be able to redefine the compound assignment operator.
If the object is not frozen, I want to be able to redefine the compound assignment operator (e.g. +=, -=, *=, /=, ..e... naitoh (Jun NAITOH)
10:20 PM Feature #14697: Introducing Range#% as an alias to Range#step
Have we considered a name like `every`?
~~~ ruby
(1..).every(2) # => 2, 4, 6, 8
~~~
I did not know that `st...
baweaver (Brandon Weaver)
02:18 PM Feature #14697: Introducing Range#% as an alias to Range#step
I am not convinced that `step` is used enough to justify this. I know I basically never use it. Here's the number of ... marcandre (Marc-Andre Lafortune)
06:54 AM Feature #14697: Introducing Range#% as an alias to Range#step
Looks good to me. Any opinion?
Matz.
matz (Yukihiro Matsumoto)
06:31 AM Feature #14697 (Closed): Introducing Range#% as an alias to Range#step
In #13904, `Enumerator::ArithmeticSequence` has been accepted for the representation of a range with step value.
And...
mrkn (Kenta Murata)
09:48 PM Bug #14700 (Rejected): Endless ranges don't seem to work properly with case statements
I'm running into an unexpected error with this code
~~~ ruby
case 1
when 0..
end
#!> SyntaxError: unexpected k...
shan (Shannon Skipper)
09:34 PM Revision 9090241e (git): rexml: Fix a XPath bug that white spaces aren't ignored
lib/rexml/parsers/xpathparser.rb: Ignore white spaces in relative
location path.
test/rexml/xpath/test_base.rb: Add ...
Sutou Kouhei
08:51 PM Revision 632e10ca (git): rexml: Fix wrong assertion
test/rexml/xpath/test_base.rb: Use constant value for the expected value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
Sutou Kouhei
08:49 PM Revision 8257fcb1 (git): rexml: Use more debug friendly assertion style
test/rexml/xpath/test_base.rb: Expand loop assertion and stop to checking
just the first value.
git-svn-id: svn+ssh...
Sutou Kouhei
08:48 PM Revision b5321ba4 (git): rexml: Use more debug friendly assertion style
test/rexml/xpath/test_base.rb: Stop to use separated assertions for
checking array value.
git-svn-id: svn+ssh://ci....
Sutou Kouhei
08:45 PM Revision be000dcc (git): rexml: Make more readable
test/rexml/xpath/test_base.rb: Use here document for XML.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63200 b...
Sutou Kouhei
06:01 PM Misc #14698: DevelopersMeeting20180517Japan
https://bugs.ruby-lang.org/issues/14473 Add Range#subrange? greggzst (Grzegorz Jakubiak)
04:19 PM Misc #14698: DevelopersMeeting20180517Japan
Just one comment:
> From this time, we use a ticket to make dev-meeting agenda page
\o/
I think this is a go...
shevegen (Robert A. Heiler)
03:42 PM Misc #14698: DevelopersMeeting20180517Japan
https://bugs.ruby-lang.org/issues/14699 Subtle behaviors with endless range mame (Yusuke Endoh)
07:26 AM Misc #14698: DevelopersMeeting20180517Japan
> your favorite ticket numbers you want to ask to discuss with your SHORT comment or summary.
Functional programmi...
zverok (Victor Shepelev)
06:59 AM Misc #14698 (Closed): DevelopersMeeting20180517Japan
Date: 2018/05/17 (Thu)
Time: 14:00-18:00 (JST)
Place: Cookpad Inc. (Tokyo, Japan)
Sign-up: https://ruby.connpass.c...
ko1 (Koichi Sasada)
05:24 PM Bug #14699: Subtle behaviors with endless range
I believe `(0..).max(3)` and `(0..).max {|a, b| a <=> b }` can not return `nil`. They should either hang or (seems mo... marcandre (Marc-Andre Lafortune)
03:40 PM Bug #14699 (Closed): Subtle behaviors with endless range
Currently, some Range's methods behaves weirdly with endless range.
## Range#max
Range#max always returns nil. ...
mame (Yusuke Endoh)
04:57 PM Revision 35f1b8f5 (git): _mjit_compile_send.erb: simplify control flow
to introduce additional optimization for another `cc->me->def->type`
later. I carved out the `cc->me->def->type == VM...
k0kubun (Takashi Kokubun)
04:19 PM Revision 46697c7e (git): internal.h: use the same declaration as definition
range.c: cast the function type to meet the declaration
This change is for fixing build error on AppVeyor:
https://c...
k0kubun (Takashi Kokubun)
04:17 PM Feature #14683: IRB with Ripper
I am developing Reirb which is new version of irb, now.
Reirb is a reborn irb, and new implementation for irb,
I w...
keiju (Keiju Ishitsuka)
03:54 PM Feature #8258: Dir#escape_glob
Eregon (Benoit Daloze) wrote:
> Looks to me like this can be closed since we have Dir.glob(pattern, base: dir) and P...
mame (Yusuke Endoh)
11:28 AM Feature #8258: Dir#escape_glob
Looks to me like this can be closed since we have Dir.glob(pattern, base: dir) and Pathname#glob uses it. Eregon (Benoit Daloze)
08:13 AM Feature #8258 (Feedback): Dir#escape_glob
Issue #13056 introduced `base:` option to `Dir.glob` method. Is this issue still needed? shyouhei (Shyouhei Urabe)
03:29 PM Feature #12912 (Closed): An endless range `(1..)`
Thank you matz. I've committed this at r63192..r63197. The implementation uses Approach 2, i.e., now we can create ... mame (Yusuke Endoh)
06:19 AM Feature #12912: An endless range `(1..)`
The syntax appears a bit weird but far better than `1..Float::Infinity`.
I accept it.
Matz.
matz (Yukihiro Matsumoto)
03:23 PM Revision e5de8868 (git): Adds "endless range" to NEWS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
03:19 PM Revision d55452cb (git): Prefer CONST_ID to static global IDs
Just refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:18 PM Revision d658a8d5 (git): range.c: Make Range#bsearch support endless ranges
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
03:18 PM Revision db1bdecb (git): Make Range#min, max, include?, cover?, and === to support endless range
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
03:18 PM Revision 8a809850 (git): * 2018-04-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:18 PM Revision 7f95eed1 (git): Introduce endless range [Feature#12912]
Typical usages:
```
p ary[1..] # drop the first element; identical to ary[1..-1]
(1..).each {|n|...} # itera...
mame (Yusuke Endoh)
02:40 PM Misc #14692: Question: Ruby stdlib's Option Parser
Currently, it is not able.
A possible workaround is to define an option which raise `OptionParser::InvalidOption`.
nobu (Nobuyoshi Nakada)
12:34 PM Feature #14688 (Assigned): Net::HTTPResponse#value raises "Net::HTTPServerException" in 4xx response
At DevelopersMeeting20180419Japan, adding the alias is accepted. usa (Usaku NAKAMURA)
11:42 AM Feature #4475: default variable name for parameter
This is a very interesting idea but at the same time, it's difficult to keep compatibility.
At least simple addition...
matz (Yukihiro Matsumoto)
07:51 AM Feature #4475: default variable name for parameter
I would like the feature, but we have many things to think about.
We would not be able to make "it" a reserved key...
knu (Akinori MUSHA)
08:22 AM Feature #6394 (Rejected): Support SO_ORIGINAL_DST socket option
As #14696, we reject the proposal. matz (Yukihiro Matsumoto)
08:21 AM Feature #14696 (Rejected): add optname SO_ORIGINAL_DST
I didn't know `SO_ORIGINAL_DST` is not defined in libc headers.
In this case, I'd suggest defining the constant in y...
matz (Yukihiro Matsumoto)
07:37 AM Feature #14696: add optname SO_ORIGINAL_DST
SO_ORIGINAL_DST is defined in linux kernel header, not glibc header.
The provided patch defines SO_ORIGINAL_DST as...
akr (Akira Tanaka)
07:54 AM Feature #14352: Array#pack("M") Quoted-Printable with binary mode
議論したのですが、結論としてドキュメントイシューということになりました。
大本のPerlもそうですが、pack/unpackは前提として、Unix環境で入力をとり、LFのまま出力し、
その出力をsendmail等に流して、それ...
naruse (Yui NARUSE)
07:28 AM Feature #14352 (Closed): Array#pack("M") Quoted-Printable with binary mode
Applied in changeset trunk|r63191.
----------
pack/unpack M only handles LF line breaks [Feature #14352]
naruse (Yui NARUSE)
07:52 AM Feature #5352 (Rejected): How about using <> to represent Here Document?
Rejected. I don't want to change the basic syntax (without major benefit). Besides that, I want to keep `<>` for fut... matz (Yukihiro Matsumoto)
07:28 AM Revision 3a5d1e4b (git): pack/unpack M only handles LF line breaks [Feature #14352]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:25 AM Feature #14423: Enumerator from single object
Updated proposal after discussion in comments. zverok (Victor Shepelev)
07:06 AM Feature #14643 (Closed): Remove problematic separator '\0' of Dir.glob and Dir.[]
Applied in changeset trunk|r63190.
----------
dir.c: warning for NUL
* dir.c (rb_push_glob): warn NUL-separated glo...
nobu (Nobuyoshi Nakada)
06:55 AM Feature #14643: Remove problematic separator '\0' of Dir.glob and Dir.[]
LGTM. The change will reduce the potential security risk.
Matz.
matz (Yukihiro Matsumoto)
07:05 AM Revision c635662d (git): dir.c: warning for NUL
* dir.c (rb_push_glob): warn NUL-separated glob patterns.
[Feature #14643]
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
07:00 AM Bug #14219 (Rejected): package size of Ruby 2.5 is larger than 2.4
I postpone merging bundler into Ruby core. I will close this by stating it again. hsbt (Hiroshi SHIBATA)
06:57 AM Feature #13199 (Closed): Gemify strscan
I released strscan gem on rubygems.org
https://rubygems.org/gems/strscan
hsbt (Hiroshi SHIBATA)
06:43 AM Feature #14594: Rethink yield_self's name
After a long consideration, I decided to pick `then` as an alias to `yield_self`.
As @zverok stated it describes int...
matz (Yukihiro Matsumoto)
05:55 AM Feature #14559 (Closed): ENV.slice
Applied in changeset trunk|r63188.
----------
Add slice method to ENV like Hash#slice
[Feature #14559]
From: Be...
nobu (Nobuyoshi Nakada)
05:22 AM Feature #14559: ENV.slice
It seems OK to me.
Matz.
matz (Yukihiro Matsumoto)
05:55 AM Revision ae92a9e4 (git): * 2018-04-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:55 AM Revision 9760a7f9 (git): Add slice method to ENV like Hash#slice
[Feature #14559]
From: Benoit Tigeot <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
12:54 AM Bug #14662: Stack consistency error in 2.5.1
The dumped instructions seem no problem.
Can't you make small code to reproduce?
nobu (Nobuyoshi Nakada)

04/18/2018

04:54 PM Feature #6670: str.chars.last should be possible
While I myself have not needed str.chars.last, I can understand
why Yutaka HARA suggested it. Makes sense to me pers...
shevegen (Robert A. Heiler)
06:50 AM Feature #6670 (Assigned): str.chars.last should be possible
I have forgotten this ticket completely, and I have used `String#lines` with a block many times.
Will the methods re...
mame (Yusuke Endoh)
04:47 PM Feature #12912: An endless range `(1..)`
The idea is interesting (I think we currently can not specify
infinite ranges easily? Then again I myself have not ...
shevegen (Robert A. Heiler)
03:04 PM Bug #14464: MJIT & MinGW / gcc 7.3.0 seemed ok as of 62337, fail or skip after
> I'm wondering what is using the /Users/user name/AppData/Local/temp folder, as on my system, all TEMP/TMP env vari... k0kubun (Takashi Kokubun)
01:16 PM Feature #14426: [PATCH] openssl: reduce memory allocation in OpenSSL::Buffering#do_write
Any updates on this one? I think it would be nice to have this included in the next patch version. This will make mem... janko (Janko Marohnić)
11:47 AM Misc #14692: Question: Ruby stdlib's Option Parser
Hi,
The documentation of OptionParser says for further I can ask questions here.
Is there way to disable comman...
xz0r (xz0r xz0r)
10:59 AM Bug #14689: bootsnap gets object index out of range: 266287972352 (IndexError) since r63113
I have also validated the fix using "ruby 2.6.0dev (2018-04-18 trunk 63186) [x86_64-linux]"
Thank you.
yahonda (Yasuo Honda)
10:52 AM Feature #14594: Rethink yield_self's name
I actually liked the tip suggestion. rosenfeld (Rodrigo Rosenfeld Rosas)
04:03 AM Feature #14594: Rethink yield_self's name
I just like to stress that having an easy and short name is more important than having a name that correctly describe... sowieso (So Wieso)
10:11 AM Feature #14672: Introduce a Date.safe_parse method
As pointed out by @ahorek, is not really good to use, raise, catch exceptions in ruby because yes...they are slow.
A...
coorasse (Alessandro Rodi)
09:59 AM Feature #8573: Add String#format method(not an alias of String#%)
bozhidar (Bozhidar Batsov) wrote:
> naruse (Yui NARUSE) wrote:
> > Show concrete use case.
>
> How about simply:...
shyouhei (Shyouhei Urabe)
09:46 AM Feature #8573: Add String#format method(not an alias of String#%)
nobu (Nobuyoshi Nakada) wrote:
> Do you mean this?
>
> ```ruby
> def format(*args)
> sprintf(self, *args)
> ...
bozhidar (Bozhidar Batsov)
09:44 AM Feature #8573: Add String#format method(not an alias of String#%)
naruse (Yui NARUSE) wrote:
> Show concrete use case.
How about simply:
~~~ ruby
"Hello, %s %s!".format("Mr.",...
bozhidar (Bozhidar Batsov)
07:57 AM Bug #14695: [2.5.1] `===` is 1.77x slower than `match?`
baweaver (Brandon Weaver) wrote:
> It appears that `===` is running a bit slower than `match?`
Accurate observati...
shyouhei (Shyouhei Urabe)
07:30 AM Bug #14695 (Closed): [2.5.1] `===` is 1.77x slower than `match?`
Was evaluating some of the `===` implementations while testing and came across this one:
~~~ ruby
# ruby 2.5.1p57...
baweaver (Brandon Weaver)
07:41 AM Feature #14696 (Rejected): add optname SO_ORIGINAL_DST
SO_ORIGINAL_DST is defined at
https://github.com/torvalds/linux/blob/master/include/uapi/linux/netfilter_ipv4.h
g...
takafan (taka fan)
04:16 AM Bug #14693 (Closed): Segfault calling super+[] from redefined #backtrace
nobu (Nobuyoshi Nakada)
03:55 AM Bug #14693: Segfault calling super+[] from redefined #backtrace
`git bisect` shows that it is fixed at r61567.
And it seems to be introduced by [Feature #14141] r61154 (+ r61157).
wanabe (_ wanabe)
03:51 AM Bug #14691 (Closed): ANSI Erase in Line not working properly in Windows
Applied in changeset trunk|r63187.
----------
win32.c: fix CSI sequences to delete
* win32/win32.c (constat_apply):...
nobu (Nobuyoshi Nakada)
03:51 AM Revision 55d3ed4b (git): win32.c: fix CSI sequences to delete
* win32/win32.c (constat_apply): CSI 'J' and 'K' are defaulted to
1, not 0. [ruby-core:86560] [Bug #14691]
* win3...
nobu (Nobuyoshi Nakada)
02:07 AM Feature #14694 (Closed): TracePoint#parameters
Currently, we cannot get the block parameters' information in TracePoint b_call hooks.
Also, it is (possible but) no...
mame (Yusuke Endoh)

04/17/2018

11:18 PM Bug #14693 (Closed): Segfault calling super+[] from redefined #backtrace
~~~ text
opal:elia/errors-and-filenames-review ⤑ ruby -e 'class E < StandardError; def backtrace; super + []; end; e...
elia (Elia Schito)
07:52 PM Revision 0f6a6654 (git): lib/uri/generic.rb: fix error in docs for URI::Generic#opaque
* lib/uri/generic.rb: [DOC] fix description of URI::Generic#opaque,
and add an example. According to RFC2396, opaqu...
stomar (Marcus Stollsteimer)
07:49 PM Revision ed510458 (git): lib/uri/ldap.rb: fix errors in docs for URI::LDAP
* lib/uri/ldap.rb: [DOC] fix errors in example code
for URI::LDAP.build and URI::LDAP.new.
git-svn-id: svn+ssh://c...
stomar (Marcus Stollsteimer)
07:47 PM Revision 6a2b454b (git): lib/uri/file.rb: fix errors in docs for URI::File.build
* lib/uri/file.rb: [DOC] fix description and example for URI::File.build;
for file URIs the path component must be ...
stomar (Marcus Stollsteimer)
07:46 PM Revision 5665092f (git): * 2018-04-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:46 PM Revision c38cb436 (git): lib/uri/file.rb: improve docs for URI::File
* lib/uri/file.rb: [DOC] fix invalid example code for URI::File.build
to make it syntax highlighted; drop unnecessa...
stomar (Marcus Stollsteimer)
05:07 PM Feature #14684: IRB swallows exceptions
Hmm. Our hope would be to have this "easy" change back-ported to 2.3, 2.4, and 2.5 -- waiting until December to have ... RubyBugs (A Nonymous)
02:11 PM Feature #14684: IRB swallows exceptions
I changed the tracker to "Feature", as I thought it would not need to backport.
But branch maintainers may have diff...
nobu (Nobuyoshi Nakada)
01:35 PM Feature #14684: IRB swallows exceptions
@nobu:
Would it be possible to back-port this to Ruby 2.3, 2.4, and 2.5?
Or, would you be willing to review pat...
RubyBugs (A Nonymous)
04:56 PM Bug #14662: Stack consistency error in 2.5.1
Is there anything else I can do to help investigate this? jacobevelyn (Jacob Evelyn)
04:30 PM Misc #14692 (Assigned): Question: Ruby stdlib's Option Parser
Hi,
The documentation of OptionParser says for further I can ask questions here.
Is there way to disable comman...
xz0r (xz0r xz0r)
04:24 PM Bug #14691: ANSI Erase in Line not working properly in Windows
> has an off by one error
It's always these two major problems in the fields of computer and programming:
- Giv...
shevegen (Robert A. Heiler)
03:06 PM Bug #14691 (Closed): ANSI Erase in Line not working properly in Windows
When I run the following commands in either the Windows 10 Command Prompt
~~~
ruby -e 'puts "Hello world!\e[D\e[D...
rsranger65 (Alex Gittemeier)
03:38 PM Feature #14344: refine at class level
Thanks Benoit. A couple of suggestions would be:
~~~
anonymous_refine
inline_refine
class_refine
refining
ref...
kddnewton (Kevin Newton)
08:52 AM Revision 8cd5ccdc (git): test/ruby/test_super.rb: Remove unused assertions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:47 AM Revision a30d133a (git): The test for TracePoint with thread had never worked correctly
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:47 AM Revision fcdabb50 (git): The test for TracePoint#raised_exception had never worked correctly
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:47 AM Revision 2881a6d4 (git): Remove the old disabled assertions for 1.8/1.9
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:26 AM Revision 84934e4f (git): Enable the assertions that had been disabled for historical reason
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:26 AM Revision 03514572 (git): Remove the assertions that have no meaning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:18 AM Revision dae960ed (git): Remove the disabled old tests for Ruby 1.8/1.9 feature change
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:18 AM Revision 91596bb7 (git): Use assert(false) for the path that is expected unreachable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:18 AM Revision c80339d0 (git): test/date/test_date_base.rb: removed
It depends upon calendar.so which is not bundled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63173 b2dd03c8-3...
mame (Yusuke Endoh)
07:03 AM Revision c1d0768f (git): test/csv/test_features.rb: enable accidentally-disabled assertions
CSV.new does not yield the instance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63172 b2dd03c8-39d4-4d8f-98ff...
mame (Yusuke Endoh)
06:38 AM Revision 7735e2da (git): test/zlib/test_zlib.rb (test_path): enable the accidentally-disabled assertion
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
04:55 AM Feature #14688: Net::HTTPResponse#value raises "Net::HTTPServerException" in 4xx response
The described transition path makes sense (to me). shevegen (Robert A. Heiler)
04:12 AM Revision 7c35618c (git): string.c: suppress warning
* string.c (str_undump): get rid of warning C4129 by VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63170 b2d...
nobu (Nobuyoshi Nakada)
01:37 AM Bug #14690: Invalid CMDARG state after command_args followed by tLBRACE_ARG
Will this be backported and if yes to which versions? whitequark (whitequark *)
01:27 AM Bug #14690: Invalid CMDARG state after command_args followed by tLBRACE_ARG
Thank you! ibylich (Ilya Bylich)
01:22 AM Bug #14690 (Closed): Invalid CMDARG state after command_args followed by tLBRACE_ARG
Applied in changeset trunk|r63168.
----------
parse.y: fix cmdarg in command_args
* parse.y (call_args): fix invali...
nobu (Nobuyoshi Nakada)
01:22 AM Revision 2b63a94d (git): * 2018-04-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:22 AM Revision f168dbd9 (git): parse.y: fix cmdarg in command_args
* parse.y (call_args): fix invalid CMDARG state after command_args
followed by tLBRACE_ARG. [ruby-core:86551] [Bug...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom