Project

General

Profile

Activity

From 09/01/2018 to 09/07/2018

09/07/2018

09:03 PM Bug #15088: Leaky behaviour when GC disabled
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/15088

> 100_000.times do |i|
> "to_sym_#{i}".to...
normalperson (Eric Wong)
03:59 PM Bug #15088 (Rejected): Leaky behaviour when GC disabled
Hello
I've observed some leaky behaviour when creating dynamic Symbols ("string".to_sym) when GC is disabled. Crea...
william101 (William Tabi)
04:36 PM Bug #15078: Hash splat of empty hash should not create a positional argument.
marcandre (Marc-Andre Lafortune) wrote:
> First, I hope we can agree that `any(**{})` and `any(**Hash.new)` should h...
mame (Yusuke Endoh)
03:07 PM Bug #15087: Segmentation fault with splat and block
Good catch. My patch for #15052 will fix this issue. mame (Yusuke Endoh)
02:58 PM Bug #15087 (Closed): Segmentation fault with splat and block
The following code produces segmentation faults in Ruby 2.5.0, 2.5.1, and 2.6.0dev (2018-09-07 trunk 64656). This cod... jacobevelyn (Jacob Evelyn)
02:37 PM Revision 3c08f507 (git): ext/objspace/object_tracing.c (freeobj_i): fix missing assignment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:48 PM Feature #15066: Documentation and providing better API for accessing Complex numbers functions in C extensions

>
> > > Isn't it enough to just use rb_funcall() to call Ruby methods on Complex numbers?
>
> > Calling Ruby m...
v0dro (Sameer Deshmukh)
01:43 PM Revision 5af7cda5 (git): tool/node_name.rb: rewrote without flip-flop
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:28 AM Revision 164a93c8 (git): object_tracing.c: register TracePoint objects
* ext/objspace/object_tracing.c (trace_object_allocations_start): to
prevent TracePoint objects from GC, register t...
nobu (Nobuyoshi Nakada)
03:42 AM Revision 68df2b08 (git): test/ruby/test_ast.rb: assert error messages too
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:39 AM Revision 32aeb3dd (git): Refactor test
[Fix GH-1946]
From: Josh Cheek <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64653 b2dd0...
nobu (Nobuyoshi Nakada)
03:23 AM Revision 8eb96c61 (git): ext/objspace/object_tracing.c (freeobj_i): no lookup before delete
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:16 AM Revision 870c296d (git): * 2018-09-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:16 AM Revision 4ff0ce6a (git): ext/objspace/object_tracing.c: get rid of aliasing pointers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

09/06/2018

11:25 PM Feature #15085 (Rejected): Decrease memory cache usage of MJIT
MJIT makes ruby-methods faster by ordinary, but I have observed that some cases are exceptional.
I guess the one is ...
wanabe (_ wanabe)
06:50 PM Bug #15078: Hash splat of empty hash should not create a positional argument.
First, I hope we can agree that `any(**{})` and `any(**Hash.new)` should have the exact same result (for any definiti... marcandre (Marc-Andre Lafortune)
03:51 AM Bug #15078: Hash splat of empty hash should not create a positional argument.
It is also related to
https://bugs.ruby-lang.org/issues/11860
https://bugs.ruby-lang.org/issues/12022
https://bugs...
sawa (Tsuyoshi Sawada)
05:44 PM Bug #14716: SecureRandom throwing an error in Ruby 2.5.1
I worked around this problem by forcing `SecureRandom` to use the OpenSSL gem:
```ruby
module SecureRandom
if RUBY...
patbl (Patrick Brinich-Langlois)
05:42 PM Bug #14999: ConditionVariable doesn't reacquire the Mutex if Thread#kill-ed
[email protected] wrote:
> Issue #14999 has been updated by larskanis (Lars Kanis).
> > > So it seems it ...
normalperson (Eric Wong)
05:23 PM Bug #15084 (Closed): Backport r64476
This affects 2.4.4 as reported by Lars: [ruby-core:88852]
I expect it to affect all 2.x versions, even. [Bug #1499...
normalperson (Eric Wong)
11:28 AM Bug #15082: Memory leak in net/http/response and net/http/header
Upon further inspection, it seems duplicating long text with interpolation allocates an extra string(frozen). You can... chopraanmol1 (Anmol Chopra)
09:45 AM Bug #15082: Memory leak in net/http/response and net/http/header
It can be an issue related to MemoryProfiler or some edge case to ObjectSpace.trace_object_allocations_start
The f...
chopraanmol1 (Anmol Chopra)
06:23 AM Bug #15082 (Closed): Memory leak in net/http/response and net/http/header
Hello,
I'm observing a memory leak in net/http with the following script :
~~~
require "net/http"
require "bu...
alexis (Alexis Bernard)
09:24 AM Revision ad10b43f (git): re-patched r50599 because of test failure on TravisCI.
[Backport #14060]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@64649 b2dd03c8-39d4-4d8f-98ff-823fe...
U.Nakamura
03:53 AM Bug #14971: error: implicit declaration of function ‘rb_vm_call0
This issue has been masked by #15072, but has resurfaced.
@nobu: Ping!
duerst (Martin Dürst)
03:02 AM Revision 5b476b4a (git): Extracted file list for csv.gemspec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

09/05/2018

11:15 PM Bug #14885 (Closed): Is documenting-ruby a dead project?
Applied in changeset trunk|r64647.
----------
[DOC] Remove link to dead project
[Bug #14885] [ci skip]
znz (Kazuhiro NISHIYAMA)
11:15 PM Revision 7e08d60d (git): [DOC] Remove link to dead project
[Bug #14885] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
11:02 PM Bug #15078: Hash splat of empty hash should not create a positional argument.
It is not so trivial what it should be. If you look at only `foo(**{}) #=> [{}]` itself, it might be non-intuitive, ... mame (Yusuke Endoh)
04:22 PM Bug #15078 (Closed): Hash splat of empty hash should not create a positional argument.
Looks like #10856 is not completely fixed, but I can't reopen it
```
def foo(*args); args; end
foo(**{}) # => []...
marcandre (Marc-Andre Lafortune)
10:28 PM Bug #15080 (Closed): Work on Benchmark::Tms documentation
Fixes a couple issues with "+param+ is not documented" in lib/benchmark.rb
I would like to contribute more to the ...
shalmezad (Richard Wardin)
09:52 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
[email protected] wrote:
> Issue #13618 has been updated by MSP-Greg (Greg L).
>
>
> @normalperson Eric,
>...
normalperson (Eric Wong)
09:34 PM Revision 4204eacf (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:40 PM Bug #15079 (Closed): Documentation missing for Enumerator::Lazy#force
Applied in changeset trunk|r64645.
----------
enumerator.c: [DOC] Enumerator::Lazy#force [ci skip]
added documentat...
nobu (Nobuyoshi Nakada)
07:22 PM Bug #15079 (Closed): Documentation missing for Enumerator::Lazy#force
This isn't a bug with the ruby language, but rather with the documentation. (At http://ruby-doc.org/core-2.5.1/Enumer... parker (Parker Finch)
08:40 PM Revision c1cc8418 (git): enumerator.c: [DOC] Enumerator::Lazy#force [ci skip]
added documentation of Enumerator::Lazy#force, just to clarify that it
is an alias of an inherited method. [ruby-cor...
nobu (Nobuyoshi Nakada)
08:39 PM Revision ebff0059 (git): Add platform guards for AIX
* Most of these seem OS bugs.
* See https://rubyci.org/logs/rubyci.s3.amazonaws.com/aix71_ppc/ruby-trunk/log/20180905...
Eregon (Benoit Daloze)
08:39 PM Revision a140f157 (git): Guard a few specs which ipv6_available?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
08:02 PM Revision c46515e4 (git): backward.h: removed stale declarations
* include/ruby/backward.h (rb_complex_set_real, rb_complex_set_imag):
removed useless declarations which have been ...
nobu (Nobuyoshi Nakada)
07:06 PM Feature #14473 (Closed): Add Range#subrange?
Applied in changeset trunk|r64640.
----------
range.c: Range#cover? accepts Range object. [Feature #14473]
* range...
tarui (Masaya Tarui)
07:06 PM Revision de13863a (git): * 2018-09-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:06 PM Revision 9ca73892 (git): range.c: Range#cover? accepts Range object. [Feature #14473]
* range.c (range_cover): add code for range argument.
If the argument is a Range, check it is or is not
...
Masaya Tarui
05:17 PM Bug #15070: configure fails with (probably spurious) 'something wrong with CFLAGS="-g -O2 "' on macOS High Sierra
Thanks for the clue -- it looks like I had `CPPFLAGS=-L /usr/local/opt/[email protected]/include` set globally for some reaso... dmolesuc3 (David Moles)
05:05 PM Feature #14183: "Real" keyword argument
Let me add my voice to that of Benoit and Jeremy: the incompatibility is absolutely not worth it.
I believe that i...
marcandre (Marc-Andre Lafortune)
04:59 PM Feature #14183: "Real" keyword argument
mame (Yusuke Endoh) wrote:
> Braced hash and bare one are inconsistent, even in the current spec.
>
> ```
> def ...
marcandre (Marc-Andre Lafortune)
06:47 AM Feature #14183: "Real" keyword argument
mame (Yusuke Endoh) wrote:
> > BTW, `p foo: 1` will no longer work then, and `p({foo: 1})` would be required, which ...
mame (Yusuke Endoh)
03:01 AM Feature #14183: "Real" keyword argument
Eregon (Benoit Daloze) wrote:
> I would think the number of methods like debug() is a tiny fraction of the number of...
mame (Yusuke Endoh)
04:45 PM Bug #11993 (Rejected): foo(hash) is handled like foo(**hash)
First, `foo(b: 1)` has been exactly the same as `foo({b: 1})` since Ruby 1.8 at least. It is parsed exactly the same ... marcandre (Marc-Andre Lafortune)
04:11 PM Bug #11236: inconsistent behavior using ** vs hash as method parameter
When last argument is hash-like but has keys that are not symbols, we could output instead "wrong number of arguments... marcandre (Marc-Andre Lafortune)
03:44 PM Bug #14130: Keyword arguments are ripped from the middle of hash if argument have default value
This is a bug.
```
test1('River name' => 'Mississippi', length: 2000, 'Country' => 'USA')
# 3. SOURCE: {"River n...
marcandre (Marc-Andre Lafortune)
03:38 PM Bug #13647 (Open): Some weird behaviour with keyword arguments
nobu (Nobuyoshi Nakada) wrote:
> Just an idea to keep the original argument, if something left.
>
> https://githu...
marcandre (Marc-Andre Lafortune)
03:25 PM Bug #13336 (Closed): Default Parameters don't work
This is a duplicate of #12717, so closing this. marcandre (Marc-Andre Lafortune)
03:22 PM Bug #12717: Optional argument treated as kwarg
I believe this is as designed.
As I stated previously (https://bugs.ruby-lang.org/issues/11967#note-3), my underst...
marcandre (Marc-Andre Lafortune)
01:33 PM Revision 19dec2a1 (git): * append newline at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:33 PM Revision 60ebd4e2 (git): Merge csv-3.0.0 from ruby/csv repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
01:16 PM Revision 21ce539f (git): fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:15 PM Revision 24418e0c (git): AIX doesn't set OptionLength for boolean options
https://rubyci.org/logs/rubyci.s3.amazonaws.com/aix71_ppc/ruby-trunk/log/20180904T103302Z.fail.html.gz
https://www.ib...
naruse (Yui NARUSE)
12:18 PM Bug #14999: ConditionVariable doesn't reacquire the Mutex if Thread#kill-ed
@larskanis Thanks for the report.
I also noticed it happens on RubyCI for Ruby 2.4 and earlier
(example: https://ru...
Eregon (Benoit Daloze)
07:05 AM Bug #14999: ConditionVariable doesn't reacquire the Mutex if Thread#kill-ed
> > So it seems it doesn't happen in Ruby <= 2.5 due to thread
> > caching being disabled then?
>
> Right; b...
larskanis (Lars Kanis)
11:58 AM Feature #15076: Struct to raise error when keyword arguments used but not enabled
> Will it be clearer if a error is raised instead rather than assigning data incorrectly ?
With the current keywor...
k0kubun (Takashi Kokubun)
10:23 AM Feature #15076 (Rejected): Struct to raise error when keyword arguments used but not enabled
```ruby
Info = Struct.new(:name, :country, keyword_init: true)
c = Info.new(name: "myname", country: "Japan")
p c ...
nobu (Nobuyoshi Nakada)
08:29 AM Feature #15076 (Rejected): Struct to raise error when keyword arguments used but not enabled
When Struct is used to instantiate object with keyword arguments disabled and yet if instantiated using keyword argum... macdevign (Macdevign mac)
11:09 AM Feature #15066: Documentation and providing better API for accessing Complex numbers functions in C extensions
v0dro (Sameer Deshmukh) wrote:
> > Isn't it enough to just use rb_funcall() to call Ruby methods on Complex numbers?...
Eregon (Benoit Daloze)
07:37 AM Feature #15066 (Feedback): Documentation and providing better API for accessing Complex numbers functions in C extensions
v0dro (Sameer Deshmukh) wrote:
> > Isn't it enough to just use rb_funcall() to call Ruby methods on Complex numbers?...
nobu (Nobuyoshi Nakada)
04:54 AM Feature #15066: Documentation and providing better API for accessing Complex numbers functions in C extensions
> Isn't it enough to just use rb_funcall() to call Ruby methods on Complex numbers?
Calling Ruby methods in C exte...
v0dro (Sameer Deshmukh)
11:00 AM Feature #15074: Create 'official' C API documentation on ruby-doc.org
I think this would be nice to have. Matz often said that nobody minds if ruby
becomes faster :) - and I think nobody...
shevegen (Robert A. Heiler)
05:13 AM Feature #15074 (Open): Create 'official' C API documentation on ruby-doc.org
Currently working with Ruby C API is basically reading a bunch of random
blogs and coming up with a solution based o...
v0dro (Sameer Deshmukh)
06:18 AM Bug #15072 (Closed): thread.c:4356:5: error: implicit declaration of function ‘ubf_list_atfork’
That fix worked, thanks! Committed with r64635, okay on travis, not sure about other CIs. duerst (Martin Dürst)
04:03 AM Bug #15072: thread.c:4356:5: error: implicit declaration of function ‘ubf_list_atfork’
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/15072

I think copying the macro for win32 for ...
normalperson (Eric Wong)
03:01 AM Bug #15072 (Closed): thread.c:4356:5: error: implicit declaration of function ‘ubf_list_atfork’
When compiling on cygwin, I get the following error:
```
compiling thread.c
thread.c: In function ‘rb_thread_atf...
duerst (Martin Dürst)
06:04 AM Revision 4fcd9d70 (git): define ubf_list_atfork() as empty on cygwin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
01:32 AM Bug #15069 (Closed): Backport "suppress warning: 'const' attribute on function returning 'void' "
(Changing status to closed; it triggers backporting process. This doesn't mean rejection.) shyouhei (Shyouhei Urabe)

09/04/2018

11:57 PM Bug #15071 (Closed): RubyVM::MJIT.pause may cause deadlock after compaction
Sometimes I met thread-deadlock while waiting `RubyVM::MJIT.pause`.
Here is a terminal log.
```
$ ruby --disable...
wanabe (_ wanabe)
11:29 PM Bug #15070 (Feedback): configure fails with (probably spurious) 'something wrong with CFLAGS="-g -O2 "' on macOS High Sierra
dmolesuc3 (David Moles) wrote:
> ```
> configure:7249: checking whether CFLAGS is valid
> configure:7262: gcc -c -...
nobu (Nobuyoshi Nakada)
04:49 PM Bug #15070: configure fails with (probably spurious) 'something wrong with CFLAGS="-g -O2 "' on macOS High Sierra
Oops, the `config.log` I linked there was from the rvm attempt. But the tarball version [here](https://gist.github.co... dmolesuc3 (David Moles)
04:22 PM Bug #15070 (Closed): configure fails with (probably spurious) 'something wrong with CFLAGS="-g -O2 "' on macOS High Sierra
## Description
`./configure` fails for Ruby 2.5.1 on macOS High Sierra (10.13.6) with Xcode 9.4.1 (clang-902.0.39....
dmolesuc3 (David Moles)
11:10 PM Revision 0401099c (git): * 2018-09-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:10 PM Revision 5e4627c2 (git): random.c: fix up r64596
* random.c (fill_random_bytes_syscall): check if the version macro is
defined, for very old Mac OS X development to...
nobu (Nobuyoshi Nakada)
10:46 PM Feature #14183: "Real" keyword argument
I agree with Jeremy here, the current idea seems too incompatible and will require too many changes (no matter the ga... Eregon (Benoit Daloze)
09:36 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
@normalperson Eric,
I applied the two patches in 'note 139', and three test suites stopped.. With test-all runni...
MSP-Greg (Greg L)
03:17 PM Bug #15069 (Closed): Backport "suppress warning: 'const' attribute on function returning 'void' "
The files `include/ruby/intern.h` and `include/ruby/ruby.h` are used for extension builds, and when a recent gcc is c... larskanis (Lars Kanis)
02:24 PM Bug #15057 (Rejected): REXML::Text#value returns a double unescaped string in non-raw mode
> 了解しました。atomutil の方にはこちらから報告しておきます。
ありがとうございます。では、このチケットはクローズしておきます。
kou (Kouhei Sutou)
07:08 AM Bug #15057: REXML::Text#value returns a double unescaped string in non-raw mode
>> This ignores the 'raw' attribute setting
>
> と書いているので、rawのときもそうじゃないときも期待した挙動にするのは、互換性を維持したままではムリなんですよねぇ。
> ...
rna (Ryosuke Nanba)
05:12 AM Bug #15057: REXML::Text#value returns a double unescaped string in non-raw mode
ありがとうございます。確認できました。
現状の動きが変だという気持ちはわかるのですが、`Text#value`のドキュメントに
> This ignores the 'raw' attribute setting
と...
kou (Kouhei Sutou)
12:41 PM Revision 52a23d56 (git): rational.c: remove duplicate macros
* rational.c (RRATIONAL_SET_{NUM,DEN}): also defined in internal.h
since r53887.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
12:30 PM Revision 868ad210 (git): ruby.h: removed internal macros
* include/ruby/ruby.h (RCOMPLEX_SET_REAL, RCOMPLEX_SET_IMAG): removed
macros for internal use, which have been expo...
nobu (Nobuyoshi Nakada)
12:22 PM Feature #14594: Rethink yield_self's name
And I like pipe too, maybe even more. rosenfeld (Rodrigo Rosenfeld Rosas)
12:21 PM Feature #14594: Rethink yield_self's name
I liked to_be as well. rosenfeld (Rodrigo Rosenfeld Rosas)
02:48 AM Feature #14594: Rethink yield_self's name
This looks **to_be** perfect, I really like this idea! sowieso (So Wieso)
11:38 AM Feature #15066: Documentation and providing better API for accessing Complex numbers functions in C extensions
Isn't it enough to just use rb_funcall() to call Ruby methods on Complex numbers? Eregon (Benoit Daloze)
09:25 AM Feature #15066: Documentation and providing better API for accessing Complex numbers functions in C extensions
`RCOMPLEX_SET_REAL` and `RCOMPLEX_SET_IMAG` are internal macros, and so I think they should not be used outside. nobu (Nobuyoshi Nakada)
06:41 AM Feature #15066 (Closed): Documentation and providing better API for accessing Complex numbers functions in C extensions
Currently there is absolutely no documentation for working with Complex numbers at the level of the C API.
Apart f...
v0dro (Sameer Deshmukh)
09:10 AM Misc #14981: DevelopersMeeting20180913Japan
* [Bug #14908] Enumerator::Lazy creates unnecessary Array objects
* Proposed solution is to change arity of Enumer...
chopraanmol1 (Anmol Chopra)
08:39 AM Revision 1cf2bb4b (git): use mingw ANSI stdio
[Bug #13496]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:47 AM Bug #15067 (Closed): library/socket/socket/getnameinfo_spec.rb always errors with multiple IP addresses hostname
If the hostname is bind with multiple IP addresses, `Socket.getnameinfo` raises `SocketError`.
It's the spec of this...
usa (Usaku NAKAMURA)
05:28 AM Revision fb7a5690 (git): bootstraptest update test_io.rb [Bug #15060] [Fix GH-1495]
From: MSP-Greg <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64629 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)
03:41 AM Bug #15060 (Closed): Broken Appveyor MinGW build - fix GH PR 1945
Applied in changeset trunk|r64628.
----------
Spec updates [Bug #15060] [Fix GH-1495]
From: MSP-Greg <greg.mpls@gma...
nobu (Nobuyoshi Nakada)
03:41 AM Revision 3fa8d5ba (git): Spec updates [Bug #15060] [Fix GH-1495]
From: MSP-Greg <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64628 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)
02:19 AM Revision e4b11728 (git): appveyor.yml: fix PATH and env for msys2
based on the patch by MSP-Greg at #1945.
Co-authored-by: MSP-Greg <[email protected]>
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
02:18 AM Revision 2cbf44e5 (git): appveyor.yml: reduce matrix factors
* appveyor.yml (environment): separate matrix factors by `build` (`vs`
or `msys2`), and `build` (and `vs` version i...
nobu (Nobuyoshi Nakada)
01:42 AM Bug #15039 (Closed): Random.urandom and SecureRandom arc4random use
Applied in changeset trunk|r64625.
----------
avoid fork-unsafe arc4random implementations
Some old implementaions ...
shyouhei (Shyouhei Urabe)
01:42 AM Revision b120f5e3 (git): avoid fork-unsafe arc4random implementations
Some old implementaions of arc4random_buf(3) were ARC4 based, or
unsafe when forked, or both. Resort to /dev/urandom...
shyouhei (Shyouhei Urabe)
12:12 AM Revision 183ac396 (git): * 2018-09-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:12 AM Revision 6853c9e1 (git): RubyGems installer.rb - fix up my mistakes in r64582
From: MSP-Greg <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64623 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)

09/03/2018

03:29 PM Bug #15039: Random.urandom and SecureRandom arc4random use
shyouhei (Shyouhei Urabe) wrote:
> @naruse Are you willing to provide a fix for this? Or can I commit the proposed #...
naruse (Yui NARUSE)
01:04 AM Bug #15039: Random.urandom and SecureRandom arc4random use
@naruse Are you willing to provide a fix for this? Or can I commit the proposed #if guard? shyouhei (Shyouhei Urabe)
01:52 PM Revision aa5d9928 (git): Use unpack1 instead of unpack and `[0]`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:08 PM Misc #15053: Using -fstack-protector-strong instead of -fstack-protector conditionally.
Thank you for fixing this issue quickly!
jaruga (Jun Aruga)
11:07 AM Bug #14966: 2.5 branch - Appveyor failures - backport missed line
Hello Greg,
Thank you very much for your notice.
I have applied your patch at r64621 in ruby_2_5 branch.
nagachika (Tomoyuki Chikanaga)
11:04 AM Revision bf0dcd5b (git): test/test_tmpdir.rb(TRAVERSAL_PATH): re-apply r62990 partially. [Backport #14966]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@64621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
09:07 AM Bug #14880: Time#localtime doesn't always seem to respect TZ
nobu (Nobuyoshi Nakada) wrote:
> I feel it'd be better to accept a timezone object as `utc_offset` like [Feature #14...
ioquatix (Samuel Williams)
07:41 AM Bug #14880: Time#localtime doesn't always seem to respect TZ
I feel it'd be better to accept a timezone object as `utc_offset` like [Feature #14850], than setting `ENV`.
nobu (Nobuyoshi Nakada)
09:07 AM Bug #15027: When Struct#each method is overriden Struct#select and Struct#to_a use wrong collections
@matz: is the patch from Nobu good enough? Hanmac (Hans Mackowiak)
08:20 AM Bug #13496 (Closed): Patches for MinGW builds - gnu_printf in 'config' & defines.h
Applied in changeset trunk|r64620.
----------
Declare as gnu_printf on mingw
[Bug #13496]
From: MSP-Greg <MSP-Greg...
nobu (Nobuyoshi Nakada)
08:20 AM Revision c115b39e (git): Declare as gnu_printf on mingw
[Bug #13496]
From: MSP-Greg <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6...
nobu (Nobuyoshi Nakada)
07:39 AM Misc #14981: DevelopersMeeting20180913Japan
* [Feature #14850] Add official API for setting timezone on Time (nobu)
* a patch posted.
nobu (Nobuyoshi Nakada)
01:07 AM Misc #14981: DevelopersMeeting20180913Japan
* https://github.com/ruby/ruby/pull/1943
* I want a review by other core devs.
shyouhei (Shyouhei Urabe)
05:40 AM Bug #15057: REXML::Text#value returns a double unescaped string in non-raw mode
> atomutilでそうなるケースを試してみたいので再現するAtomとサンプルコードを提供してもらえませんか?
これでどうでしょう?
~~~
require 'atomutil'
entry = Atom::Entr...
rna (Ryosuke Nanba)
12:21 AM Bug #15057: REXML::Text#value returns a double unescaped string in non-raw mode
なるほど。
atomutilでそうなるケースを試してみたいので再現するAtomとサンプルコードを提供してもらえませんか?
kou (Kouhei Sutou)
02:35 AM Feature #14183: "Real" keyword argument
jeremyevans0 (Jeremy Evans) wrote:
> mame (Yusuke Endoh) wrote:
> > This change seems to remind you the breaking ...
duerst (Martin Dürst)
02:02 AM Bug #15060 (Closed): Broken Appveyor MinGW build - fix GH PR 1945
Currently, the MinGW build is broken. See https://github.com/ruby/ruby/pull/1945
Comparing the build summaries, t...
MSP-Greg (Greg L)

09/02/2018

11:27 PM Feature #13050 (Closed): Readline: expose rl_completion_quote_character variable
Applied in changeset trunk|r64618.
----------
Readline: expose rl_completion_quote_character variable
[Feature #130...
nobu (Nobuyoshi Nakada)
11:27 PM Revision 5cde9a39 (git): * 2018-09-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:27 PM Revision 074f1c91 (git): Readline: expose rl_completion_quote_character variable
[Feature #13050]
From: georgebrock (George Brocklehurst) <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
05:29 PM Bug #15057: REXML::Text#value returns a double unescaped string in non-raw mode
> DOMでもnodeValueの値は実体参照を解決した値になるので今の挙動で問題ないように思うんですが、
JavaScript の DOM でも `Text` のコンストラクタ引数で渡した文字列はパースの対象にならずにそのまま...
rna (Ryosuke Nanba)
01:20 PM Bug #15057 (Feedback): REXML::Text#value returns a double unescaped string in non-raw mode
DOMでも`nodeValue`の値は実体参照を解決した値になるので今の挙動で問題ないように思うんですが、どんなユースケースで使おうとして今の挙動は間違っていると考えたか教えてもらえますか?
> 非rawモードではコンストラクタ...
kou (Kouhei Sutou)
09:22 AM Bug #15057 (Rejected): REXML::Text#value returns a double unescaped string in non-raw mode
`REXML::Text` オブジェクトが非rawモードの場合、`REXML::Text#value` がエスケープ済みのテキストを二重にエスケープ解除された文字列を返します。
例:
~~~
require 'rexml/d...
rna (Ryosuke Nanba)
03:47 PM Feature #14850: Add official API for setting timezone on Time
Here is a [patch] to extend `Time.new` and `Time#getlocal` for timezone support.
A timezone object should have `loca...
nobu (Nobuyoshi Nakada)
02:35 PM Feature #14594: Rethink yield_self's name
I suggest aliasing `#yield_self` with **#to_be**. The `to_` prefix suggest returning a value while [the word "be"](ht... RichOrElse (Ritchie Buitre)
01:55 PM Bug #15058 (Closed): REXML::Text#clone returns a text node with a double escaped Sting
たしかにその通りですね。
そうなるようにしておきました。
近いうちにこの修正が入ったrexml gemをリリースしておきます。
kou (Kouhei Sutou)
09:25 AM Bug #15058 (Closed): REXML::Text#clone returns a text node with a double escaped Sting
`REXML::Text#clone` で生成したオブジェクトが元のオブジェクトと異なる値を持ったテキストノードになります。clone されたテキストノードの `to_s` の値は、元のテキストノードが表現する文字列を二重にエスケープ... rna (Ryosuke Nanba)
11:23 AM Bug #14942: Windows7でコンソールに長い文字列を出力できない
ruby_2_5 r64617 merged revision(s) 64092. nagachika (Tomoyuki Chikanaga)
11:23 AM Revision 6d9932a2 (git): merge revision(s) 64092: [Backport #14942]
win32.c: limit write size on console
* win32/win32.c (constat_parse): split long buffer and limit write
...
nagachika (Tomoyuki Chikanaga)
11:21 AM Bug #14941: WindowsでARGVの文字列に汚染マークが付いてない
ruby_2_5 r64616 merged revision(s) 64071. nagachika (Tomoyuki Chikanaga)
11:20 AM Revision e20d3698 (git): merge revision(s) 64071: [Backport #14941]
ruby.c: taint ARGV on Windows
* ruby.c (external_str_new_cstr): strings come from the external
sho...
nagachika (Tomoyuki Chikanaga)
09:32 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
> https://bugs.ruby-lang.org/issues/13618
>
> I have at least one more preparatory change which should be fairly
...
normalperson (Eric Wong)
07:10 AM Feature #15049: [Request] Easily access all keyword arguments within a method
@duerst
> Maybe I'm totally confused, but what's wrong with using `**keyword_arguments`?
I am not the ticket's ...
zverok (Victor Shepelev)
06:11 AM Feature #15049 (Feedback): [Request] Easily access all keyword arguments within a method
Maybe I'm totally confused, but what's wrong with using **keyword_arguments? duerst (Martin Dürst)
03:50 AM Misc #15053 (Closed): Using -fstack-protector-strong instead of -fstack-protector conditionally.
Applied in changeset trunk|r64614.
----------
configure.ac: -fstack-protector-strong
* configure.ac: use -fstack-pr...
nobu (Nobuyoshi Nakada)
03:49 AM Revision f7717185 (git): * 2018-09-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:49 AM Revision c8ccdbfe (git): configure.ac: -fstack-protector-strong
* configure.ac: use -fstack-protector-strong if available instead of
-fstack-protector conditionally. [ruby-core:8...
nobu (Nobuyoshi Nakada)
03:43 AM Revision 8d50ddda (git): test/ruby/test_io.rb (test_select_leak): extend timeout for Arch Linux[Backport 14929]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@64613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)

09/01/2018

04:19 PM Bug #15039: Random.urandom and SecureRandom arc4random use
shyouhei (Shyouhei Urabe) wrote:
> While I'm not against these points, I feel it is not a good idea to wait for such...
Freaky (Thomas Hurst)
11:16 AM Bug #15039: Random.urandom and SecureRandom arc4random use
Freaky (Thomas Hurst) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
> > As the maintainer of the OpenBSD ruby port, I...
shyouhei (Shyouhei Urabe)
04:14 PM Bug #15027: When Struct#each method is overriden Struct#select and Struct#to_a use wrong collections
Thank you for the code @nobu. I have applied Nobu's suggestion, please find updated patch in the attach.
> If you...
bruno (Bruno Sutic)
01:22 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
> https://bugs.ruby-lang.org/issues/13618

Greg, do you think you can try this change for portability?
No rush, t...
normalperson (Eric Wong)
10:50 AM Revision cf85c2ef (git): bump up patchlevel for r64611
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@64612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
10:49 AM Revision 8fea37fc (git): test/ruby/test_io.rb (test_select_leak): extend timeout [Bug 14929]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@64611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
07:34 AM Revision 929e9713 (git): complex.c: simplify division result
* complex.c (f_divide): canonicalize rationals to simplify integer
complex results.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
06:59 AM Revision 9563db5e (git): Re-try to add workaround for warnings
```
.../ext/psych/lib/psych/versions.rb:4: warning: already initialized constant Psych::VERSION
.../.ext/common/psych...
znz (Kazuhiro NISHIYAMA)
06:19 AM Revision 480a21f4 (git): RSTRING_PTR may not be terminated in the future
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:14 AM Revision 8c90838f (git): 10**3 is always 1000
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:14 AM Revision dcd4914b (git): adjust indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:40 AM Bug #14929: [PATCH] thread.c (do_select): fix leak on exception
ruby_2_5 r64605 merged revision(s) 64007,64019,64020. nagachika (Tomoyuki Chikanaga)
05:40 AM Revision c91b7154 (git): merge revision(s) 64007,64019,64020: [Backport #14929]
thread.c (do_select): fix leak on exception
When do_select is interrupted and raise happens from
RUB...
nagachika (Tomoyuki Chikanaga)
04:09 AM Revision c4816a11 (git): surround macro block with do/while
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:31 AM Bug #14926: Different results between Enumerable#sum and #reduce when Float::INFINITY present
ruby_2_5 r64603 merged revision(s) 64014. nagachika (Tomoyuki Chikanaga)
02:31 AM Revision 2c26edc1 (git): merge revision(s) 64014: [Backport #14926]
fix sum on infinity
* array.c (rb_ary_sum): consider non-finite floats.
[ruby-core:88024] [Bug #14...
nagachika (Tomoyuki Chikanaga)
02:03 AM Bug #14920: Backport r63857 to fix performance problem on Time class in MacOs systems
ruby_2_5 r64602 merged revision(s) 63994. nagachika (Tomoyuki Chikanaga)
02:03 AM Revision f6369743 (git): merge revision(s) 63994: [Backport #14920]
reduce tzset
* time.c (rb_localtime_r): call tzset() only after TZ environment
variable is changed...
nagachika (Tomoyuki Chikanaga)
01:37 AM Revision ba3da085 (git): [DOC] Add %Q and %+ to strptime [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:32 AM Feature #14183: "Real" keyword argument
jeremyevans0 (Jeremy Evans) wrote:
> Changing the callee side will not fix all cases. The `where` method supports mo...
mame (Yusuke Endoh)
 

Also available in: Atom