Project

General

Profile

Activity

From 07/20/2016 to 07/26/2016

07/26/2016

04:22 PM Revision 01fb7e5b (git): dtrace: wait command
* test/dtrace/helper.rb (DTrace::TestCase::READ_PROBES): wait
the spawned command not to make a waiter thread. fix...
nobu (Nobuyoshi Nakada)
04:03 PM Revision bd9039e2 (git): * 2016-07-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:03 PM Revision 9273ab42 (git): gmake.mk: test-framework by love
* defs/gmake.mk (sudo-precheck): test the test-framework before
installation by love.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
03:50 PM Feature #12628: change block/env structs
LGTM. Thanks.
Matz.
matz (Yukihiro Matsumoto)
07:51 AM Feature #12628 (Closed): change block/env structs
I will change block/env structures for performance.
----
I'm not sure who interests about this area. But it wil...
ko1 (Koichi Sasada)
02:06 PM Feature #9023: Array#tail
Bozhidar Batsov wrote:
> I also dislike the name Array#tail, since it's commonly associated with linked lists, not a...
Nondv (Dmitry Non)
01:43 PM Feature #11266: [PATCH] WEBrick: allow subclassing of Response and Request
+1 Since WEBrick is part of stdlib, being able to use it in a generic test server which supported Rack hijack would b... rosenfeld (Rodrigo Rosenfeld Rosas)
01:43 PM Revision 3084f430 (git): gc.c: running finalizer state
* gc.c (run_finalizer): make saved running finalizer state
volatile to ensure not to be clobbered by longjmp.
git-...
nobu (Nobuyoshi Nakada)
01:28 PM Bug #12629 (Rejected): Backport issue 12609 fixed in r55726 to ruby 1.9.x
Ruby 1.9.x isn't supported. kou (Kouhei Sutou)
01:06 PM Bug #12629 (Rejected): Backport issue 12609 fixed in r55726 to ruby 1.9.x
Given the spec issue, 1.9.x will benefit of the patch too.
The issue was originally reported here:
https://bugs...
jmarrero (Joseph Marrero)
01:02 PM Revision 63e93257 (git): gmake.mk: love dependency
* defs/gmake.mk (test-almost): depends on install when making
love.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
01:02 PM Revision e7440de2 (git): test: use assert_include
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:00 PM Feature #12623: rescue in blocks without begin/end
> An objection is that rescue in {} block feels weird.
Do you mean in one-line or multi-line form?
Multiline:
...
Nondv (Dmitry Non)
01:59 AM Feature #12623: rescue in blocks without begin/end
AFAIK, it has been proposed a few times.
An objection is that `rescue` in `{}` block feels weird.
nobu (Nobuyoshi Nakada)
12:51 PM Revision 7b3473a1 (git): dtrace: chomp CR
* test/dtrace/helper.rb (DTrace::TestCase::READ_PROBES): chomp CR
by pty. fix up r55736.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
12:17 PM Feature #12608: Proposal to replace unless in Ruby
Thanks all for the replies. A few examples will obviously not cover everything to convince everyone. My examples were... LucianCancescu (Lucian Cancescu)
10:28 AM Revision be5564a1 (git): * vm_insnhelper.c: introduce rb_vm_pop_frame() and use it
instead of setting rb_thread_t::cfp directly.
* vm_insnhelper.c (vm_pop_frame): return the result of
finish frame ...
ko1 (Koichi Sasada)
10:15 AM Bug #12627: Segfault
What do you mean? All I have is that dump, and information about my system and what I was doing just before that happ... JoelSanchez (Joel Sánchez López)
12:43 AM Bug #12627: Segfault
Couldn't you try with debugging information? nobu (Nobuyoshi Nakada)
10:07 AM Revision 78e86f75 (git): * gc.c (rb_raw_obj_info): support to show Proc obj.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:57 AM Revision 225915ef (git): * gc.c (gc_mark): add `inline' explicitly.
I expected to inline this function implicitly at the loop
(ex: marking T_ARRAY objects) but sometimes it remains as...
ko1 (Koichi Sasada)
07:33 AM Feature #905 (Closed): Add String.new(fixnum) to preallocate large buffer
Closing. Please use String.new with capacity. shyouhei (Shyouhei Urabe)
07:33 AM Revision 7b2b2869 (git): * enc/windows_1257.c, test/ruby/enc/test_case_comprehensive.rb:
Implement non-ASCII case conversion for Windows-1257, by Sho Koike.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
duerst (Martin Dürst)
07:23 AM Feature #12626: Add ceiling alias for ceil on Numeric objects
I do not have any particular pro or con opinion here; personally I would continue to use .ceil but if other people us... shevegen (Robert A. Heiler)
07:19 AM Revision 14dd8a17 (git): * enc/windows_1250.c, test/ruby/enc/test_case_comprehensive.rb:
Implement non-ASCII case conversion for Windows-1250, by Sho Koike.
* ChangeLog: Fixed order of previous two entries....
duerst (Martin Dürst)
06:54 AM Revision aec1ac6e (git): * enc/windows_1251.c, test/ruby/enc/test_case_comprehensive.rb:
Implement non-ASCII case conversion for Windows-1251, by Shunsuke Sato.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
duerst (Martin Dürst)
06:30 AM Revision c8a1d8b3 (git): * enc/windows_1251.c, test/ruby/enc/test_case_comprehensive.rb:
Implement non-ASCII case conversion for Windows-1251, by Shunsuke Sato.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
duerst (Martin Dürst)
04:05 AM Revision 18440efa (git): * 2016-07-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:05 AM Revision aa1bf14f (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:05 AM Revision c2b500a0 (git): * test/ruby/enc/test_case_comprehensive.rb: Add explicit skip test for
availability of Unicode data files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55746 b2dd03c8-39d4-4d8f-98ff...
duerst (Martin Dürst)
01:55 AM Feature #12624: !== (other)
I'm sometimes wanting it, too.
And can find some lines in standard libraries.
```ruby
ext/psych/lib/psych/visi...
nobu (Nobuyoshi Nakada)

07/25/2016

06:18 PM Feature #12623: rescue in blocks without begin/end
+1, I often want this and never understood why it only worked with methods. rosenfeld (Rodrigo Rosenfeld Rosas)
12:33 PM Revision 706534b5 (git): range.c: check_step_domain
* range.c (check_step_domain): check step argument domain by <=>
method, instead of < and >.
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
12:19 PM Bug #12627 (Closed): Segfault
I don't know if it really is a bug in Ruby, but I was using gulp-node-sass (which in turn uses the sass gem), and it ... JoelSanchez (Joel Sánchez López)
12:12 PM Revision e73b3219 (git): fix filenames [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:00 AM Revision e5c6454e (git): * debug.c (ruby_debug_printf): use rb_raw_obj_info()
instead of rb_inspect() because it is more robust way
to see object internal.
git-svn-id: svn+ssh://ci.ruby-lang....
ko1 (Koichi Sasada)
07:49 AM Feature #12626 (Rejected): Add ceiling alias for ceil on Numeric objects
Proposing adding a `ceiling` alias to the `ceil` instance method for Numeric, Float, Integer.
Although `ceil` is f...
jwillems (Jason Willems)
06:04 AM Feature #12625: TypeError.assert, ArgumentError.assert
Hi. It sounds like design-by-contract programming for me.
There are a few gems you might want to take a look at.
...
akhramov (Artem Khramov)
01:55 AM Feature #12625: TypeError.assert, ArgumentError.assert
I'm not sure wether I should be for this one or !==, but at least I can agree that `raise TypeError unless SomeClass ... shyouhei (Shyouhei Urabe)
01:18 AM Feature #12624: !== (other)
Eike Dierks wrote:
> I believe, that in some cases
> the intention of a boolean clause
> would be easier to unde...
duerst (Martin Dürst)

07/24/2016

11:36 PM Feature #12625 (Open): TypeError.assert, ArgumentError.assert
I am well aware that ruby is not typed (and so for a good reason)
But sometimes it makes sense to check the types ...
eike.rb (Eike Dierks)
10:02 PM Feature #12624 (Rejected): !== (other)
I'd like to suggest a new syntactic feature.
There should be an operator `!==`
which should just return the negat...
eike.rb (Eike Dierks)
09:43 PM Revision c3236250 (git): * 2016-07-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:43 PM Revision ceff9c8d (git): dtrace: simplify
* test/dtrace/helper.rb (DTrace::TestCase::RUBYBIN): simply
substitute basename.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
07:27 PM Feature #12623 (Closed): rescue in blocks without begin/end
Hi there!
There's pretty nice feature that we can use "short rescue" in method definitions:
~~~ruby
def my_me...
Nondv (Dmitry Non)
07:33 AM Feature #12386 (Closed): Move definition of ONIG_CASE_MAPPING compilation switch outside onigumo files
Applied in changeset r55740.
----------
* regenc.h/c, include/ruby/oniguruma.h, enc/ascii.c, big5.c, cp949.c,
emac...
duerst (Martin Dürst)
07:33 AM Revision 6ed393ad (git): * regenc.h/c, include/ruby/oniguruma.h, enc/ascii.c, big5.c, cp949.c,
emacs_mule.c, euc_jp.c, euc_kr.c, euc_tw.c, gb18030.c, gbk.c,
iso_8859_1|2|3|4|5|6|7|8|9|10|11|13|14|15|16.c, koi8_...
duerst (Martin Dürst)
04:00 AM Bug #12285: Date.iso8601 does not properly handle partial date strings
>all of the standard library has its maintainers?
Yes. See https://github.com/ruby/ruby/blob/trunk/doc/maintainers...
hsbt (Hiroshi SHIBATA)
03:53 AM Revision 25013966 (git): * doc/maintainers.rdoc: xmlrpc is bundled gem from Ruby 2.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:08 AM Revision c1929dc9 (git): * doc/maintainers.rdoc: Update OpenSSL maintainer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

07/23/2016

03:04 PM Revision 0bd77849 (git): * 2016-07-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:04 PM Revision 106445d1 (git): dtrace: suppress an empty line
* test/dtrace/helper.rb (DTrace::TestCase#trap_probe): suppress
an extra empty line to the controlling tty by dtrac...
nobu (Nobuyoshi Nakada)
02:59 PM Revision d98dd473 (git): dtrace: use miniruby instead of ruby-runner
* test/dtrace/helper.rb (DTrace::TestCase#trap_probe): ruby-runner
cannot be the target of dtrace, use miniruby ins...
nobu (Nobuyoshi Nakada)
02:57 PM Feature #9108: Hash sub-selections
Any chance something like this could make it into 2.4?.
Is really cumbersome to require ActiveSupport as a depende...
pabloh (Pablo Herrero)
01:43 PM Revision 9662ee05 (git): internal.h: inline Check_Type
* internal.h (Check_Type): inline check for the object type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55734...
nobu (Nobuyoshi Nakada)
01:36 PM Bug #12285 (Assigned): Date.iso8601 does not properly handle partial date strings
As I read the code, `Date.iso8601` allows to omit a month by '-', but not a day.
It feels like a bug to me, but unce...
nobu (Nobuyoshi Nakada)
03:06 AM Bug #12285: Date.iso8601 does not properly handle partial date strings
There is some information about library maintainers e.g. at
https://bugs.ruby-lang.org/projects/ruby/wiki/Maintainer...
duerst (Martin Dürst)
08:21 AM Bug #12592 (Rejected): tree conflict produced by r55701
It turns out that Tortoise SVN may not be able to handle this kind of thing, but it can be done on the command line. ... duerst (Martin Dürst)
01:30 AM Bug #12615 (Closed): Pathname#rename does not work across filesystem boundaries.
So I must continue to use FileUtils.mv -- either Pathname#rename should be fixed or (if the current behaviour is desi... singpolyma (Stephen Paul Weber)

07/22/2016

11:41 PM Bug #12614 (Closed): Segmentation Fault on Ruby 2.3.1
### Description
We have an extensive test matrix that tests many versions of Rails over many versions of Ruby. We ...
mwear (Matthew Wear)
08:22 PM Bug #12285: Date.iso8601 does not properly handle partial date strings
Victor Shepelev wrote:
> > Date is not maintained now. We can not answer your concern.
>
> What does this mean? D...
backus (John Backus)
07:06 PM Revision c29ad018 (git): ruby.h: use prefixed name
* include/ruby/ruby.h (RTEST, NIL_P): use RUBY prefixed name in
macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
05:15 PM Bug #12613: iseq_set_sequence: adjust bug -1 < 0 (retry inside begin/rescue)
If I change the second "retry" for "redo", it works...
If I remove the surrounding while loop, this error is raise...
dioni21 (Joao Carlos Mendes Luis)
05:02 PM Bug #12613 (Closed): iseq_set_sequence: adjust bug -1 < 0 (retry inside begin/rescue)
Code:
~~~ruby
while true
begin
p "loop"
raise
rescue
p "Risen"
retry
else
retry...
dioni21 (Joao Carlos Mendes Luis)
04:51 PM Bug #12610: webrick: protect from httpoxy
Marcus Rueckert <[email protected]> wrote:
> On 2016-07-22 02:03:14 +0000, [email protected] wrote:
> > 0001-web...
normalperson (Eric Wong)
04:43 PM Bug #12610 (Closed): webrick: protect from httpoxy
Applied in changeset r55731.
----------
webrick: filter out HTTP_PROXY for CGIHandler
* lib/webrick/httpservlet/cgi...
Anonymous
04:16 AM Bug #12610: webrick: protect from httpoxy
Marcus Rückert wrote:
> the /dumpenv chunk from the patch looks like left over debug code
It's not debug code. ...
usa (Usaku NAKAMURA)
02:12 AM Bug #12610: webrick: protect from httpoxy
On 2016-07-22 02:03:14 +0000, [email protected] wrote:
> 0001-webrick-filter-out-HTTP_PROXY-for-CGIHandler.patc...
darix (Marcus Rückert)
02:03 AM Bug #12610: webrick: protect from httpoxy
As noted in the article (https://httproxy.org/), Net::HTTP and URI::Generic.find_proxy has mitigation about this vuln... nagachika (Tomoyuki Chikanaga)
04:43 PM Revision 79d33a5c (git): * 2016-07-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:43 PM Revision dafeebf1 (git): webrick: filter out HTTP_PROXY for CGIHandler
* lib/webrick/httpservlet/cgihandler.rb (do_GET): delete HTTP_PROXY
* test/webrick/test_cgi.rb (test_cgi_env): new te...
Eric Wong
02:23 PM Revision ef41381d (git): * ChangeLog: Fix wrong license name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:54 PM Feature #12612 (Rejected): Switch Range#=== to use cover? instead of include?
Currently, `Range#===` is an alias of `#include?`, which works by `#each`-ing all the values and comparing them to th... zverok (Victor Shepelev)
10:55 AM Feature #10594: Comparable#clamp
Ferdinand Niedermann wrote:
> Thanks, but I don't think I have access to editing this page. Or at least I can't find...
shyouhei (Shyouhei Urabe)
09:52 AM Feature #10594: Comparable#clamp
Shyouhei Urabe wrote:
> Martin Dürst wrote:
> > The next meeting is scheduled for August 9th, but the wiki page fo...
nerdinand (Ferdinand Niedermann)
09:47 AM Feature #10594: Comparable#clamp
Martin Dürst wrote:
> The next meeting is scheduled for August 9th, but the wiki page for it
> is not yet up.
...
shyouhei (Shyouhei Urabe)
09:41 AM Feature #10594: Comparable#clamp
On 2016/07/21 22:10, [email protected] wrote:
> Issue #10594 has been updated by Ferdinand Niedermann.

> A...
duerst (Martin Dürst)
10:55 AM Bug #12611 (Closed): Issues, reported by PVS-Studio static analyzer
Applied in changeset r55729.
----------
Fix Issues reported by PVS-Studio static analyzer
* vm.c (vm_set_main_stack...
nobu (Nobuyoshi Nakada)
10:39 AM Bug #12611: Issues, reported by PVS-Studio static analyzer
Nobuyoshi Nakada wrote:
> Yusuke Endoh wrote:
> > > - Fragment N2: we have our dedicated `realloc()` implementation...
shyouhei (Shyouhei Urabe)
10:25 AM Bug #12611: Issues, reported by PVS-Studio static analyzer
Yusuke Endoh wrote:
> > - Fragment N2: we have our dedicated `realloc()` implementation that behaves differently tha...
nobu (Nobuyoshi Nakada)
09:54 AM Bug #12611: Issues, reported by PVS-Studio static analyzer
Shyouhei Urabe wrote:
> - Fragment N1: `GetBindingPtr()` is a macro that assigns the argued variable.
It will cau...
mame (Yusuke Endoh)
08:31 AM Bug #12611: Issues, reported by PVS-Studio static analyzer
- Fragment N1: `GetBindingPtr()` is a macro that assigns the argued variable.
- Fragment N2: we have our dedicated `...
shyouhei (Shyouhei Urabe)
07:21 AM Bug #12611 (Closed): Issues, reported by PVS-Studio static analyzer
To demonstrate the capabilities of our analyzer, we regularly perform analysis of open source projects. We had recent... pavel-belikov (Pavel Belikov)
10:55 AM Revision a325876a (git): Fix Issues reported by PVS-Studio static analyzer
* vm.c (vm_set_main_stack): remove unnecessary check. toplevel
binding must be initialized. [Bug #12611] (N1)
* w...
nobu (Nobuyoshi Nakada)
08:13 AM Feature #12419 (Closed): Improve String#dump for Unicode output (from "\u{130}" to "\u0130")
Applied in changeset r55728.
----------
* string.c (String#dump): Change escaping of non-ASCII characters in
UTF-8...
duerst (Martin Dürst)
08:13 AM Revision c6692d94 (git): * string.c (String#dump): Change escaping of non-ASCII characters in
UTF-8 to use upper-case four-digit hexadecimal escapes without braces
where possible [Feature #12419].
* test/ruby/...
duerst (Martin Dürst)
03:06 AM Feature #11818 (Assigned): `Hash#compact`
mrkn (Kenta Murata)
01:43 AM Bug #12609 (Closed): rexml attribute class is using &quote instead of &quot when replacing " for the XML character entity &quot;
Good catch!
I've applied your patch at r55726.
kou (Kouhei Sutou)
01:43 AM Revision 21269d37 (git): Fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
01:39 AM Revision 95c78413 (git): * lib/rexml/attribute.rb (REXML::Attribute#to_string): Fix wrong
entry reference name of double quote.
[Bug#12609][ruby-core:76509]
Patch by Joseph Marrero. Thanks!!!
git-svn-i...
Sutou Kouhei
01:37 AM Feature #12550 (Closed): List files with SIL license in LEGAL file
hsbt (Hiroshi SHIBATA)
01:32 AM Feature #12546 (Closed): Remove UnicodeNormalize::UNICODE_VERSION
Applied in changeset ruby-trunk:r55725.
----------
* template/unicode_norm_gen.tmpl: Remove
UnicodeNormalize::UNIC...
duerst (Martin Dürst)
01:32 AM Revision 0ad3557d (git): * template/unicode_norm_gen.tmpl: Remove
UnicodeNormalize::UNICODE_VERSION at origin [Feature #12546].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@557...
duerst (Martin Dürst)
12:24 AM Bug #12598 (Closed): List files with Unicode license in LEGAL file
Applied in changeset r55724.
----------
* LEGAL: Added entries for files under the USD license.
[Bug #12598][ruby-...
hsbt (Hiroshi SHIBATA)
12:24 AM Revision 8c18d585 (git): * LEGAL: Added entries for files under the USD license.
[Bug #12598][ruby-core:76428][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55724 b2dd03c8-39d4-4d8f-98...
hsbt (Hiroshi SHIBATA)
12:20 AM Revision a19f4c6f (git): * LEGAL: Added entry for `lib/rdoc/generator/template/darkfish/css/fonts.css`
[Misc #12550][ruby-core:76255][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55723 b2dd03c8-39d4-4d8f-9...
hsbt (Hiroshi SHIBATA)

07/21/2016

09:59 PM Bug #12610 (Closed): webrick: protect from httpoxy
See problem documented at https://httpoxy.org/
Sorry my Internet connection is crap and I keep dropping.
Hope to ...
normalperson (Eric Wong)
09:28 PM Revision 2fbb1dca (git): gc.c: reduce EXEC_TAG
* gc.c (run_finalizer): push and exec tag just once, instead of
protecting for each finalizer.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
09:12 PM Revision 3f4acc0e (git): * 2016-07-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:12 PM Revision 2a32bd36 (git): gc.c: set finalizing
* gc.c (gc_start_internal, rb_gc_start): set finalizing flag
whenever calling deferred finalizers not to recurse.
...
nobu (Nobuyoshi Nakada)
07:22 PM Feature #905: Add String.new(fixnum) to preallocate large buffer
I accept [String.new(capacity: size)](https://bugs.ruby-lang.org/issues/12024) as an acceptable implementation of thi... headius (Charles Nutter)
06:23 PM Bug #12609 (Closed): rexml attribute class is using &quote instead of &quot when replacing " for the XML character entity &quot;
lib/rexml/attribute.rb to_string method is using &quote instead of &quot when replacing double quotes.
https://w...
jmarrero (Joseph Marrero)
04:45 PM Feature #12608: Proposal to replace unless in Ruby
The following example:
~~~ ruby
unless user
redirect_to_login
else
render_profile
end
~~~
is a resul...
mmaglana (Mark Maglana)
03:16 PM Feature #12608: Proposal to replace unless in Ruby
Yes, I haven't read the proposals yet and they are indeed pretty confusing :)
Also, I just read the second example...
rosenfeld (Rodrigo Rosenfeld Rosas)
02:54 PM Feature #12608: Proposal to replace unless in Ruby
Rodrigo Rosenfeld Rosas wrote:
> I often use unless and never use it with else. While you might get some discussion ...
sawa (Tsuyoshi Sawada)
02:18 PM Feature #12608: Proposal to replace unless in Ruby
I often use unless and never use it with else. While you might get some discussion around forbidden "else" when "unle... rosenfeld (Rodrigo Rosenfeld Rosas)
01:00 PM Feature #12608 (Rejected): Proposal to replace unless in Ruby
Hi,
I would like to propose the replacement of the `unless` statement in Ruby.
# Problem description:
Unless ...
LucianCancescu (Lucian Cancescu)
01:34 PM Feature #12205 (Closed): update missing/strl{cat,cpy}.c
hsbt (Hiroshi SHIBATA)
01:27 PM Revision 0b859072 (git): * missing/strl{cat,cpy}.c: Update latest upstream files.
[Misc #12205][ruby-core:74487]
* LEGAL: Update license for missing/strl{cat,cpy}.c.
git-svn-id: svn+ssh://ci.ruby-la...
hsbt (Hiroshi SHIBATA)
01:10 PM Feature #10594: Comparable#clamp
Anyone there? I'd love to see this in Ruby finally and I'm not the only one... nerdinand (Ferdinand Niedermann)
01:00 PM Bug #12587: ruby released tarball require ruby
Tomoyuki Chikanaga wrote:
> Hi, Antonio. Thank you for your comment.
> The ruby tarball packages (including 2.3.x) ...
terceiro (Antonio Terceiro)
11:26 AM Bug #12587: ruby released tarball require ruby
> Needing Ruby to bootstrap Ruby is indeed an issue
Official releases such as:
ftp://ftp.ruby-lang.org/pub/...
shevegen (Robert A. Heiler)
12:24 AM Bug #12587: ruby released tarball require ruby
Hi, Antonio. Thank you for your comment.
The ruby tarball packages (including 2.3.x) don't require bootstrap ruby to...
nagachika (Tomoyuki Chikanaga)
12:54 PM Bug #12549 (Closed): List files with CC0 license in LEGAL file
Applied in changeset r55718.
----------
* LEGAL: added file list with CC0 license.
[ruby-core:76254][Bug #12549]
hsbt (Hiroshi SHIBATA)
12:54 PM Revision e84f9113 (git): * LEGAL: added file list with CC0 license.
[ruby-core:76254][Bug #12549]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55718 b2dd03c8-39d4-4d8f-98ff-823fe6...
hsbt (Hiroshi SHIBATA)
12:26 PM Feature #12607: Ruby needs an atomic integer
I guess the proper way of helping users to write concurrent code in Ruby is to provide concurrent classes in stdlib r... rosenfeld (Rodrigo Rosenfeld Rosas)
05:29 AM Feature #12607: Ruby needs an atomic integer
Do we want to have another integer variant just after having `Fixnum` and `Bignum` been excluded in favor of the `Int... sawa (Tsuyoshi Sawada)
05:04 AM Feature #12607 (Feedback): Ruby needs an atomic integer
(This one was derived from bug #12463)
Although I don't think += would become atomic, at the same time I understan...
shyouhei (Shyouhei Urabe)
12:20 PM Feature #12463: ruby lacks plus-plus
Thanks for the investigation. I understand there are trade-offs involved in most decisions. I'm just not sure how Rub... rosenfeld (Rodrigo Rosenfeld Rosas)
03:34 AM Feature #12463: ruby lacks plus-plus
Anyways, I tested following modification (against the proposed opt_plusplus) that tries to be atomic as far as no rea... shyouhei (Shyouhei Urabe)
02:27 AM Feature #12463: ruby lacks plus-plus
I didn't say we don't need speed; I said it's difficult by design. shyouhei (Shyouhei Urabe)
02:15 AM Feature #12463: ruby lacks plus-plus
Or if performance is not a concern it could be simply implemented by using a mutex to perform the operation, right? rosenfeld (Rodrigo Rosenfeld Rosas)
02:13 AM Feature #12463: ruby lacks plus-plus
I don't think ++ is going to be atomic because in Ruby an Integer has infinite width in theory. To achieve this prop... shyouhei (Shyouhei Urabe)
01:25 AM Feature #12463: ruby lacks plus-plus
If ++ would be implemented as an atomic operation, then I'd be +1 for this as it's much easier to write the common pa... rosenfeld (Rodrigo Rosenfeld Rosas)
11:25 AM Bug #12285: Date.iso8601 does not properly handle partial date strings
> Date is not maintained now. We can not answer your concern.
What does this mean? Date is in a separated gem now,...
zverok (Victor Shepelev)
02:46 AM Bug #12285: Date.iso8601 does not properly handle partial date strings
`Date` is not maintained now. We can not answer your concern. hsbt (Hiroshi SHIBATA)
12:06 AM Bug #12285: Date.iso8601 does not properly handle partial date strings
Could anyone tell me who to talk to find out if this issue is a WONTFIX? I have only reported a few things on this bu... backus (John Backus)
05:54 AM Bug #12604: Win32::Resolv.get_resolv_info returns unavailable DNS servers
Maybe, does `GetNetworkParams()` work? nobu (Nobuyoshi Nakada)
01:18 AM Bug #12601 (Third Party's Issue): Ruby 2.3 Gem.datadir returns wrong directory when referring to gem data directory
Please report to the upstream of rubygems. nobu (Nobuyoshi Nakada)

07/20/2016

11:39 PM Feature #12546 (Assigned): Remove UnicodeNormalize::UNICODE_VERSION
`lib/unicode_normalize/tables.rb` is automatically generated from `template/unicode_norm_gen.tmpl`.
You have to chan...
usa (Usaku NAKAMURA)
07:55 AM Feature #12546 (Closed): Remove UnicodeNormalize::UNICODE_VERSION
duerst (Martin Dürst)
11:25 PM Revision 6a4e772b (git): * enc/unicode/data/8.0.0 (svn:ignore): also be ignored dotfiles.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
11:24 PM Feature #12589: VM performance improvement proposal
Yui NARUSE wrote:
> > Secondly, I'd like to combine some frequent insn sequences into
> > bigger insns. Again it de...
vmakarov (Vladimir Makarov)
11:22 AM Feature #12589: VM performance improvement proposal
> Secondly, I'd like to combine some frequent insn sequences into
> bigger insns. Again it decreases insn dispatch o...
naruse (Yui NARUSE)
10:52 PM Revision 1d2b3f13 (git): * enc/unicode/data (svn:ignore): after r55701, this directory has versioned data.
* enc/unicode/data/8.0.0 (svn:ignore): ignore downloaded files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5...
U.Nakamura
09:15 PM Revision e9f61faa (git): enum.c: [DOC] Enumerable#uniq [ci skip]
* enum.c (enum_uniq): add rdoc, reference to Array#uniq.
[Feature #11090]
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)
09:00 PM Revision 39622db0 (git): NEWS: Enumerable#uniq [ci skip]
* NEWS: mention Enumerable#uniq and Enumerator::Lazy#uniq.
[Feature #11090]
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
04:00 PM Revision f477d5e2 (git): Fix commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:59 PM Revision f09afc29 (git): * 2016-07-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:58 PM Revision 14a14509 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:35 PM Bug #12604 (Closed): Win32::Resolv.get_resolv_info returns unavailable DNS servers
`Win32::Resolv.get_resolv_info` returns a list of IP address that include DNS server for network devices that are not... larsch (Lars Christensen)
02:27 PM Bug #12587: ruby released tarball require ruby
Hi. I am one of the Ruby maintainers in Debian. Needing Ruby to bootstrap Ruby is indeed an issue, specially when add... terceiro (Antonio Terceiro)
04:46 AM Bug #12587: ruby released tarball require ruby
I cannot reproduce with ruby-2.3.1.tar.gz package on Debian GNU/Linux 8.
And known_errors.inc is included in the pac...
nagachika (Tomoyuki Chikanaga)
01:40 PM Bug #12603 (Closed): Segmentation fault random in irb with ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux-musl]
Real example from a docker container with ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux-musl]
First sta...
dlupu (Dorian LUPU)
10:44 AM Feature #12463: ruby lacks plus-plus
Koichi Sasada wrote:
> I'm on weak negative with the following two points.
>
> (1) there are only small improveme...
naruse (Yui NARUSE)
10:19 AM Bug #11133: Wrong Hyperlink representation in man page
Although Gnome Terminal was fixed, the Ruby's man page are still rather unique according to [1]. Would you consider t... vo.x (Vit Ondruch)
08:44 AM Revision 6882b354 (git): enumerator.c: Enumerator::Lazy#uniq
* enumerator.c (lazy_uniq): new method Enumerator::Lazy#uniq.
[Feature #11090]
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
08:39 AM Feature #11090 (Closed): Enumerable#each_uniq and #each_uniq_by
Applied in changeset r55709.
----------
enum.c: Enumerable#uniq
* enum.c (enum_uniq): new method Enumerable#uniq.
...
nobu (Nobuyoshi Nakada)
08:39 AM Revision 42c6a513 (git): enum.c: Enumerable#uniq
* enum.c (enum_uniq): new method Enumerable#uniq.
[Feature #11090]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
nobu (Nobuyoshi Nakada)
08:36 AM Feature #12602 (Closed): Add NilClass#to_d
`bigdecimal/util` adds a `#to_d` method to many native classes, as a shortcut to converting them to `BigDecimal`, e.g... Domon (Chun-wei Kuo)
08:35 AM Revision f14d6463 (git): * 2016-07-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:35 AM Revision aa0e51b5 (git): hash.c: rb_hash_add_new_element
* hash.c (rb_hash_add_new_element): add new element or do nothing
if it is contained already.
* array.c (ary_add_ha...
nobu (Nobuyoshi Nakada)
06:17 AM Bug #12601 (Third Party's Issue): Ruby 2.3 Gem.datadir returns wrong directory when referring to gem data directory
In Ruby 2.2.2 I used to be able to refer to a gem's source directory in Gemfile, for example "/Users/david/programs/w... davidsiaw (David Siaw)
03:13 AM Feature #12455: Add a way for class String to determine whether it has only numbers / digits or not
I feel that `to_i` extension might be better than `Integer`.
```ruby
"foo".to_i #=> 0
"foo".to_i(...
nobu (Nobuyoshi Nakada)
02:31 AM Feature #12455: Add a way for class String to determine whether it has only numbers / digits or not
We looked at this issue at yesterday's developer meeting.
- For the proposed functionality: why do you want to _d...
shyouhei (Shyouhei Urabe)
02:52 AM Bug #12600 (Feedback): Crash when starting up sidekiq
Seems a GC issue.
> ```
> Don't forget to include the above Crash Report log file in bug reports.
Could you sh...
nobu (Nobuyoshi Nakada)
02:42 AM Feature #12086: using: option for instance_eval etc.
We looked at this issue at yesterday's developer meeting.
About performance, Matz wanted to hear opinions of JRuby...
shyouhei (Shyouhei Urabe)
02:26 AM Feature #12512: Import Hash#transform_values and its destructive version from ActiveSupport
We looked at this issue at yesterday's developer meeting and no one there was against this API, including the value p... shyouhei (Shyouhei Urabe)
02:20 AM Feature #10208: Passing block to Enumerable#to_h
We looked at this issue at yesterday's developer meeting and had consensus that there is no other example of to_* met... shyouhei (Shyouhei Urabe)
02:15 AM Feature #12057: Allow methods with `yield` to be called without a block
What OP wants can be done using enumerator.
```ruby
require 'enumerator'
def f
Enumerator.new do |y|
y...
shyouhei (Shyouhei Urabe)
02:03 AM Feature #3187: Allow dynamic Fiber stack size
We looked at this issue at yesterday's developer meeting.
The (potential) problem here is the way Rubinius impleme...
shyouhei (Shyouhei Urabe)
01:49 AM Feature #12334: Final/Readonly Support for Fields / Instance Variables
FYI we looked at this issue at yesterday's developer meeting. I tried to support this for being a potential optimiza... shyouhei (Shyouhei Urabe)
01:40 AM Feature #12299: Add Warning module for customized warning handling
Sorry for the miss (my fault). As far as I read the proposed patch, it seems the "wrapping regular expression" part ... shyouhei (Shyouhei Urabe)
12:32 AM Feature #7361: Adding Pathname#touch
We don't always blindly import broken designs; for instance Ruby do not have creat(2) equivalent method. "Everybody ... shyouhei (Shyouhei Urabe)
 

Also available in: Atom