Activity
From 08/27/2017 to 09/02/2017
09/02/2017
-
08:02 PM Bug #13861: Performance regressoion in Hash literal in Ruby 2.5.0-dev
- watson1978 (Shizuo Fujita) wrote:
> Seems Ruby 2.5.0-dev has performance regression in Hash literal.
Similar results on MinGW Win7 gcc 7.1.0 using ruby for both
```
ruby 2.5.0dev (2017-09-02 trunk 59723) [x64-mingw32]
ruby 2.4.1p1... -
07:15 PM Bug #13861 (Third Party's Issue): Performance regressoion in Hash literal in Ruby 2.5.0-dev
- Seems Ruby 2.5.0-dev has performance regressoion in Hash literal.
I've confirmed it with below benchmark script
Hash literal performance -> 35.7 % slow down since Ruby 2.4.1
### Environment
* Ubuntu 17.04
* gcc version 7.0.1
... -
02:11 PM Feature #13667 (Feedback): Add Coverage.running? to quickly check if Coverage is enabled.
- I applied the patch proposed. After that, however, I'm now considering reverting it.
I noticed that this feature may be dangerous. By using this, we can easily write a program that changes its behavior only under coverage measuremen... -
01:55 PM Revision f34090ca (git): test/coverage/test_coverage.rb: run the tests in separated processes
- The tests had been disabled under coverage measurement (during
`ENV['COVERAGE']`), since they call `Coverage.result` which stops
coverage measurement.
So, we couldn't measure both C-level and Ruby-level coverage of Ruby
simultaneously.
I... -
10:10 AM Feature #13860 (Open): A proposal for a new, simpler class-method addition to Time - for the time being calling it Time.date() but another name is fine; and the ability to omit '%' tokens as arguments to it
- Hello ruby-folks,
On reddit someone linked in this:
http://www.w3school.in/w3schools/php-tutorial/php-date-time
Just in the event that this may not be available lateron, or nobody
wants to look at external links, I'll very br... -
07:37 AM Misc #13704: [PATCH] Exclude Changelog files from documentation.
- Nice, thank you!
-
06:58 AM Bug #13769: IPAddr#ipv4_compat incorrect behavior
- I guess `::` and `::1` are the only exceptions listed because they are the only IPv6 addresses with the 80+16 bit zero prefix that already have special, conflicting meanings as IPv6 address, so I consider it was practically reasonable en...
-
06:17 AM Revision 1e9fad23 (git): proc.c: [DOC] fixup r59720
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:05 AM Bug #13858 (Closed): getoptlong cannot process multiple line argument with equal sign (=) version
- Applied in changeset trunk|r59722.
----------
getoptlong.rb: multiline regexps
* lib/getoptlong.rb: make regexps multiline safe.
[ruby-core:82627] [Bug #13858] -
02:05 AM Revision 0f6e7edf (git): getoptlong.rb: multiline regexps
- * lib/getoptlong.rb: make regexps multiline safe.
[ruby-core:82627] [Bug #13858]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:47 AM Bug #13859 (Closed): Segfault running `Fiber#inspect` on trunk
- Applied in changeset trunk|r59721.
----------
cont.c: fix root fiber to_s
* cont.c (fiber_to_s): fix Fiber#to_s on root fibers which have no
procs. [ruby-core:82629] [Bug #13859] -
01:47 AM Revision 04659165 (git): cont.c: fix root fiber to_s
- * cont.c (fiber_to_s): fix Fiber#to_s on root fibers which have no
procs. [ruby-core:82629] [Bug #13859]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:41 AM Revision caf92db4 (git): Add Method#original_name code example [ci skip]
- * proc.c (method_original_name): [DOC] add code example.
[Fix GH-1693]
Author: Seiei Miyagi <hanachin@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:08 AM Bug #13855 (Closed): Hash#compact! returns nil if the hash is empty
- Applied in changeset trunk|r59719.
----------
Update Hash#compact! documentation [ci skip]
* hash.c (rb_hash_compact_bang): [DOC] update the case if no
changes were made. [ruby-core:82591] [Bug #13855] [Fix GH-1692]
Author: Luca... -
01:08 AM Revision 0118b985 (git): Update Hash#compact! documentation [ci skip]
- * hash.c (rb_hash_compact_bang): [DOC] update the case if no
changes were made. [ruby-core:82591] [Bug #13855] [Fix GH-1692]
Author: Lucas Buchala <lucasbuchala@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59719 b... - 12:26 AM Revision d0501060 (git): * 2017-09-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:26 AM Revision 08d06114 (git): * ext/win32ole/win32ole.c (fole_initialize): fix typo. thanks to Gray Wolf.
- [Feature #13828]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/01/2017
-
10:31 PM Feature #13828: Win32ole extension should support licensed COM servers
- Looking at trunk|r59665, there a typo `keyward_ids`, dunno if it's worth fixing.
-
10:26 PM Bug #13859 (Closed): Segfault running `Fiber#inspect` on trunk
- I started encountering segfaults on ruby-head in the test suite for neovim-ruby a couple weeks ago (e.g. https://travis-ci.org/alexgenco/neovim-ruby/jobs/268931902).
After some digging, it looks like the segfaults are being caused by ... -
07:14 PM Bug #13670: [BUG] Bus Error at 0xefce7b (armv7l) (ruby 2.3.4p301)
- Could you try trunk or Ruby 2.4.1 and provide how to reproduce the issue?
I have armv7l-linux-eabihf environment and I'll try it. -
04:51 PM Bug #13858 (Closed): getoptlong cannot process multiple line argument with equal sign (=) version
- Here is the test case:
# more getopt.rb
require 'getoptlong'
a=GetoptLong.new(
[ '--user', '-u', GetoptLong::REQUIRED_ARGUMENT ],
[ '--statement', '-s', GetoptLong::REQUIRED_ARGUMENT ],
)
a.each {... -
04:09 PM Bug #13794: Infinite loop of sched_yield
- Hi Eric,
I have been testing your original patch (just the PID check) for a couple of days and it appears to have resolved the problem. I will report on this again in 1 week as the issue occurs quite randomly but I am currently hopefu... -
03:18 PM Feature #13847: Gem activated problem for default gems
- Shouldn't the focus be on why the OpenSSL is loaded at the first place?
-
02:58 PM Feature #13667 (Closed): Add Coverage.running? to quickly check if Coverage is enabled.
- Applied in changeset trunk|r59716.
----------
ext/coverage/coverage.c: add Coverage.enabled?
* ext/coverage/coverage.c (rb_coverage_running): add to quickly
check if coverage is enabled. patched by Burke Libbey <burke AT
libbey.me> in... -
02:58 PM Revision 95d949d5 (git): ext/coverage/coverage.c: add Coverage.enabled?
- * ext/coverage/coverage.c (rb_coverage_running): add to quickly
check if coverage is enabled. patched by Burke Libbey <burke AT
libbey.me> in [ruby-core:81726]. [Feature #13667]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59716 ... -
12:10 PM Bug #13857: frozen string literal: can freeze same string into two unique frozen strings
- Or maybe a String#freeze which returns an already existing frozen literal if such already exists. I think that the #downcase result makes sense, and would break existing code otherwise.
To sum it up, this is what I think could make se... -
11:19 AM Bug #13857: frozen string literal: can freeze same string into two unique frozen strings
- OK, I see what you want. So maybe what is wanted is a String#downcase variant which "inherits" frozenness of the source string. That way we can dedup them when necessary. I think there are rooms for such feature. Not sure how to achi...
-
10:54 AM Bug #13857: frozen string literal: can freeze same string into two unique frozen strings
- Please don't get me wrong, I'm not arguing that the spec for the feature is vague.
I understood that the introduction of the feature was to reduce memory consumption in template generation (like erb templates), and to avoid those `CON... -
10:08 AM Bug #13857: frozen string literal: can freeze same string into two unique frozen strings
- chucke (Tiago Cardoso) wrote:
> > These are not literals, so not subjects of frozen-string-literal.
> ...
Literals are literals. Those `c.downcase`-generated strings definitely aren't. I don't see any implementation details here. -
09:31 AM Bug #13857: frozen string literal: can freeze same string into two unique frozen strings
- chucke (Tiago Cardoso) wrote:
> According to the principle of least surprise, I'd expect them to be the same.
And proposals based on "the principle of least surprise" will be rejected in common.
It's not our "principle". -
09:28 AM Bug #13857: frozen string literal: can freeze same string into two unique frozen strings
- chucke (Tiago Cardoso) wrote:
> > These are not literals, so not subjects of frozen-string-literal.
> ...
It's not an implementation detail, but a language spec. -
09:27 AM Bug #13857: frozen string literal: can freeze same string into two unique frozen strings
- > These are not literals, so not subjects of frozen-string-literal.
I'd argue, that's an implementation detail. According to the principle of least surprise, I'd expect them to be the same. -
09:22 AM Bug #13857 (Rejected): frozen string literal: can freeze same string into two unique frozen strings
- chucke (Tiago Cardoso) wrote:
> Running an interpreter with `--enable-frozen-string-literal` on, I get the following:
> ...
These are not literals, so not subjects of frozen-string-literal.
BTW:
> ```ruby
> ...
Hash key strings ... -
07:16 AM Bug #13857 (Rejected): frozen string literal: can freeze same string into two unique frozen strings
- Running an interpreter with `--enable-frozen-string-literal` on, I get the following:
```ruby
> "bang".object_id #=> 70303434940940 GOOD!
> ...
```
This ticket concerns the last two examples. In the case of performing an operati... -
10:22 AM Bug #12598 (Closed): List files with Unicode license in LEGAL file
- Applied in changeset trunk|r59715.
----------
replace copyrights by explanatory text in data files for GB2312/GB12345 mappings
Replace the copyrights and explanatory texts in the data files used for mapping
GB2312/GB12345 to/from Unico... -
10:09 AM Bug #12598: List files with Unicode license in LEGAL file
- To give some more details on what Hiroshi wrote, what happened (actually upstreams, not at Ruby itself) is that somebody took some of the Unicode data files and used them to produce a product supporting Unicode, as permitted in the copyr...
-
05:50 AM Bug #12598: List files with Unicode license in LEGAL file
- I discussed UCD license on the Ruby language with Prof. Martin.
enc/trans/GB/*.src files have a wrong license holder message about UCD. Example: its message points another dataset.
We will put a disclaimer message into a top of enc/t... -
10:22 AM Revision 3d46d51c (git): replace copyrights by explanatory text in data files for GB2312/GB12345 mappings
- Replace the copyrights and explanatory texts in the data files used for mapping
GB2312/GB12345 to/from Unicode with short explanatory texts. [Bug #12598] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59715 b2dd03c8-39d4-4d... -
08:30 AM Feature #13581: Syntax sugar for method reference
- Consider the following:
~~~ ruby
def get_method(sym, object = Object)
object.send(:method, sym)
end
~~~
This allows us to write code like:
~~~ ruby
[1, 4, 9].map &get_method(:sqrt, Math)
~~~
So as an idea, how abo... -
06:36 AM Feature #13581: Syntax sugar for method reference
- What about triple colon `:::`?
```ruby
[1,2,3].map(&Math:::sqrt)
[1,2,3].each(&:::puts)
```
`::` is for looking up constants, so it kind of makes sense that `:::` is for looking up methods. -
06:15 AM Feature #13581: Syntax sugar for method reference
- Another pretty unholy idea: resemble the way Ruby docs document the methods:
```ruby
[1,2,3].map(&Math#sqrt)
%w[foo bar baz].each(&#puts)
```
Yes, it conflicts with comment syntax, but in fact, no sane person should join the com... -
12:56 AM Feature #13581: Syntax sugar for method reference
- How about `obj.{method_name}` for the syntax sugar of `obj.method(:method_name)`?
-
08:16 AM Revision fc188f16 (git): object.c: fix potential oob write in rb_str_to_dbl()
- Ensure space for the terminating NUL byte. Note that this code path is
reachable only when Ruby is compiled with SHARABLE_MIDDLE_SUBSTRING=1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:57 AM Misc #13747 (Closed): MinGW trunk build available on Appveyor
- MSP-Greg (Greg L) wrote:
> I'm fine with you closing this whenever you'd like.
Done. -
01:50 AM Misc #13747: MinGW trunk build available on Appveyor
- naruse (Yui NARUSE) wrote:
> Thank you for providing CI for mingw.
> ...
Thank you, and thank you for the offer. At present, given what time I have for OSS, my priorities are:
1. Encourage more extension gems to test with MinGW bui... -
04:29 AM Feature #13563: Implement Hash#choice method.
- I vote for `Hash#slice` that is ActiveSupport compatible.
Matz.
-
04:03 AM Feature #13604 (Assigned): Exposing alternative interface of readline
- @kouji or @nobu
Can you review this patch? -
03:55 AM Feature #13822: Time.dst_changes(t=Time.now.year)
- Usually Ruby itself doesn't have such information by itself.
It just calls localtime(3).
If you want to have information related timezone database, you should use tzinfo.gem.
https://rubygems.org/gems/tzinfo -
03:39 AM Misc #13704: [PATCH] Exclude Changelog files from documentation.
- @larskanis
We discussed this issue on Developer Meeting.
There is no objection to your request.
I'm ok to merge your patch.
Thank you.
-
03:34 AM Misc #13704 (Closed): [PATCH] Exclude Changelog files from documentation.
- Applied in changeset trunk|r59713.
----------
Exclude Changelog files from documentation.
Patch from larskanis (Lars Kanis).
[Misc #13704][ruby-core:81878] -
03:34 AM Revision 99d64640 (git): Exclude Changelog files from documentation.
- Patch from larskanis (Lars Kanis).
[Misc #13704][ruby-core:81878]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:31 AM Feature #13849: Show --dump options in help
- Changed implementation to (1).
https://github.com/ruby/ruby/pull/1688
https://github.com/sonots/ruby/blob/d762ee5c1648da5a2b82c19c106fcc219b92df61/ruby.c -
02:52 AM Feature #13849: Show --dump options in help
- !! So, (1) was fine.
Hmm, I feel showing everything by one command makes easier to find options, so I will change implementation to (1). -
02:31 AM Feature #13849: Show --dump options in help
- sonots (Naotoshi Seo) wrote:
> I feel (2) is better based on the matz principle to keep help as compact as possible.
Compact help is `-h`, `--help` doesn't need to be.
-
12:46 AM Feature #13849: Show --dump options in help
- Sorry for raising a discussion again.
I noticed that Features list are shown bottom at --help.
```
$ ruby --help
...
--enable=feature[,...], --disable=feature[,...]
enable or disable features
--external-enc... -
02:57 AM Feature #13803: Add Socket::Ifaddr.vhid on supported platforms
- I also confirmed to build success with FreeBSD 11.0-RELEASE-p1
-
02:42 AM Bug #13856 (Closed): MinGW / mswin intermittent failure in test/socket/test_socket.rb
- Recently, there have been two Appveyor fails, [first](https://ci.appveyor.com/project/ruby/ruby/build/1.0.5036) and [second](https://ci.appveyor.com/project/ruby/ruby/build/1.0.5078).
Both listed the following as the error:
```
ru... -
02:28 AM Bug #13855: Hash#compact! returns nil if the hash is empty
- `nil` is returned if there is no change, not only if the hash is empty:
```
hash = { foo: :bar, one: :two } # => {:foo=>:bar, :one=>:two}
hash.compact! # => nil
```
This is consistent with many other bang metho... -
02:09 AM Revision ed740754 (git): skip unless PLATFORM is darwin.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:15 AM Bug #13566 (Closed): A process freezes at the beginning of C level backtrace when a certain SEGV is occurred
- Fixed by r59710.
- 01:13 AM Revision 5ba15ec8 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:13 AM Revision 3bd01f99 (git): Fix C level backtrace on Darwin
- SEGV caused by invalid instruction call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:58 AM Revision b8243bb8 (git): compile.c: fix loading pathobj
- * compile.c (ibf_load_iseq_each): location.pathobj may not be a
mere string now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:43 AM Bug #13844 (Closed): Toplevel returns should fire ensures
- Applied in changeset trunk|r59708.
----------
compile.c: ensure after toplevel return
* compile.c (iseq_compile_each0): toplevel returns should fire
ensures. [ruby-core:82492] [Bug #13844] -
12:43 AM Revision d6347a46 (git): compile.c: ensure after toplevel return
- * compile.c (iseq_compile_each0): toplevel returns should fire
ensures. [ruby-core:82492] [Bug #13844]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:29 AM Bug #13758 (Feedback): TestRubyOptions#test_segv_setproctitle segfaults on AARCH64
- I can't reproduce on ruby -v: ruby 2.5.0dev (2017-09-01 trunk 59707) [aarch64-linux].
see also http://rubyci.s3.amazonaws.com/scw-ad7f67/ruby-trunk/recent.html
08/31/2017
-
10:21 PM Bug #13855: Hash#compact! returns nil if the hash is empty
- lucasbuchala (Lucas Buchala) wrote:
> Rather than a bug, I wonder if this is just a documentation omission.
> ...
Oh that's interesting - I hadn't noticed that returning nil if the object was unchanged was the actual behaviour there. I... -
06:44 PM Bug #13855: Hash#compact! returns nil if the hash is empty
- Hmm.
I had a look at class String and class Array what they do.
First Array:
array = [1,2,3] # => [1, 2, 3]
array.compact! # => nil
Next class String - it has no .compact but perhaps we can use
.delete! which may b... -
04:45 PM Bug #13855: Hash#compact! returns nil if the hash is empty
- Rather than a bug, I wonder if this is just a documentation omission.
In case of a documentation omission, I created a PR:
https://github.com/ruby/ruby/pull/1692 -
03:24 PM Bug #13855 (Closed): Hash#compact! returns nil if the hash is empty
- This behaviour feels like a bug to me.
From the documentation (with my emphasis):
> compact! → hsh
> ...
However if the hash contains no keys, the method returns nil.
~~~
irb(main):001:0> {}.compact!
=> nil
# For Compariso... - 03:41 PM Revision 3541e365 (git): * 2017-09-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:41 PM Revision e896e9b9 (git): Skip test_open_tempfile_path on EINVAL
- Looks like File::Constants::TMPFILE could be defined even when not
supported on system. Just skip the test when we get EINVAL on open(2).
* test/ruby/test_file.rb(test_open_tempfile_path):
Skip when EINVAL occured on File.open.
git-... -
02:51 PM Feature #13581: Syntax sugar for method reference
- my idea for optimising `&obj.method(:symbol)`
is that it already creates a proc (object) without going over a `Method` object,
i don't know if that would be an good idea for that. -
02:31 PM Feature #13581: Syntax sugar for method reference
- k0kubun (Takashi Kokubun) wrote:
> Another idea: `&obj:method`
Consider more complex example, `&(obj.some.method(args)):method`, not only a simple reciever.
`&` and `:` are separated too far. -
02:27 PM Feature #13581: Syntax sugar for method reference
- Hanmac (Hans Mackowiak) wrote:
> i am not sure about that:
> ...
It's different at all.
My example is a token `\.`, do not split.
> PS: when using "&obj.method(:symbol)" should that be optimized if able?
Probably, but it's not p... -
01:12 PM Feature #13581: Syntax sugar for method reference
- Oh, I'm so sad to hear `obj:method` (without `&`) is already valid. I still have hope to have it only when it's put with `&` in the last of arguments because that case is not valid for now.
```
irb(main):001:0> def obj(method); meth... -
12:56 PM Feature #13581: Syntax sugar for method reference
- k0kubun (Takashi Kokubun) wrote:
> Another idea: `&obj:method`
> ...
hm i like that idea, but think that might be a bit conflicting, that depends on if obj is an object or not?
~~~ ruby
obj = Object.new
obj:method #=> syntax error... -
12:30 PM Feature #13581: Syntax sugar for method reference
- Another idea: `&obj:method`
It just puts receiver between `&` and `:` from existing one. I'm not sure it conflicts with existing syntax or not but I feel it's consistent with `&:foo` syntax.
```ruby
roots = [1, 4, 9].map(&Math:sqr... -
12:10 PM Feature #13581: Syntax sugar for method reference
- > I am for adding syntax sugar for method reference. But I don't like proposed syntax (e.g. ->).
> ...
In my pet projects, I often alias `method` as `m`. It is readable enough, short enough and easy to remember, once you've seen it:
... -
10:10 AM Feature #13581: Syntax sugar for method reference
- nobu (Nobuyoshi Nakada) wrote:
> `obj\.method`
i am not sure about that:
~~~ ruby
obj\
.method
~~~
is already valid ruby code, so i am not sure
PS: when using "`&obj.method(:symbol)`" should that be optimized if able? -
08:48 AM Feature #13581: Syntax sugar for method reference
- `obj\.method`
-
06:31 AM Feature #13581: Syntax sugar for method reference
- I am for adding syntax sugar for method reference. But I don't like proposed syntax (e.g. `->`).
Any other idea?
Matz.
-
01:02 PM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
- matz (Yukihiro Matsumoto) wrote:
> Sounds OK. One concern left is `Hash#filter`.
> ...
I have added a bug to discuss the discrepancy in Hash's behavior: https://bugs.ruby-lang.org/issues/13795 -
09:09 AM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
- Sounds OK. One concern left is `Hash#filter`.
Matz.
-
06:37 AM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
- +1 because I like the name filter_map for #5663.
-
11:22 AM Revision de6b788f (git): add NEWS entry for [Feature #13568] r59704
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:16 AM Bug #13854 (Closed): `make golf` broken
- make golf が失敗します。
```
% make golf
...
compiling .../ruby/goruby.c golf_prelude.c
gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
compilation terminated.
uncommon.mk:951: ターゲット 'goruby.o' のレシピで失敗しました
``... -
11:14 AM Feature #13568 (Closed): File#path for O_TMPFILE fds has no meaning
- Applied in changeset trunk|r59704.
----------
File#path: Raise IOError when a file is O_TMPFILE
File#path for a file opened with O_TMPFILE has no meaning.
A filepath returned by this method isn't guarranteed about its accuracy,
but fi... -
07:04 AM Feature #13568: File#path for O_TMPFILE fds has no meaning
- Nobu's patch at [ruby-core:81329] fails when fd is closed... Updated the patch.
* Raise IOError when fptr->pathv is Qnil on File#path
* Set Qnil to fptr->pathv when opening file with O_TMPFILE
* File#to_path and FIle#path behave sam... -
06:05 AM Feature #13568: File#path for O_TMPFILE fds has no meaning
- I vote for raising exceptions (ENOENT?).
Matz.
-
11:14 AM Revision 75cda5e2 (git): File#path: Raise IOError when a file is O_TMPFILE
- File#path for a file opened with O_TMPFILE has no meaning.
A filepath returned by this method isn't guarranteed about its accuracy,
but files opened with O_TMPFILE are known its recorded path has no
meaning. So let them not to return an... -
09:06 AM Feature #13639: Add "RTMIN" and "RTMAX" to Signal.list
- I propose
* Signal::RTMIN
* Signal::RTMAX
instead.
Matz.
-
09:06 AM Feature #13770: Can't create valid Cyrillic-named class/module
- In the patch, I suggest adding something like
```c
if (rb_enc_islower(c, enc)) return FALSE;
```
immediately before or after
```c
if (rb_enc_isupper(c, enc)) return TRUE;
```
-
08:58 AM Bug #13769: IPAddr#ipv4_compat incorrect behavior
- Agreed with deprecating it. Other libraries like the ipaddress gem do not seem to have this, so I'll remove it by 2.5.
-
08:48 AM Feature #13789 (Rejected): Dir - methods
- Rejected. You can simply filter Dir entries. If you have concrete use-case of the method, reopen the issue, please.
Matz.
-
08:46 AM Feature #13839 (Rejected): String Interpolation Statements
- I think it should be done in the gem. Templating need not to be a part of the core.
Matz.
-
08:42 AM Misc #13747: MinGW trunk build available on Appveyor
- Thank you for providing CI for mingw.
I and branch maintainers monitors CI results by http://rubyci.org/
If you output certain index and LTSV files,
The crawler of results is implemented at https://github.com/ruby/rubyci/blob/mas... -
08:33 AM Revision 5f3c228f (git): Added NEWS for r59702
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:29 AM Feature #13803 (Closed): Add Socket::Ifaddr.vhid on supported platforms
- Applied in changeset trunk|r59702.
----------
Add Socket::Ifaddr.vhid on supported platforms [Feature #13803]
patched by Alan Somers -
08:18 AM Feature #13803 (Assigned): Add Socket::Ifaddr.vhid on supported platforms
-
07:19 AM Feature #13803: Add Socket::Ifaddr.vhid on supported platforms
- Although I don't tested, it seems fine except the document should use Integer instead of Fixnum.
-
08:29 AM Revision e7ddf878 (git): Add Socket::Ifaddr.vhid on supported platforms [Feature #13803]
- patched by Alan Somers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:21 AM Bug #13597 (Closed): Does read_nonblock call remalloc for the buffer if does it just set the size attribute
- Applied in changeset trunk|r59701.
----------
io.c: shrink read buffer
* io.c (io_setstrbuf): return true if the buffer is newly created.
* io.c (io_set_read_length): shrink the read buffer if it is a new
object and is too large. [... -
06:59 AM Bug #13597: Does read_nonblock call remalloc for the buffer if does it just set the size attribute
- We discussed this in a developer meeting,
it is better to call realloc when outbuf is not given and
maxlen - len is bigger than 4K where len is the length actually read.
(if maxlen - len is too short, freeing memory is not worth than
... -
06:41 AM Bug #13597: Does read_nonblock call remalloc for the buffer if does it just set the size attribute
- I think that it's possible to call remalloc when
"outbuf" argument is not supplied to read_nonblock.
It makes possible to
automatically reduce memory with remalloc (without supplying "outbuf") and
reuse buffer without remalloc (wit... -
08:21 AM Revision 9f1994ed (git): io.c: shrink read buffer
- * io.c (io_setstrbuf): return true if the buffer is newly created.
* io.c (io_set_read_length): shrink the read buffer if it is a new
object and is too large. [ruby-core:81370] [Bug #13597]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub... -
08:07 AM Revision bb03f028 (git): string.c: adjust indent [ci skip]
- * string.c (rb_str_enumerate_grapheme_clusters): adjust indent.
[Feature #13780]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:04 AM Revision 1f506de6 (git): test_syntax.rb: suppress warnings
- * test/ruby/test_syntax.rb (TestSyntax#test_return_toplevel):
suppress unreachable statement warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:44 AM Feature #13849: Show --dump options in help
- Changed as:
```
$ ./ruby --help
Usage: ./ruby [switches] [--] [programfile] [arguments]
-0[octal] specify record separator (\0, if no argument)
-a autosplit mode with -n or -p (splits $_ into $F)
-c ... -
06:40 AM Feature #13849: Show --dump options in help
- What about `--help=dump` (`--help=feature` and so on)?
-
05:41 AM Feature #13849: Show --dump options in help
- I removed old --dump=help, and --dump=usage, and changed --dump=help to show help messages of --dump.
https://github.com/ruby/ruby/pull/1688
```
$ ./ruby --help
Usage: ./ruby [switches] [--] [programfile] [arguments]
...
-... -
07:36 AM Feature #13606 (Rejected): Enumerator equality and comparison
- Without any actual use case, there would be no effective definition of equality for enumerators.
FWIW, the initial design policy is, Enumerator is an abstract entity that only guarantees it responds to `each` for enumeration, and it's... -
07:34 AM Bug #13833: String#scanf("%a") incorrectly requires a sign on the (binary) exponent
- Hi, cabo.
I implemented to fix this bug and created PR:
https://github.com/ruby/ruby/pull/1689
Could you please check this? -
07:19 AM Feature #12733: Bundle bundler to ruby core
- It's OK as long as bundling bundler makes users happy (and I believe it would).
Matz.
-
07:02 AM Bug #12598: List files with Unicode license in LEGAL file
- Though GB2312 seems still needed, but we may be able to remove GB12345.
-
06:41 AM Bug #12598 (Assigned): List files with Unicode license in LEGAL file
-
06:59 AM Misc #12529 (Closed): LEGAL file covering all the license information within Ruby
-
06:43 AM Misc #12529: LEGAL file covering all the license information within Ruby
- >junaruga
Thanks. We reopen issue about UCD license issue: https://bugs.ruby-lang.org/issues/12598
Without UCD license, This issue is resolved.
-
06:44 AM Feature #13600 (Rejected): yield_self should be chainable/composable
- Function composition should **not** be implemented by `yield_self`.
Matz.
-
06:35 AM Feature #13780 (Closed): String#each_grapheme
- Applied in changeset trunk|r59698.
----------
String#each_grapheme_cluster and String#grapheme_clusters
added to enumerate grapheme clusters [Feature #13780] -
05:32 AM Feature #13780: String#each_grapheme
- `grapheme` sounds like an element in the grapheme cluster. How about `each_grapheme_cluster`?
If everyone gets used to the `grapheme` as an alias of `grapheme cluster`, we'd love to add an alias `each_grapheme`.
Matz.
-
06:35 AM Revision df49fc65 (git): String#each_grapheme_cluster and String#grapheme_clusters
- added to enumerate grapheme clusters [Feature #13780]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:26 AM Feature #6284: Add composition for procs
- Most languages do not define function composition in built-in operators, but provide them as function or method such as `compose`.
F.Y.I) https://rosettacode.org/wiki/Function_composition
In some few languages defined function comp... -
06:04 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
- mame@ruby-lang.org wrote:
> I believe that this feature should be introduced with another
> name. I have no counterproposal, though. Sorry.
What about Thriber? Or Fred?
"Fread" might be confused with fread(3) function, and I ... -
05:49 AM Feature #13516 (Assigned): Improve the text of the circular require warning
-
05:48 AM Feature #13516 (Open): Improve the text of the circular require warning
- The update of the message is OK.
Matz.
-
05:47 AM Feature #13516 (Assigned): Improve the text of the circular require warning
-
05:41 AM Feature #13395: Add a method to check for not nil
- Your example is bit weak. Is there any **realistic** use-case for the method?
Matz.
-
05:31 AM Bug #13407 (Assigned): We have recv_nonblock but not send_nonblock... can we add it?
-
05:25 AM Feature #13630: :[] method should accept block in nice syntax
- The trunk accepts a block after `[]` now.
-
05:19 AM Feature #13686 (Assigned): Add states of scanner to tokens from Ripper.lex and Ripper::Filter#on_*
-
03:06 AM Revision 54217d68 (git): test_syntax.rb: assert output
- * test/ruby/test_syntax.rb (TestSyntax#test_return_toplevel):
assert expected output if given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:05 AM Bug #13853 (Closed): Backport request r58323
- I picked commit from json-2.0.4 fixes.
Please backport attachment patch to ruby 2.2 and 2.3. -
02:07 AM Bug #13844: Toplevel returns should fire ensures
- The behavior was intentional.
-
01:25 AM Bug #13412: Infinite recursion with define_method may cause silent SEGV or cfp consistency error
- It seems to be fixed at trunk. Thank you.
But I guess that it is not due to r59606, but rather to r59630 and r59676.
```
$ git checkout $(git log --grep "trunk@59606" origin/trunk --format="%h") && git checkout -B work &&
make m... -
12:05 AM Revision 85603760 (git): `$=` is no longer effective. [ci skip]
- * doc/globals.rdoc: [DOC] `$=` is no longer effective.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/30/2017
-
10:23 PM Revision 7e8cdaa6 (git): to_str -> to_s
- * lib/net/http/header.rb (set_field): `val` can not have `to_str`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:32 PM Bug #13851: getting "can't modify string; temporarily locked" on non-frozen instances
- cardoso_tiago@hotmail.com wrote:
> I can't unfortunately reproduce this in a deterministic way. I
> can only say that the `read` routine is called in multiple
> threads (different io's instances of that class). The errors
> come sel... -
10:37 AM Bug #13851 (Closed): getting "can't modify string; temporarily locked" on non-frozen instances
- I'm doing some nonblocking IO, and using a local string for buffering to avoid allocations. Roughly the following
```ruby
class A
def initialize
@buffer = String.new("", encoding: Encoding::BINARY)
end
def read(io)
... -
05:25 PM Bug #13852 (Closed): Backport r59693,59695 (Net::HTTP should raise error when CR/LF in a http header value)
- This is a ticket for backport management. The issue was already fixed on trunk.
Let's treat r59693 as a bugfix and backport into stable branches. - 05:24 PM Revision 46180152 (git): * 2017-08-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:24 PM Revision 427f5b57 (git): A HTTP Header value must not contain CR or LF.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:52 PM Feature #13849: Show --dump options in help
- It sounds `--dump=?` is troublesome, and also it is not easy to implement.
It looks `--dump=help` and `--help` is same. Can I drop the current `--dump=help`, and use `--dump=help` instead of `--dump=?` ? -
12:09 PM Feature #13849: Show --dump options in help
- bash also expand glob if files exist.
And bash with `shopt -s failglob` can raise error like zsh.
So I think users should not depend such behavior.
```
$ touch ./--dump=a
$ ruby --dump=?
ruby: warning: don't know how to dump `a',... -
09:47 AM Feature #13849: Show --dump options in help
- I feel splitting help to --dump=? is nice idea.
By the way, the current behavior is as:
bash
```
$ ./ruby --dump=?
./ruby: warning: don't know how to dump `?',
./ruby: warning: but only [version, copyright, usage, help, yydeb... -
09:37 AM Feature #13849: Show --dump options in help
- +1
The "--dump=?" may also work. I do however think that Naotoshi Sao's suggestion,
although more verbose, may be best, since people can simply read what these
options do in the short description, such as "dump YARV instructions". (... -
08:19 AM Feature #13849: Show --dump options in help
- Or add the message "try --dump=? to show valid arguments".
-
08:08 AM Feature #13849: Show --dump options in help
- elsewhere ... where are you supposed?
-
08:02 AM Feature #13849: Show --dump options in help
- sonots (Naotoshi Seo) wrote:
> version, copyright, usage, help, yydebug, syntax, parsetree, parsetree_with_comment, insns are available as an argument of --dump option.
> ...
Write detailed description elsewhere, and then just show the... -
05:57 AM Feature #13849: Show --dump options in help
version, copyright, usage, help, yydebug, syntax, parsetree, parsetree_with_comment, insns are available as an argument of --dump option.
I now wonder which I should support. I want yydebug, parsetree, and insns (parsetree_with_commen...-
05:15 AM Feature #13849: Show --dump options in help
- ruby 2.4.1 (actually, trunk)
-
05:14 AM Feature #13849 (Closed): Show --dump options in help
- Current help does not show any helps for --dump options such as --dump=insns.
I want to get them.
```
$ ./ruby --help
Usage: ./ruby [switches] [--] [programfile] [arguments]
-0[octal] specify record separator (\0, if no ar... -
11:21 AM Bug #13848: BigDecimal.new('200.') raises an exception
- Robert, yes, I think it should be the same as BigDecimal.new('200.0'). The problem arises, not when a programmer is typing the number---requiring a programmer to be explicit is OK by me---but when strings are processed that come from a ...
-
10:07 AM Feature #13613: Prefer that require/require_relative/load to tell us permission error if the target file is unreadable
- I propose following specification: `require 'foobar'`
If ENOENT occurs for all paths searched, raise LoadError with messages like below:
```
in `require': cannot load such file -- No such file or directory -- foobar (LoadError)
... -
08:54 AM Bug #13754 (Assigned): bigdecimal with lower precision that Float
-
08:54 AM Feature #13625: BigDecimal short form / shorthand
- Note that BigDecimal class is defined in a standard library, but it is not built-in.
-
08:50 AM Bug #13674 (Assigned): BigDecimal comparison with Float::INFINITY is erroneous in 2.2.x and 2.3.x
-
08:26 AM Revision f0ae63b0 (git): array.c: refine binomial_coefficient
- * array.c (binomial_coefficient): get rid of bignums by division
after each multiplications.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:55 AM Revision 96223329 (git): array.c: refine descending_factorial
- * array.c (descending_factorial): reduce factorial multipication.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:44 AM Bug #13850 (Closed): backport r59584
- バックポート管理用のチケットです。
-
07:17 AM Bug #13841: Segmentation fault in Ruby CFUNC :to_s
- Hi, we need a reproducible codes.
-
06:37 AM Misc #13840: Collection methods - stability
- MSP-Greg (Greg L) wrote:
> Regardless, in simplifying the code, I was left with one question regarding all of the sort/filter group methods in ruby.
> ...
As described below, this seems to lump together two different families of meth... - 05:37 AM Revision 6d5a4fef (git): * 2017-08-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:36 AM Revision 56ce5460 (git): array.c: integer calculations
- * array.c (rb_ary_cycle_size, descending_factorial): use
rb_int_mul instead of rb_funcallv.
* array.c (binomial_coefficient): use rb_int_idiv instead of
rb_funcallv.
* array.c (rb_ary_repeated_permutation_size): use
rb_int_positi... -
03:16 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
- I comment in compliance with hsbt's request.
Basically I agree with ko1; Thread is considered harmful. Casual Rubyists (including I) had better not use it.
However, I'm not against introducing the feature in question as a professi...
08/29/2017
-
06:40 PM Bug #13846: Openbsd possible memory leak when using Thread
- I installed 2.5.0-dev (from github) and seems that this bug does not occur or at least it is fixed. I believe that it might be related to #13772. My daemons started with low memory around 30mb and ended up after a week to 300mb with high...
-
02:14 PM Bug #13846: Openbsd possible memory leak when using Thread
- I've confirmed this also happens with the current version of OpenBSD and ruby 2.4.1. I'll have to write a C version to see if this is a problem with OpenBSD's thread library. If not, it's probably an issue with ruby. Hopefully I'll ha...
-
08:14 AM Bug #13846 (Closed): Openbsd possible memory leak when using Thread
- On openBSD 5.9/6.1 running this code causes RSS memory to increase without limit. This does not happen in ubuntu or other linux.
~~~ ruby
loop do
thr = Thread.new { puts "thread test" }
thr.join
GC.start
end
~~~
This is... -
06:26 PM Bug #13844: Toplevel returns should fire ensures
- Oh also...IRB is a very weird beast. The code you enter isn't really running at toplevel; it's running in an eval that's likely within a block or method scope (I haven't looked recently). As a result, things you'd expect to work at tople...
-
06:25 PM Bug #13844: Toplevel returns should fire ensures
- I do not assume it was intentional, but it was codified by tests added along with the toplevel return change. See test_syntax.rb in test_return_toplevel, where it tests that each of the following lines should exit silently:
```ruby
r... -
06:30 AM Bug #13844: Toplevel returns should fire ensures
- This is indeed weird that the blocks are treated differently depending on whether they
are defined in a method or outside of it. I do not assume that this was intentional.
On a side note, interestingly, the last variant aka:
```ru... -
05:23 PM Bug #13848: BigDecimal.new('200.') raises an exception
- I believe you mean for BigDecimal.new('200.') to be equivalent to BigDecimal.new('200.0')?
I could see both ways be ok; there may be use cases where the error is better because of
the user not being explicit enough; or the user does ... -
12:24 PM Bug #13848 (Closed): BigDecimal.new('200.') raises an exception
- BigDecimal.new('200.') raises an exception:
ArgumentError: invalid value for BigDecimal(): "200."
It should accept this as a valid decimal number.
This requires fixing numbers read in from the wild. -
12:13 PM Revision 4b9aeef1 (git): array.c: use rb_check_array_type
- * array.c (ary_join_1): simplified by rb_check_array_type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:52 AM Revision f32e46b7 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:52 AM Revision 4790c089 (git): Merge rdoc-6.0.0.beta1.
- This version fixed strange behavior of ruby code parser.
We will list all of impromovement to Changelog when 6.0.0 releasing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:35 AM Revision 26a9bf75 (git): array.c: nested encoding
- * array.c (ary_join_1): ignore encodings in nested arrays as an
initial encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:33 AM Feature #13847: Gem activated problem for default gems
- > Also, in this use case, it seems to be enough to use [..]
> ...
Matz will decide but I wanted to comment on what Hiroshi Shibata wrote.
Kernel require presently accepts no additional arguments:
https://ruby-doc.org/core-2.4.... -
09:27 AM Feature #13847: Gem activated problem for default gems
- hsbt (Hiroshi SHIBATA) wrote:
> Unfortunately, since rubygems has required openssl before the bundler runs it will result in an activated error like this:
> ...
Off-topic, but in this specific case, the root of the problem is that bund... -
08:53 AM Feature #13847 (Assigned): Gem activated problem for default gems
- If you try to use some default gems with a fixed version using Bundler, there are cases where the current RubyGems/Bundler/Ruby specification can not be used with the version specified by the user.
For example
```
$ ruby -v
ruby ... -
10:49 AM Revision cb70a92e (git): array.c: join encoding
- * array.c (ary_join_1): copy the encoding of the converted string
of the first element by to_str too, as an initial encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:22 AM Revision 9d990931 (git): Partly reverted r59642. Because IO#close is idempotent since Ruby 2.3.
- Reported by Eric Wong. Thank you.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:17 AM Bug #13794: Infinite loop of sched_yield
- Apologies for my delay in replying. I have not yet had an opportunity to fully test any of these patches (apart from my initial hack which did not work). I will aim to test your patch as soon as possible. Thank you for your assistance!
-
09:06 AM Bug #13769 (Assigned): IPAddr#ipv4_compat incorrect behavior
-
08:25 AM Bug #13769: IPAddr#ipv4_compat incorrect behavior
- I'd vote for marking it deprecated & fixing the bug in the original ticket. Despite the fact that the addresses are now deprecated, it may be useful for ruby code to interact with or check for legacy situations - that's how I found the bug
-
08:02 AM Bug #13769: IPAddr#ipv4_compat incorrect behavior
- RFC4291 says: '"IPv4-Compatible IPv6 address" is now deprecated.'
We can remove #ipv4_compat? or mark it as deprecated.
Section 2.5.5.1.
The "IPv4-Compatible IPv6 address" is now deprecated because the
current IPv6 transition ... -
08:43 AM Bug #4731 (Rejected): ruby -S irb fails with mingw/msys vanilla builds
- I couldn't reproduce this with RubyInstaller 2.4.1-2.
-
08:18 AM Bug #13831 (Third Party's Issue): error when try to install
- I couldn't reproduce this.
```
C:\Users\hsbt>gem i sass
Fetching: sass-listen-4.0.0.gem (100%)
Successfully installed sass-listen-4.0.0
Fetching: sass-3.5.1.gem (100%)
Successfully installed sass-3.5.1
Parsing documentation for ... -
08:14 AM Bug #13843 (Assigned): [PATCH] RubyGems 2.6.13 - Align lib/rubygems/resolver.rb with rubygems/rubygems
-
08:14 AM Bug #13652 (Rejected): Ruby 2.3.4 does not catch Argument error when comparing DateTime with String
- It can't be reproduced.
```
% ruby -v -r "date" -e "p DateTime.parse == 'No End Date'"
ruby 2.5.0dev (2017-08-29 trunk 59656) [x86_64-darwin15]
false
``` -
07:41 AM Bug #11174: threads memory leak
- I am having similar issue. Even calling open3.capture2 which uses threads results into 250mb of rss memory after a day. 2.3.4 and all 2.3.x.. ,2.4.x
-
07:11 AM Revision 3895e300 (git): test/ruby: tweaked heredocs
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:01 AM Revision 480c84e1 (git): fix error message.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:24 AM Revision 174fd5fd (git): .gitignore: ignore run.gdb
- * .gitignore: ignore run.gdb which is assumed to be generated
by make gdb and customized manually during development
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:58 AM Revision f70827b7 (git): resolv.rb: remove unnecessary require statement
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:50 AM Bug #9639: libyaml not found, rubygems not functional on freebsd with ruby 2.1.0
- I couldn't reproduce FreeBSD 11.0 and Ruby 2.1.10.
08/28/2017
-
11:51 PM Bug #13794: Infinite loop of sched_yield
- charlie@atech.media wrote:
> Eric Wong <normalperson@yhbt.net> wrote:
> > How about checking owner_process before incrementing?
>
> I'm afraid this fix doesn't quite match up in my mind. To
> clarify, I am suggesting that timer_th... -
11:26 PM Bug #13845 (Closed): thread_win32.c: set thread name breaking mswin builds on appveyor and at rubyci
- Applied in changeset trunk|r59678.
----------
win32.c: fix function pointer
* win32/win32.c (rb_w32_set_thread_description): fix the condition
if the API function pointer is found.
[ruby-core:82494] [Bug #13845] -
08:26 PM Bug #13845 (Closed): thread_win32.c: set thread name breaking mswin builds on appveyor and at rubyci
- The commit [svn 59660 thread_win32.c: set thread name](https://github.com/ruby/ruby/commit/19d692920d2d207c3aa891fc79aa5a93c17f84c6) is breaking builds on both appveyor and at rubyci.
It appears to be using a function that is only sup... -
11:25 PM Revision c5683c9a (git): win32.c: fix function pointer
- * win32/win32.c (rb_w32_set_thread_description): fix the condition
if the API function pointer is found.
[ruby-core:82494] [Bug #13845]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:20 PM Bug #13844: Toplevel returns should fire ensures
- See https://github.com/jruby/jruby/issues/4761 for our placeholder bug for this missing feature.
-
08:20 PM Bug #13844 (Closed): Toplevel returns should fire ensures
- In the following contexts, a return always fires the ensure that wraps it:
```
[] ~/projects/ruby $ ruby -e 'def foo; return; ensure; p :x; end; foo'
:x
[] ~/projects/ruby $ ruby -e 'def foo; 1.times { begin; return; ensure; p :x... -
07:36 PM Feature #4840: Allow returning from require
- Ahh great, thank you for the pointer, nobu!
-
04:49 PM Feature #4840: Allow returning from require
- test/ruby/test_syntax.rb:test_return_toplevel
-
03:49 PM Feature #4840: Allow returning from require
- Were any tests or specs added for this feature? I don't see anything recent added to language/return_spec.rb and the related commits don't show any additions to MRI's tests.
I believe we need at least one of these to be filled out. I'... - 04:05 PM Revision 9f675c5b (git): * 2017-08-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:05 PM Revision c5e4070c (git): Increase STACKFRAME_FOR_CALL_CFUNC
- On below env, miniruby requires 568 and ruby requires 838 to pass.
* ruby -v: ruby 2.5.0dev (2017-08-28 trunk 59670) [x86_64-freebsd10.3]
* gcc8 (FreeBSD Ports Collection) 8.0.0 20170828 (experimental)
git-svn-id: svn+ssh://ci.ruby-lang... -
04:02 PM Bug #13843: [PATCH] RubyGems 2.6.13 - Align lib/rubygems/resolver.rb with rubygems/rubygems
- At rubygems/rubygems, the patch for resolver.rb was accepted first, then the patch to extend appveyor testing to include trunk was accepted.
[Appveyor results](https://ci.appveyor.com/project/segiddins/rubygems/build/634) and [Travis ... -
01:28 PM Bug #13843 (Rejected): [PATCH] RubyGems 2.6.13 - Align lib/rubygems/resolver.rb with rubygems/rubygems
- Currently, the file `lib/rubygems/resolver.rb` differs between ruby/ruby and rubygems/rubygems in the `search_for` method.
Attached patch aligns them and adds the test for it, which is also missing from ruby/ruby. Tested against MinG... -
02:21 PM Revision 4446f528 (git): compile.c: compile_if
- * compile.c (compile_if): extract from iseq_compile_each.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:20 AM Revision 14638d85 (git): [DOC] Fix typo in rdoc of `transform_values!` [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:55 AM Revision b3c70d4c (git): string.c: fix potential bug in String#split
- * string.c (rb_str_split_m): fix potential bug when rb_memsearch()
matches a octet in the middle of a multi-byte character sequence.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:31 AM Revision c5da5b1e (git): Merge rubygems-2.6.13.
- see details for this update:
http://blog.rubygems.org/2017/08/27/2.6.13-released.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:07 AM Bug #13842 (Closed): Backport request: Rubygems-2.6.13
- Rubygems-2.6.13 has been released now.
Its version was required to backport all stable versions of Ruby.
I created patches about rubygems 2.6.13.
For Ruby 2.2 and 2.3: These patches contain only security fixes of rubygems-2.6.13
... -
07:54 AM Revision 1a193018 (git): lib/csv.rb: refactor and optimize. This change
- includes the patch from marshall-lee.
close #1168
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:48 AM Bug #13841 (Closed): Segmentation fault in Ruby CFUNC :to_s
- Hi, a segmentation fault was found in my environment.
~~~ text
E, [2017-08-25T16:21:37.798828 #632] ERROR -- : reaped #<Process::Status: pid 30125 SIGABRT (signal 6) (core dumped)> worker=2
I, [2017-08-25T16:21:37.826008 #30226] I... -
12:58 AM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
- ahorek (Pavel Rosický) wrote:
> There's no need to call it for each directory because the result will always be same.
It is not same.
Path components in middle also should be replaced.
08/27/2017
-
04:22 PM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
- https://github.com/ruby/ruby/pull/1685
I reverted nobu's change and instead of recursion for simple patterns I want to call "replace_real_basename" only for results. There's no need to call it for each directory because the result wil... -
04:18 PM Revision a2f5275e (git): compile.c: compile_ensure
- * compile.c (compile_ensure): extract from iseq_compile_each.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:15 PM Revision 79992090 (git): compile.c: compile_resbody
- * compile.c (compile_resbody): extract from iseq_compile_each.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:04 PM Revision fc1714be (git): * 2017-08-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:04 PM Revision c1b32b5a (git): compile.c: compile_rescue
- * compile.c (compile_rescue): extract from iseq_compile_each.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:27 PM Misc #13840 (Rejected): Collection methods - stability
- I'm trying to fix some method code (`Gem::Resolver#search_for`) in rubygems.
Regardless, in simplifying the code, I was left with one question regarding all of the sort/filter group methods in ruby.
Which ones are considered stable... -
06:32 AM Revision 21e4ade5 (git): lib/net/imap.rb: Accept continuation requests without response text
- The IMAP server of DOCOMO returns such continuation requests.
[ruby-list:50558]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e