Project

General

Profile

Activity

From 12/18/2015 to 12/24/2015

12/24/2015

11:24 PM Bug #11870 (Closed): Eradication of typical misspellings
Applied in changeset r53299.
----------
fix common misspelling [ci skip]
* compile.c, cont.c, doc, man: fix common misspelling.
[ruby-core:72466] [Bug #11870]
nobu (Nobuyoshi Nakada)
09:49 AM Bug #11870 (Assigned): Eradication of typical misspellings
nobu (Nobuyoshi Nakada)
03:32 AM Bug #11870 (Closed): Eradication of typical misspellings
(Note: this patch is low priority and I do not complained if this isn't applied to 2.3 release.)
Thanks to the Wikipedia page https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines ,
I've found many misspel...
tad (Tadashi Saito)
11:23 PM Revision 22d8481f (git): fix common misspelling [ci skip]
* compile.c, cont.c, doc, man: fix common misspelling.
[ruby-core:72466] [Bug #11870]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:37 PM Revision 35ef17dc (git): Add ruby_2_3 branch to .travis.yml [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:12 PM Revision 239454dc (git): Add ruby_2_3 branch to .travis.yml
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:11 PM Revision 9860cf1a (git): merge revision(s) 53294:
ignore exception is the address is IPv6
some environments disables IPv6 even if they have IPv6 addresses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:06 PM Revision 0674a9c7 (git): * doc/contributing.rdoc: removed the list of branch maintainers because it may
be too old when users see it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:53 PM Revision 6e181393 (git): ignore exception is the address is IPv6
some environments disables IPv6 even if they have IPv6 addresses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:25 PM Revision ac2f601e (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:25 PM Revision 50d537a9 (git): * ChangeLog, NEWS: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:24 PM Revision d1a42edd (git): * doc/{ChangeLog,NEWS}-2.3.0: moved.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:35 PM Revision 73f7ac1f (git): v2.3.0p0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:32 PM Revision 29b083f5 (git): stable branch of Ruby 2.3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:09 PM Revision b58b970d (git): * 2015-12-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:09 PM Revision ea98e52f (git): revert deprecated functions
* error.c (rb_compile_error_with_enc, rb_compile_error),
(rb_compile_bug): revert deprecate internal functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:30 PM Revision 2fd34fa3 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:15 PM Revision 89b32816 (git): iseq.c: narrow down protected region
* iseq.c (rb_iseq_compile_with_option): narrow down protected
region, and check/convert/prepare arguments before setting
base_block which needs to roll back.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53282 b2dd03c8-39d4-4d8f...
nobu (Nobuyoshi Nakada)
02:02 PM Revision 5715bee4 (git): * NEWS: added entry for CGI.escapeHTML optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
01:05 PM Feature #11868: Proposal for RubyVM::InstructionSequence.compile to return an object containing the syntax error information currently written to STDERR
Nobuyoshi Nakada wrote:
> What's `hint`?
> ...
Thank you for starting on this already. I appreciate it.
The hint/location suggestion is what ruby prints indicating where the syntax error occurred.
Sorry, hint is probably the wrong...
jrafanie (Joe Rafaniello)
09:52 AM Feature #11868: Proposal for RubyVM::InstructionSequence.compile to return an object containing the syntax error information currently written to STDERR
What's `hint`?
https://github.com/ruby/ruby/compare/trunk...nobu:feature/11868-SyntaxError-location
nobu (Nobuyoshi Nakada)
03:06 AM Feature #11868: Proposal for RubyVM::InstructionSequence.compile to return an object containing the syntax error information currently written to STDERR
Nobuyoshi Nakada wrote:
> [`assert_valid_syntax`](https://github.com/ruby/ruby/blob/trunk/test/lib/test/unit/assertions.rb#L450) may help you.
Thank you for reviewing this so quickly and the suggestion. I forgot that test/unit had ...
jrafanie (Joe Rafaniello)
12:38 AM Feature #11868: Proposal for RubyVM::InstructionSequence.compile to return an object containing the syntax error information currently written to STDERR
[`assert_valid_syntax`](https://github.com/ruby/ruby/blob/trunk/test/lib/test/unit/assertions.rb#L450) may help you.
nobu (Nobuyoshi Nakada)
11:09 AM Bug #11740: ObjectSpace.each_object exposes internal metaclasses
Looks good now, thanks! Eregon (Benoit Daloze)
09:59 AM Revision 5a536c8f (git): add a ticket number [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:43 AM Revision 94090b05 (git): deprecate exposed internal functions
* error.c (rb_compile_error_with_enc, rb_compile_error),
(rb_compile_bug): deprecate internal functions.
* parse.y (parser_yyerror): construct exception message with
source code and carret.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
08:25 AM Revision 26984290 (git): preserve source file name encoding
* compile.c (append_compile_error), parse.y (compile_error):
preserve encoding of source file name in exceptions.
* error.c (rb_compile_error_str, rb_compile_bug_str): add.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53278 b2dd0...
nobu (Nobuyoshi Nakada)
08:21 AM Revision 8cda3cbb (git): NEWS: reduce redundancy w.r.t Socket+IO [ci skip]
No need to mention the same things in the same document multiple
times. Use numeric references to point to previously-mentioned
items.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
07:21 AM Revision bec6c27f (git): * common.mk (fake.rb): $(arch)-fake.rb must depend miniruby because
it may depend miniruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:21 AM Revision 026066e9 (git): * common.mk (ripper.c): r50045 wrongly replace $(PWD) with ../..
It is the top of build directory, not topsrcdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:39 AM Revision 0f6ccf7c (git): remove empty section [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:39 AM Revision cc5781cf (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:38 AM Revision 0901fc52 (git): remove duplicated ticket number [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:35 AM Revision d9ec53a9 (git): * tool/vcs.rb (IO.popen): Refactor. Avoid assigning in condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
06:35 AM Revision b85a7910 (git): * tool/file2lastrev.rb: Fix ArgumentError to work on Ruby 1.8.7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
06:35 AM Revision 53a606a5 (git): * tool/vcs.rb (IO.popen): Enable on Ruby 1.9 where chdir option is not
supported on IO.popen
* tool/vcs.rb (IO.popen): Fix NoMethodError. I guess r49705 was not
tested... :/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
05:59 AM Revision 43b21442 (git): * NEWS: rename
"Implementation changes" section to
"Supported platform changes" section.
* NEWS: add "Implementation improvements" and add several entries.
* NEWS: add NEWS entries by Eric Wong. [ruby-core:72450]
git-svn-id: svn+ssh://ci.ruby-l...
ko1 (Koichi Sasada)
03:25 AM Bug #11869 (Closed): random hang/SegFault when accessing a missing constant in irb
While testing ruby-2.2.4 on Fedora 22, I noticed that sometimes ruby would hang or segfault when accessing a missing constant within irb.
# Steps to Reproduce
1. /path/to/ruby-2.2.4/bin/irb
2. type "FOO" and press enter
3. Repeat...
postmodern (Hal Brodigan)
02:23 AM Feature #11865: CSV: keep original line when parsing
Here is the pull request for this, https://github.com/ruby/ruby/pull/1170 doni (Doni Leong)
02:21 AM Bug #11867: overriden constant instance variable mismatch
dingo egret wrote:
> ~~~ruby
> ...
You should call super if you want to set the member `a`.
~~~ruby
class A
def initialize(b)
super(b)
@b = b
end
end
~~~
shugo (Shugo Maeda)
12:32 AM Bug #11867 (Feedback): overriden constant instance variable mismatch
Exactly.
What do you expect instead?
nobu (Nobuyoshi Nakada)

12/23/2015

08:24 PM Feature #11868: Proposal for RubyVM::InstructionSequence.compile to return an object containing the syntax error information currently written to STDERR
Note: I also tried ripper and all methods return nil for invalid syntax so RubyVM::InstructionSequence seemed like the easiest place to do this feature since it already has the information I need. jrafanie (Joe Rafaniello)
08:12 PM Feature #11868 (Open): Proposal for RubyVM::InstructionSequence.compile to return an object containing the syntax error information currently written to STDERR
Currently, RubyVM::InstructionSequence.compile or RubyVM::InstructionSequence.new return a new InstructionSequence for valid ruby.
For invalid syntax, a SyntaxError is raised with a message of 'compile error'. Meanwhile, the useful i...
jrafanie (Joe Rafaniello)
07:34 PM Bug #11867 (Closed): overriden constant instance variable mismatch
~~~ruby
A = Struct.new(:a)
A.new(1)
#<struct A a=1>
class A
def initialize(b)
@b = b
end
end
A.new(1)
#<struct A a=nil>
~~~
Is this expected?
dingoegret (dingo egret)
03:26 PM Revision 7f71cdcf (git): * 2015-12-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:26 PM Bug #11866 (Closed): (mingw32) Cannot install or update io-console
Applied in changeset r53266.
----------
io/console: fix gem build failure on Windows
* ext/io/console/extconf.rb: fix gem build failure on Windows.
only win32_vk.inc is included in the gem and no dependencies for
the header, so tha...
nobu (Nobuyoshi Nakada)
10:42 AM Bug #11866 (Feedback): (mingw32) Cannot install or update io-console
Sorry, some files are missing.
Could you try http://www.rubyist.net/~nobu/ruby/io-console-0.4.4.gem ?
nobu (Nobuyoshi Nakada)
09:57 AM Bug #11866 (Closed): (mingw32) Cannot install or update io-console
`gem update` fails because it tries to update io-console, which cannot update (or install) itself.
Here's the full output:
~~~
λ gem install io-console
Temporarily enhancing PATH to include DevKit...
Building native extensions. ...
thany (Martijn Saly)
03:26 PM Revision 12a2e17a (git): io/console: fix gem build failure on Windows
* ext/io/console/extconf.rb: fix gem build failure on Windows.
only win32_vk.inc is included in the gem and no dependencies for
the header, so that gperf will not be mandatory.
[ruby-core:72453] [Bug #11866]
* ext/io/console/io-con...
nobu (Nobuyoshi Nakada)
02:58 PM Revision f9adadc5 (git): rb_readwrite_syserr_fail
* io.c (rb_readwrite_syserr_fail): works with the given errno than
thread local errno.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:57 AM Revision f4166e2d (git): prefer rb_syserr_fail
* file.c, io.c, util.c: prefer rb_syserr_fail with saved errno
over setting errno then call rb_sys_fail, not to be clobbered
potentially and to reduce thread local errno accesses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53...
nobu (Nobuyoshi Nakada)
05:29 AM Revision d15f3088 (git): configure.in: get rid of macro redefinition
* configure.in (__STDC_WANT_LIB_EXT1__): get rid of redefinition
to suppress warnings by gcc5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:15 AM Revision 616b11e2 (git): * version.h: bump to 2.1.9. may this version be the last of 2.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@53262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:12 AM Feature #11865 (Closed): CSV: keep original line when parsing
Just like the attribute @lineno in CSV, the CSV parser should keep the last original line when parsing a csv file.
Here is the reason that I want it, I am making a software to parse CSV which user uploaded, and verify the data in the ...
doni (Doni Leong)
03:43 AM Revision 3a05da13 (git): [DOC] Fix typos
* benchmark.rb
* getoptlong.rb
* irb.rb
* net/http.rb
* net/http/header.rb
* net/imap.rb
* optparse.rb
* pstore.rb
* webrick.rb
* xmlrpc.rb
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53261 b2dd03c8-39d4-4d8f-98ff-823fe...
matsuda (Akira Matsuda)
03:15 AM Bug #11864: Resolv incorrectly accepts invalid hostnames and caches records between sessions
Correction.
The previous result was when VPN is connected, and the answer seemed a list of private addresses over VPN.
After disconnecting the VPN, an empty list returned.
I'm not sure if this is your case, however, check your net...
nobu (Nobuyoshi Nakada)
03:11 AM Bug #11864 (Third Party's Issue): Resolv incorrectly accepts invalid hostnames and caches records between sessions
It returned an empty list for an empty name on Darwin 15, but returned a random list on Darwin 14.
Seems a bug of OS X 10.10.
You may want to request Apple to backport the fix.
nobu (Nobuyoshi Nakada)
01:41 AM Bug #11864: Resolv incorrectly accepts invalid hostnames and caches records between sessions
Assigning directly to Akira Tanaka, the Resolv maintainer per https://bugs.ruby-lang.org/projects/ruby/wiki/MaintainersStdlib breadtk (Osman Surkatty)
01:37 AM Bug #11864 (Third Party's Issue): Resolv incorrectly accepts invalid hostnames and caches records between sessions
Hello,
While working on a DNS related project I noticed that Resolv's `getaddresses()` and `getaddress()` functions will incorrectly accepts an empty `String` and additionally returns a cached record if a new IRB session is invoked. `...
breadtk (Osman Surkatty)
03:02 AM Revision adc08985 (git): * string.c: Fix document. Default value of the first
argument of `String#split` is not `$;` but `nil`.
When `nil` is passed as first argument, `$;` is used.
[ci skip] [Bug #11729] [ruby-dev:49378]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53260 b2dd03c8-39d4-4d8f-98ff-823fe69b...
yui-knk (Kaneko Yuichiro)

12/22/2015

10:28 PM Bug #11862 (Closed): [PATCH] ext/socket/init.c (rsock_init_sock): reject reserved FDs
Applied in changeset r53259.
----------
ext/socket/init.c (rsock_init_sock): reject reserved FDs
[ruby-core:72445] [Bug #11862]
Anonymous
09:59 PM Bug #11862: [PATCH] ext/socket/init.c (rsock_init_sock): reject reserved FDs
Indeed, it seems necessary. nobu (Nobuyoshi Nakada)
07:43 PM Bug #11862 (Closed): [PATCH] ext/socket/init.c (rsock_init_sock): reject reserved FDs
We've had this bug for years, but writing a portable test for it could
be challenging. I think it is safe to commit w/o tests; on the other hand
I doubt anybody would really care if it's fixed before 2.3 since we've
had this bug sinc...
normalperson (Eric Wong)
10:28 PM Revision 1abef5bd (git): ext/socket/init.c (rsock_init_sock): reject reserved FDs
[ruby-core:72445] [Bug #11862]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
09:25 PM Bug #11863 (Closed): configure/makefile needs to follow the standard behavior
Hello,
I'm the current OpenWRT maintainer of ruby packages.
However, configure/makefile for ruby has some exotic usages.
LDFLAGS is used only for execs
DLDFLAGS for libraries
XLDFLAGS for extra options for both.
Normally, it ...
luizluca (Luiz Angelo Daros de Luca)
09:17 PM Bug #11849: Heredoc regression in 2.2.4
Backported into `ruby_2_2` branch at r53258.
Are there any concrete gems which is affected by this regression?
I want to know the severity of this issue in the real world.
nagachika (Tomoyuki Chikanaga)
09:16 PM Revision 9c6779f5 (git): merge revision(s) 53214,53215: [Backport #11849]
* parse.y (parser_yylex): allow here documents in labeled
argument. [ruby-core:72396] [Bug #11849]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@53258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
09:04 PM Bug #11833: 2.2.4 syntax error when naked percent notation touches keyword arguments
Thank you for your report and notice.
I've just backport at r53257.
Are there any concrete gems which is affected by this regression?
I want to know the severity of this issue in the real world.
nagachika (Tomoyuki Chikanaga)
08:59 PM Bug #11833 (Closed): 2.2.4 syntax error when naked percent notation touches keyword arguments
Applied in changeset backport22:r53257.
----------
merge revision(s) 53092,53093: [Backport #11812] [Backport #11833]
* parse.y (parse_percent): Allow %-literals in labeled arg as
r51624 did for parentheses.
Fixes [ruby-core:720...
nagachika (Tomoyuki Chikanaga)
08:59 PM Bug #11812: Lack of space between colon and % literal causes syntax error
Backported into `ruby_2_2` branch at r53257. nagachika (Tomoyuki Chikanaga)
08:59 PM Revision 3b3500c6 (git): merge revision(s) 53092,53093: [Backport #11812] [Backport #11833]
* parse.y (parse_percent): Allow %-literals in labeled arg as
r51624 did for parentheses.
Fixes [ruby-core:72084] [Bug #11812].
* test/ruby/test_syntax.rb: fix typo in test
git-svn-id: svn+ssh://ci.ruby-lan...
nagachika (Tomoyuki Chikanaga)
08:16 PM Revision 89df822b (git): bump version to 2.2.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@53256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
08:00 PM Revision 299e5e52 (git): NEWS: add hint for Redmine URLs with issue number [ci skip]
This may not be obvious to folks who do not follow Ruby
development.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
06:20 PM Revision f4cacdc4 (git): Revert r53253. naruse fixed it differently in r53244
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
06:08 PM Revision 5e183c72 (git): test/socket/test_basicsocket.rb: attempt fix for [ruby-cvs:60402]
I'm not sure how fstat on fd=-1 can succeed on some systems...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
05:59 PM Revision b9576e7d (git): configure.in: define __STDC_WANT_LIB_EXT1__
* configure.in (__STDC_WANT_LIB_EXT1__): necessary to use memset_s
in strict C99 mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:34 PM Revision 9fb59681 (git): regexec.c: fix build with direct threaded VM
* regexec.c (match_at): move direct threaded VM code to get rid of
mixed declarations and code, and enable it only for gcc since it
depends on a gcc extension.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53251 b2dd03c8-39d4-4d...
nobu (Nobuyoshi Nakada)
05:30 PM Revision 03cc02c9 (git): * gems/bundled_gems: Upgrade the did_you_mean gem to 1.0.0
* NEWS: Add news about the did_you_mean gem
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Yuki Nishijima
05:18 PM Revision e6be17c7 (git): Fix typo in contributing docs [ci skip]
* doc/contributing.rdoc: [DOC] remove an extra word "here".
[Fix GH-1169]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:58 PM Revision 6e767dd0 (git): regexec.c: enable direct threaded VM
* regexec.c (USE_DIRECT_THREADED_VM): enable direct threaded VM by
the default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:49 PM Bug #11762: Array#dig can raise TypeError: no implicit conversion of Symbol/String into Integer
Hi Matz, do you have any reactions to the above? colindkelley (Colin Kelley)
04:41 PM Revision 73cc8295 (git): * 2015-12-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:41 PM Revision 08aa1cd1 (git): test_rdoc_generator_json_index.rb: open in binmode
* test/rdoc/test_rdoc_generator_json_index.rb (test_generate_gzipped):
open a gzipped file in binary mode, since it is binary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:18 PM Bug #11820 (Closed): Please bump version of all bundled gems prior Ruby 2.3 release
io-console 0.4.4 is released by nobu. hsbt (Hiroshi SHIBATA)
01:19 PM Bug #11820: Please bump version of all bundled gems prior Ruby 2.3 release
mrkn bumped bigdecimal-1.2.8
> nobu
Can you release new version of io/console and bump version?
hsbt (Hiroshi SHIBATA)
12:15 PM Bug #11820: Please bump version of all bundled gems prior Ruby 2.3 release
I released psych-2.0.17, and zzak released rdoc-4.2.1 hsbt (Hiroshi SHIBATA)
01:56 PM Revision 52c3b2eb (git): io-console.gemspec: BSD-2-Clause
* ext/io/console/io-console.gemspec: change the license to
BSD-2-Clause since "ruby" is no longer valid license as gem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:45 PM Revision 4eac2e83 (git): fix r53231: raise Errno::EBADF like other OSes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:16 PM Bug #11740 (Closed): ObjectSpace.each_object exposes internal metaclasses
Applied in changeset r53243.
----------
gc.c: do not expose internal singleton class
* gc.c (internal_object_p): should not expose singleton classes
without a metaclass. based on patches by ko1 and shugo.
[Bug #11740]
* class.c (r...
nobu (Nobuyoshi Nakada)
02:36 AM Bug #11740: ObjectSpace.each_object exposes internal metaclasses
Koichi Sasada wrote:
> Maybe I missed some points.
> ...
You shouldn't hide singleton classes of non-class objects.
```diff
diff --git a/gc.c b/gc.c
index 12be1ea..a574656 100644
--- a/gc.c
+++ b/gc.c
@@ -2400,6 +2400,14 @@ int...
shugo (Shugo Maeda)
01:15 PM Revision 96ac47c2 (git): gc.c: do not expose internal singleton class
* gc.c (internal_object_p): should not expose singleton classes
without a metaclass. based on patches by ko1 and shugo.
[Bug #11740]
* class.c (rb_singleton_class_object_p): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
01:15 PM Revision 3f90a4ae (git): io-console.gemspec: bump up
* ext/io/console/io-console.gemspec: bump up to 0.4.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:11 PM Revision 9d57cf88 (git): * NEWS: Added news entry of Psych 2.0.17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
01:09 PM Revision a823014f (git): * NEWS: Added news entry of RDoc 4.2.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:20 PM Revision d9bddfda (git): * ext/bigdecimal/bigdecimal.gemspec: bump version to 1.2.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
12:08 PM Revision 145433d9 (git): * lib/rdoc.rb: bump version to 4.2.1. It contains following fixes.
https://github.com/rdoc/rdoc/pull/340
https://github.com/rdoc/rdoc/pull/341
https://github.com/rdoc/rdoc/pull/367
https://github.com/rdoc/rdoc/pull/368
* lib/rdoc/*: ditto.
* test/rdoc/*: ditto.
git-svn-id: svn+ssh://ci.ruby-lang....
hsbt (Hiroshi SHIBATA)
12:08 PM Bug #11861 (Closed): `zip` with `&symbol` causes segmentation error
nobu (Nobuyoshi Nakada)
11:33 AM Bug #11861 (Closed): `zip` with `&symbol` causes segmentation error
This code (`:foo` can be replaced with a different method, defined or not defined):
[].zip([], &:foo)
causes a segmentation error:
~~~
(irb):1: [BUG] Segmentation fault at 0x00000000e1112c
ruby 2.3.0preview2 (2015-12-11 tr...
sawa (Tsuyoshi Sawada)
11:25 AM Revision 618035b5 (git): * ext/psych/lib/psych.rb: bump version to 2.0.17
* ext/psych/psych.gemspec: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
11:20 AM Bug #11829 (Closed): [PERF] Benchmark of vm1_yield
Applied in changeset r53236.
----------
* vm_insnhelper.c: move vm_callee_setup_block_arg() (and related
functions) to the latter location.
This moving recovers performance a little.
[Bug #11829]
ko1 (Koichi Sasada)
11:20 AM Revision 11f4334f (git): * vm_insnhelper.c: move vm_callee_setup_block_arg() (and related
functions) to the latter location.
This moving recovers performance a little.
[Bug #11829]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
10:59 AM Bug #11860: Double splat does not work on empty hash assigned via variable
I found more cases (other than via variable) that the double splat does not work on an empty hash. While parenthesis or nesting does not cause the issue:
```ruby
[**({})] # => []
[**begin {} end] # => []
[**{**{}}] # => []
```
...
sawa (Tsuyoshi Sawada)
08:33 AM Bug #11860 (Closed): Double splat does not work on empty hash assigned via variable
When an empty hash is given as a literal, the double splat operates on it, and leaves nothing, which is expected.
```ruby
class String
def foo; end
end
[**{}] # => []
"foo".foo(**{}) # => nil
"foo".send("foo", **{}) # => nil...
sawa (Tsuyoshi Sawada)
08:22 AM Misc #10766 (Feedback): Build failed generating RDoc documentation
I cannot reproduce this on trunk, and on ruby_2_2 branch.
Please comment/open a ticket if you are still experiencing this issue.
zzak (zzak _)
08:16 AM Bug #11859 (Rejected): Regexp matching with \p{Upper} and \p{Lower} for EUC-JP doesn’t work.
U+FF21 (A, FULLWIDTH LATIN CAPITAL LETTER A) and U+00c0 (À, LATIN CAPITAL LETTER A WITH GRAVE) is `Uppercase_Letter` so it should match and return 0 in following case but this returns 1.
~~~
ruby -e 'puts "\uFF21A".encode("EUC-JP") =...
matsui (Kimihito Matsui)
06:21 AM Revision 9da8a297 (git): string.c: no exception on dummy encoding
* string.c (str_compat_and_valid): as scrub does nothing for dummy
encoding string now, incompatible encoding is not a matter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:31 AM Bug #11858 (Closed): CGI.escapeHTML should NOT return frozen string
Applied in changeset r53234.
----------
escape.c: should not freeze
* ext/cgi/escape/escape.c (optimized_escape_html): CGI.escapeHTML
should return unfrozen new string.
[ruby-core:72426] [Bug #11858]
nobu (Nobuyoshi Nakada)
03:09 AM Bug #11858: CGI.escapeHTML should NOT return frozen string
Attached a suggested patch.
This patch also adds some tests for not-modified patterns.
Tietew (Toru Iwase)
02:56 AM Bug #11858 (Closed): CGI.escapeHTML should NOT return frozen string
After r53220, following snippet fails.
~~~
$ ./ruby -rcgi -ve 'p CGI.escapeHTML("Hello, ".freeze) << "world."'
ruby 2.3.0dev (2015-12-22 trunk 53233) [x86_64-linux]
-e:1:in `<main>': can't modify frozen String (RuntimeError)
~~~
...
Tietew (Toru Iwase)
05:31 AM Revision 10a129ce (git): escape.c: should not freeze
* ext/cgi/escape/escape.c (optimized_escape_html): CGI.escapeHTML
should return unfrozen new string.
[ruby-core:72426] [Bug #11858]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

12/21/2015

11:55 PM Bug #11841: StringIO with read and `nil, ''` arguments broken with enabled frozen string literal
Thanks. In fact, I didn't realized the second argument is actually a buffer. My mistake deepj (deepj #)
10:28 PM Bug #11857 (Closed): Segmentation Fault in readline
I'm using a rails environment and this bug happens after I put rspec gem in my Gemfile and run a bundle install.
The log generated after segmentation is attachment and I'm available for further clarifications about the bug.
The bug...
niltonvasques (Nilton Vasques)
08:40 PM Bug #11855 (Closed): CGI.escapeHTML and taint/frozen
Applied in changeset r53233.
----------
escape.c: Preserve original state
* ext/cgi/escape/escape.c (preserve_original_state): Preserve
original state for tainted and frozen. [Fix GH-1166]
[ruby-dev:49451] [Bug #11855]
nobu (Nobuyoshi Nakada)
03:01 PM Bug #11855: CGI.escapeHTML and taint/frozen
ご報告ありがとうございます。修正パッチを書きました。
https://github.com/ruby/ruby/pull/1166
k0kubun (Takashi Kokubun)
02:22 PM Bug #11855 (Closed): CGI.escapeHTML and taint/frozen
taint フラグや frozen の扱いが変わってしまっているようです。
~~~
% ruby -v -r cgi -e 'p CGI.escapeHTML("".taint).tainted?'
ruby 2.3.0dev (2015-12-21 trunk 53230) [x86_64-darwin14]
true
% ruby -v -r cgi -e 'p CGI.escapeHTML("&".taint).tainted?'
ruby 2.3...
znz (Kazuhiro NISHIYAMA)
08:40 PM Revision 1b107d48 (git): escape.c: Preserve original state
* ext/cgi/escape/escape.c (preserve_original_state): Preserve
original state for tainted and frozen. [Fix GH-1166]
[ruby-dev:49451] [Bug #11855]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53233 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
06:58 PM Bug #11854 (Closed): Socket.for_fd(-1) causes segmentaion fault on mingw32.
Applied in changeset r53231.
----------
avoid rb_bug on BasicSocket.for_fd(-1)
* ext/socket/init.c (rsock_init_sock): check FD after validating
* test/socket/test_basicsocket.rb (test_for_fd): new
[ruby-core:72418] [Bug #11854]
Anonymous
06:57 PM Bug #11854: Socket.for_fd(-1) causes segmentaion fault on mingw32.
Will commit patch as-is since 2.3 release is soon.
normalperson (Eric Wong)
10:18 AM Bug #11854: Socket.for_fd(-1) causes segmentaion fault on mingw32.
Proposed fix (not sure about the error message saying "fstat(2)", now...)

Subject: [PATCH] avoid rb_bug on BasicSocket.for_fd(-1)

* ext/socket/init.c (rsock_init_sock): check FD after validating
* test/socket/test_basicsocket.rb ...
normalperson (Eric Wong)
09:43 AM Bug #11854 (Closed): Socket.for_fd(-1) causes segmentaion fault on mingw32.
The following command causes segmentation fault on mingw32 built version
~~~
C:>ruby -rsocket -ve 'Socket.for_fd(-1)'
~~~
~~~
-e:1: [BUG] rb_update_max_fd: invalid fd (-1) given.
ruby 2.3.0dev (2015-12-20 trunk 53220) [i386-mingw...
phasis68 (Heesob Park)
06:58 PM Revision 8e4c5d3a (git): * 2015-12-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:57 PM Revision 409e53de (git): avoid rb_bug on BasicSocket.for_fd(-1)
* ext/socket/init.c (rsock_init_sock): check FD after validating
* test/socket/test_basicsocket.rb (test_for_fd): new
[ruby-core:72418] [Bug #11854]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53231 b2dd03c8-39d4-4d8f-98ff-823fe...
Eric Wong
05:13 PM Bug #11856 (Rejected): Segmentation fault
/Users/mac/MyCRUD/vendor/cache/ruby/2.0.0/gems/json-1.8.3/lib/json/ext/parser.bundle: [BUG] Segmentation fault
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin14.5.0]
-- Crash Report log information -------------------------...
alinbizau (Bizau Alin)
04:05 PM Bug #11742: lib/webrick/utils.rb:196:in `register': ERROR RuntimeError: can't add a new key into hash during iteration
additional commit for this issue: r53201 ngoto (Naohisa Goto)
12:35 PM Bug #11853 (Closed): "variable.c line 43: warning: modification of typedef with int ignored" on Solaris
Applied in changeset r53230.
----------
* variable.c (struct ivar_update): rename "extended" to "iv_extended"
to avoid name conflict with /usr/include/floatingpoint.h on
Solaris. [Bug #11853] [ruby-dev:49448]
ngoto (Naohisa Goto)
09:38 AM Bug #11853 (Closed): "variable.c line 43: warning: modification of typedef with int ignored" on Solaris
おそらく r50678 以降、Solaris 10 上の Oracle Solaris Studio 12.x にて、以下のWarningが出ています。
~~~
"variable.c", line 43: warning: modification of typedef with "int" ignored (E_MODIFY_TYPEDEF_IGNORED)
~~~
該当行周辺は以下のとおりです。(先頭コメントは行番号)
~~~
/* 37:...
ngoto (Naohisa Goto)
12:35 PM Revision 3bf3f825 (git): * variable.c (struct ivar_update): rename "extended" to "iv_extended"
to avoid name conflict with /usr/include/floatingpoint.h on
Solaris. [Bug #11853] [ruby-dev:49448]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ngoto (Naohisa Goto)
10:34 AM Bug #11740 (Assigned): ObjectSpace.each_object exposes internal metaclasses
This patch breaks rubyspec.
```
1)
ObjectSpace.each_object walks a class and its normal descendants when passed the class's singleton class FAILED
Expected [#<Class:0x00000001860d98>,
#<Class:0x00000001860de8>,
#<Class:0x000000...
ko1 (Koichi Sasada)
09:41 AM Bug #11740 (Closed): ObjectSpace.each_object exposes internal metaclasses
Applied in changeset r53228.
----------
* gc.c (internal_object_p): should not expose singleton classes
without a metaclass.
[Bug #11740]
* class.c (rb_singleton_class_has_metaclass_p): added.
* test/ruby/test_class.rb: add a test.
ko1 (Koichi Sasada)
10:32 AM Revision 800607aa (git): revert r53228 because this patch breaks rubyspec
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:59 AM Bug #11699 (Third Party's Issue): Windows環境の日本語入力で不正な文字が混入する
usa (Usaku NAKAMURA)
09:37 AM Bug #11699: Windows環境の日本語入力で不正な文字が混入する
原因がわかりました。
[ansicon](https://github.com/adoxa/ansicon)をインストールしていたのが良くなかったみたいです。
アンインストールしたところ、正常に出力されました。
~~~
C:\>ruby -e "p gets"

"あ\n"
~~~
お騒がせしました。
h1kb (Taro YAMADA)
09:40 AM Revision 1bcee938 (git): * gc.c (internal_object_p): should not expose singleton classes
without a metaclass.
[Bug #11740]
* class.c (rb_singleton_class_has_metaclass_p): added.
* test/ruby/test_class.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
03:15 AM Bug #11852 (Closed): test_io.rb fails when maxproc < 1024
Applied in changeset r53227.
----------
* test/ruby/test_io.rb: handled rlimit value same as r52277
[Bug #11852][ruby-dev:49446]
hsbt (Hiroshi SHIBATA)
03:15 AM Revision a7f6b862 (git): * test/ruby/test_io.rb: handled rlimit value same as r52277
[Bug #11852][ruby-dev:49446]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
01:24 AM Revision 268da523 (git): lib/net/http.rb (open_timeout): update default value in RDoc [ci skip]
[ruby-core:72413]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
01:19 AM Bug #11851 (Closed): rb_profile_frames() causes segmentation fault
Applied in changeset r53225.
----------
vm_backtrace.c: ignore ifunc frames
* vm_backtrace.c (rb_profile_frames): ignore ifunc frames as it
did before. [ruby-core:72409] [Bug #11851]
nobu (Nobuyoshi Nakada)
01:18 AM Revision cc52f511 (git): vm_backtrace.c: ignore ifunc frames
* vm_backtrace.c (rb_profile_frames): ignore ifunc frames as it
did before. [ruby-core:72409] [Bug #11851]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:33 AM Revision 8ec531ba (git): * 2015-12-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:33 AM Revision c17e9e07 (git): NotImplementedError typo
* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLSocket): fix
NotImplementedError typo. [Fix GH-1165]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

12/20/2015

08:06 PM Bug #11313: Fixed a couple of typos
Backported into `ruby_2_2` branch at r53222. nagachika (Tomoyuki Chikanaga)
08:06 PM Revision 60c7009f (git): merge revision(s) 53023: [Backport #11313]
* cont.c: fix a double word typo.
[Bug #11313][ruby-core:69749]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@53222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
08:05 PM Bug #11764: ext/tk/lib/multi-tk.rb: fix three typos.
Backported into `ruby_2_2` at r53221. nagachika (Tomoyuki Chikanaga)
08:04 PM Revision 02262a55 (git): merge revision(s) 53022: [Backport #11764]
* ext/tk/lib/multi-tk.rb: fix typos.
[Bug #11764][ruby-core:71800]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@53221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:18 PM Feature #11848: New #to_b method for String, Symbol, Numeric, NilClass, TrueClass and FalseClass.
The idea of ***to_b*** method is inspired in Rails and Swift:
* ActiveRecord::Type:Boolean in Rails:
https://github.com/rails/rails/blob/fc4084fc5bdf60c46824094f4d6a362304c047f6/activerecord/lib/active_record/type/boolean.rb#L10
htt...
prodis (Fernando Hamasaki de Amorim)
12:57 PM Bug #11851: rb_profile_frames() causes segmentation fault
Uploaded reproducible code to Gist: https://gist.github.com/rhenium/e3a179b0cac87606c183
This runs on Ruby 2.2.4 and patched trunk but segfaults on trunk.
rhenium (Kazuki Yamaguchi)
11:48 AM Bug #11851: rb_profile_frames() causes segmentation fault
Could you show reproducible code or add a test? nobu (Nobuyoshi Nakada)
08:58 AM Bug #11851 (Closed): rb_profile_frames() causes segmentation fault
When the control frame stack contains an ifunc-frame, calling rb_profile_frames() causes a segmentation fault.
I've attached a patch that changes it to ignore ifunc frames as it did previously.
rhenium (Kazuki Yamaguchi)
12:11 PM Bug #11852 (Closed): test_io.rb fails when maxproc < 1024
maxprocのhard limitが小さい環境でtest_ioがErrorで失敗します。
OS X 10.11.2, OS X 10.10.5上のtrunk, 2.2.4, 2.1.8で確認しました。
~~~
$ ./ruby -e 'p Process.getrlimit(Process::RLIMIT_NPROC)'
[266, 532]
$ limit -h maxproc
maxproc 532
$ make TESTS=ru...
kimuraw (Wataru Kimura)
12:01 PM Feature #10130: String format with nested hash
What about using a sequence of space characters as delimiter?
h = {
author: {
name: "Ruby Taro",
affiliation: "Ruby co.",
},
date: "2014, 8, 14"
}
"Author: %{author name} (%{autho...
sawa (Tsuyoshi Sawada)
11:54 AM Revision ce7f7f5e (git): cgi/escape: Optimize CGI.escapeHTML
* cgi/escape/escape.c: Optimize CGI.escapeHTML for
ASCII-compatible encodings. [Fix GH-1164]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:31 AM Revision 28dc4109 (git): test_cgi_util.rb: fix arguments orders
* test/cgi/test_cgi_util.rb: fix arguments orders, expected values
should be placed first and then actual results.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:28 AM Revision 840e32c4 (git): ChangeLog: fold long line [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:28 AM Revision e2b22611 (git): ChangeLog: fix date of r53178 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:54 AM Bug #11822: Semantics of Queue#pop after close are wrong
I like optional arg to pop:
Either `pop?` or `pop(on_close: value)`
funny_falcon (Yura Sokolov)
08:42 AM Bug #11489: XMLRPC client cannot alter SSL options for _async calls
> This seems like an issue with the XMLRPC client, not openssl?
Whoops, I must have assigned by accident when I was re-assigning openssl related tickets.
I've re-assigned this ticket to Sutou san who's listed as the current maintai...
zzak (zzak _)
07:18 AM Bug #11842: r53123 breaks some gems which use erb
I see. Thank you for finding a gem which is widely used and has incompatibility about this.
I hope we will try this in later release.
k0kubun (Takashi Kokubun)
06:39 AM Bug #11842: r53123 breaks some gems which use erb
I found same case with rspec-rails in latest gems registered rubygems.org. It is widely used application development. I decided to revert r53123.
> Takashi Kokubun
We will try next release. Thank you for your investigation.
hsbt (Hiroshi SHIBATA)
06:37 AM Bug #11842 (Closed): r53123 breaks some gems which use erb
Applied in changeset r53216.
----------
* lib/erb.rb: revert r53123. It break compatibility like thor and rspec-rails.
We should try with Ruby 2.4 or 3.0.
[Bug #11842][ruby-core:72374]
* lib/rdoc/erb_partial.rb: ditto.
* template/ve...
hsbt (Hiroshi SHIBATA)
06:36 AM Revision 0516a337 (git): * lib/erb.rb: revert r53123. It break compatibility like thor and rspec-rails.
We should try with Ruby 2.4 or 3.0.
[Bug #11842][ruby-core:72374]
* lib/rdoc/erb_partial.rb: ditto.
* template/verconf.h.tmpl: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
05:14 AM Feature #11816: Partial safe navigation operator
Matz, is it possible to have a decision before the official release, so we at least know what the future might bring and can introduce it properly?
I still hope my "whichever is the most useful" proposal is accepted. We look at it rig...
marcandre (Marc-Andre Lafortune)
03:15 AM Bug #11844 (Feedback): Please update unicode-licensed files (license issue)
As far as I have explained, there are no copyright problems. Set to feedback to confirm with original commenter. duerst (Martin Dürst)
02:51 AM Bug #11844: Please update unicode-licensed files (license issue)
I'm not the appropriate person responsible to this issue.
For example, enc/trans/JIS/JISX0212%UCS.src is added by naruse.
akr (Akira Tanaka)
02:20 AM Bug #11844: Please update unicode-licensed files (license issue)
Christian Hofstaedtler wrote:
> Various files in enc/trans are old copies of Unicode.org files that forbid (re-)distribution. AFAICT, Unicode, Inc. has published newer versions of these files to fix this issue.
It looks like you have...
duerst (Martin Dürst)
02:49 AM Revision 0f4978d5 (git): test_syntax.rb: assertions for other heredocs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:43 AM Bug #11849 (Closed): Heredoc regression in 2.2.4
Applied in changeset r53214.
----------
parse.y: labeled heredoc
* parse.y (parser_yylex): allow here documents in labeled
argument. [ruby-core:72396] [Bug #11849]
nobu (Nobuyoshi Nakada)
02:43 AM Revision 9d5abbff (git): parse.y: labeled heredoc
* parse.y (parser_yylex): allow here documents in labeled
argument. [ruby-core:72396] [Bug #11849]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:15 AM Bug #11850 (Closed): `define_method(:foo, &:bar)` segfaults irrespective of location or arguments.
Applied in changeset r53213.
----------
* proc.c (rb_mod_define_method): should check Symbol or not.
[Bug #11850]
* test/ruby/test_method.rb: add a test.
ko1 (Koichi Sasada)
01:31 AM Bug #11850 (Closed): `define_method(:foo, &:bar)` segfaults irrespective of location or arguments.
`define_method(:foo, :bar.to_proc)` behaves as it did in previous versions of Ruby. 0x0dea (D.E. Akers)
02:14 AM Revision a8b0c252 (git): * proc.c (rb_mod_define_method): should check Symbol or not.
[Bug #11850]
* test/ruby/test_method.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
02:02 AM Revision 3b873005 (git): * proc.c (rb_mod_define_method): fix notation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
01:54 AM Revision c46ff1bb (git): * proc.c (proc_new): fix notation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
01:43 AM Revision 1da4d51b (git): assertions.rb: show failed indexes
* test/lib/test/unit/assertions.rb (AllFailures): show indexes in
total number of failure assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:15 AM Revision 50ec15d6 (git): Makefile.in: remove unintentional exec
* Makefile.in (update-coverage): remove unintentional `exec` from
commands followed by other commands.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:48 AM Revision d6543f80 (git): Makefile.in: V=1 at update
* Makefile.in (update-mspec, update-rubyspec, update-coverage):
show commands to run if V=1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

12/19/2015

11:59 PM Bug #11849 (Closed): Heredoc regression in 2.2.4
The following code gets rejected by 2.2.4:
~~~ruby
{
label:<<-DOC
Some text for a heredoc goes here
DOC
}
~~~
However, it was valid in 2.2.3.
I think this might have been introduced in r51617 (#10653).
whitequark (whitequark *)
10:43 PM Feature #11848: New #to_b method for String, Symbol, Numeric, NilClass, TrueClass and FalseClass.
I like the idea of having explicit conversion between booleans/integers, such that 0.to_b => false and true.to_i => 1.
!int.zero? can be a workaround for the first conversion but I only see a ternary condition for the second case.
Also...
Eregon (Benoit Daloze)
10:10 PM Feature #11848 (Rejected): New #to_b method for String, Symbol, Numeric, NilClass, TrueClass and FalseClass.
You forgot empty string/array/hash to be false. ;-)
But Ruby is not Python.
Matz.
matz (Yukihiro Matsumoto)
07:49 PM Feature #11848 (Feedback): New #to_b method for String, Symbol, Numeric, NilClass, TrueClass and FalseClass.
So many decisions in this seem completely arbitrary (and inconsistent), plus you don't give a use case, there's no way this would ever be accepted.
I'd suggest you build your own hash of true/false values and use that.
marcandre (Marc-Andre Lafortune)
05:06 PM Feature #11848 (Rejected): New #to_b method for String, Symbol, Numeric, NilClass, TrueClass and FalseClass.
New ***to_b*** method converts **strings**, **symbols**, **numbers** and **nil** values in a **boolean** value.
***to_b*** method is available on ***String***, ***Symbol***, ***Numeric***, ***TrueClass***, ***FalseClass*** and ***NilC...
prodis (Fernando Hamasaki de Amorim)
04:27 PM Bug #11847 (Closed): Install error on Linux NFS system
When I tried to install ruby 2.2.4 using rbenv and ruby-build, I encountered the following error.
~~~
installing bundle gems: /home/ohai/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0 (build_info, cache, doc, extensions, gems, speci...
ohai (Ippei Obayashi)
03:42 PM Feature #11839: CSV: liberal_parsing option
Resolved a conflict. bluej100 (Braden Anderson)
03:30 PM Revision ceea88af (git): remove duplicated log by commit miss [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:29 PM Bug #11822: Semantics of Queue#pop after close are wrong
Clarifying my statements above:
"So we should bump this to to Ruby 2.4 to address the inability to check for closed? and pop at the same time, as in Go."
I mean we should discuss further API improvements like Queue#pop! or pop? for...
headius (Charles Nutter)
03:27 PM Bug #11822: Semantics of Queue#pop after close are wrong
Summarizing some discussion with Koichi on #ruby-core:
* Current JRuby Queue uses Java's LinkedBlockingQueue and ArrayBlockingQueue, which both are locking implementations. There are lock-free queue implementations on JVM but they do ...
headius (Charles Nutter)
03:01 PM Bug #11822: Semantics of Queue#pop after close are wrong
I like this better to make it configurable per pop operation. pitr.ch (Petr Chalupa)
02:37 PM Bug #11822: Semantics of Queue#pop after close are wrong
tldr: Atomicity can be achieved with full locking, but it prevents Queue from being lock-free in the future. #pop should have a way to indicate the queue is closed other than just returning nil. I don't see anything that prevents the cur... headius (Charles Nutter)
01:37 PM Bug #11822: Semantics of Queue#pop after close are wrong
Thank you for explanation. So nil can mean a normal nil pushed to the queue or closed queue, that might be error prone. As Charles mentioned there are many possible behaviors users might want when queue is closed. I would suggest to make... pitr.ch (Petr Chalupa)
01:39 AM Bug #11822: Semantics of Queue#pop after close are wrong
Petr Chalupa wrote:
> Could you clarify for me following cases: What does pop do when called on empty closed queue? What does close do about already blocked threads when it's empty?
> ...
returns nil.
> What does close do about alr...
ko1 (Koichi Sasada)
03:29 PM Bug #11845 (Closed): source_location against symbol.to_proc causes infinite loop
Applied in changeset r53206.
----------
proc.c: fix infinite loop
* proc.c (rb_proc_get_iseq): proc made from symbol does not have
iseq. fix infinite loop. [ruby-core:72381] [Bug #11845]
nobu (Nobuyoshi Nakada)
02:04 PM Bug #11845 (Closed): source_location against symbol.to_proc causes infinite loop
`ruby -v -e ':class.to_proc.source_location'` causes inifinite loop:
```text
% /tmp/local/bin/ruby -v -e ':class.to_proc.source_location'
ruby 2.3.0dev (2015-12-19 trunk 53202) [x86_64-linux]
(never finished)
```
It's also caus...
kou (Kouhei Sutou)
03:29 PM Revision 2d97cee4 (git): proc.c: fix infinite loop
* proc.c (rb_proc_get_iseq): proc made from symbol does not have
iseq. fix infinite loop. [ruby-core:72381] [Bug #11845]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:26 PM Bug #11846: Block passed by &block is GC-ed
Note that this is not occurred on trunk. kou (Kouhei Sutou)
03:17 PM Bug #11846 (Closed): Block passed by &block is GC-ed
The following script is crashed with ruby 2.3.0preview2:
```ruby
GC.start
def a
lambda do
yield
end
end
def b(&block)
a(&block)
end
def proc_sources
sources = []
ObjectSpace.each_object(Proc) do |proc|
...
kou (Kouhei Sutou)
03:14 PM Revision ea46a640 (git): fix commit miss
* proc.c: fix expanded name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:13 PM Revision 045b8281 (git): * 2015-12-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:12 PM Revision 88790710 (git): proc.c: remove old macro
* proc.c (proc_get_iseq): remove and expand old name macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:41 PM Bug #11844 (Closed): Please update unicode-licensed files (license issue)
Various files in enc/trans are old copies of Unicode.org files that forbid (re-)distribution. AFAICT, Unicode, Inc. has published newer versions of these files to fix this issue.
New versions could possibly be found on http://www.unicod...
zeha (Christian Hofstaedtler)
12:26 PM Bug #11842: r53123 breaks some gems which use erb
I saw rails's build is also broken due to thor. These are all I know for now.
By the way, since my patch to thor https://github.com/erikhuda/thor/pull/512 was merged, now thor master has no problem about this.
k0kubun (Takashi Kokubun)
12:09 PM Bug #11842: r53123 breaks some gems which use erb
What's affected gems without thor? hsbt (Hiroshi SHIBATA)
07:27 AM Bug #11842: r53123 breaks some gems which use erb
While this case is fixable by https://github.com/erikhuda/thor/pull/512, there may be some gems depending on the eoutvar's behavior.
If "Pass the name of the variable to be used inside a String" is specification, r53123 should be breaki...
k0kubun (Takashi Kokubun)
07:03 AM Bug #11842 (Closed): r53123 breaks some gems which use erb
r53123 breaks some gems which use erb.
Thor gem for example.
They set an instance variable `"@output_buffer"` to 4th argument (`eoutvar`) of `ERB.new` ([here](https://github.com/erikhuda/thor/blob/f0c2166534e122636f5ce04d61885736ef60...
yui-knk (Kaneko Yuichiro)
11:43 AM Feature #5123: Alias Hash 1.9 as OrderedHash
I have just stumbled upon this: the [Immutable collections for JavaScript](http://facebook.github.io/immutable-js/) has both `Map` and [`OrderedMap`](http://facebook.github.io/immutable-js/docs/#/OrderedMap).
One more: in Haskell, the...
alexeymuranov (Alexey Muranov)
11:09 AM Bug #11843 (Closed): enc/windows_1250.c syntax error with fcc on Solaris -- C++(C99)-style comments should not be used
Applied in changeset r53202.
----------
* enc/windows_1250.c: Should not use C++ style comments (C99 feature).
[Bug #11843]
ngoto (Naohisa Goto)
10:25 AM Bug #11843 (Closed): enc/windows_1250.c syntax error with fcc on Solaris -- C++(C99)-style comments should not be used
Solaris上のfccにて、以下のコンパイルエラーが出ています。
~~~
fcc -I. -I.ext/include/sparc64-solaris2.10 -I./include -I. -I/usr/local/64/lib/libffi-3.0.10/include -I/usr/local/64/include -D_XOPEN_SOURCE=500 -DONIG_ENC_REGISTER=rb_enc_register -KPIC -O2 ...
ngoto (Naohisa Goto)
11:09 AM Revision a2bf6093 (git): * enc/windows_1250.c: Should not use C++ style comments (C99 feature).
[Bug #11843]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ngoto (Naohisa Goto)
08:16 AM Revision a5a9d421 (git): webrick/utils.rb: get rid of thread leak checker
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#initialize):
use WEBrick::Utils::TimeoutHandler::Thread, which is ignored by
LeakChecker#find_threads, instead of ::Thread to get rid of
thread leak checker. since this Timeou...
nobu (Nobuyoshi Nakada)
05:27 AM Revision 26bc97bd (git): zlib.c: Fix typo [ci skip]
* ext/zlib/zlib.c (Init_zlib): [DOC] Fix double-word typo and
grammatical error. [Fix GH-1162]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:23 AM Revision 0d1a243a (git): csv.rb: Fix typo [ci skip
* lib/csv.rb (CSV#initialize): [DOC] Fix double-word typo.
[Fix GH-1161]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:33 AM Revision 6973c8d5 (git): enc/iso_8859_2.c, enc/windows_1250.c: separate Windows-1250
from ISO-8859-2 to fix 0x80..0x9e range (from Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
01:17 AM Revision d205e680 (git): test/unit.rb: color on tty
* test/lib/test/unit.rb (Test::Unit::StatusLine#_prepare_run):
colorize by default on tty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:17 AM Revision 94d36ce3 (git): test/unit.rb: fix outputs
* test/lib/test/unit.rb (Test::Unit::StatusLine#update_status):
do not print extra empty lines when running on non-tty.
fix colorizing in verbose mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53196 b2dd03c8-39d4-4d8f-98ff-...
nobu (Nobuyoshi Nakada)
12:12 AM Bug #11837: ./miniruby.exe: No such file or directory
Martin Dürst wrote:
> I get the error below when running autoconf; ./configure on a new checkout. It seems to be pretty clear that there will be no ./miniruby around at this point, so I'm not sure why it is necessary.
To others who h...
duerst (Martin Dürst)

12/18/2015

11:52 PM Bug #11841 (Rejected): StringIO with read and `nil, ''` arguments broken with enabled frozen string literal
deepj # wrote:
> ~~~
> ...
The second argument of StringIO#read is a buffer to read, so it shouldn't be frozen.
```
io.read(*[nil, String.new])
```
shugo (Shugo Maeda)
04:33 PM Bug #11841 (Rejected): StringIO with read and `nil, ''` arguments broken with enabled frozen string literal
I'm not sure what behavior is expected here. But the following use case is used in rack (https://github.com/rack/rack/blob/master/test/spec_lint.rb#L496). If frozen string literal is enabled it throws `read': can't modify frozen String (... deepj (deepj #)
06:41 PM Bug #11822: Semantics of Queue#pop after close are wrong
Could you clarify for me following cases: What does pop do when called on empty closed queue? What does close do about already blocked threads when it's empty?
The documentation does not specifies this.
pitr.ch (Petr Chalupa)
05:32 AM Bug #11822: Semantics of Queue#pop after close are wrong
# Semantics
I'm not sure all I can understand, but Queue#close does not remove remaining items as Yura said.
(on 2.3) Queue#close is only for simple way for the following code:
```ruby
# without Queue#close
q = Queue.new
3....
ko1 (Koichi Sasada)
03:46 PM Revision d660e06f (git): timeout.rb: watcher thread name
* lib/timeout.rb (Timeout#timeout): set watcher thread name to
caller location for debugging.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:06 PM Revision 70bf86a7 (git): * 2015-12-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:06 PM Revision 2a2010c5 (git): test/unit.rb: use full columns
* test/lib/test/unit.rb (Test::Unit::StatusLine#update_status):
exclude colorizing escape sequences from @status_line_size to
use full columns.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53193 b2dd03c8-39d4-4d8f-98ff-823fe69b...
nobu (Nobuyoshi Nakada)
12:48 PM Bug #11840: Error with "make check" on Cygwin
Nobuyoshi Nakada wrote:
> Possibly, `sleep 0.2` is too short?
I tried with 'sleep 1' first, and then with 'sleep 100', but no change.
duerst (Martin Dürst)
12:24 PM Bug #11840: Error with "make check" on Cygwin
Possibly, `sleep 0.2` is too short?
...and, I'm sorry that it's the first step of the tests.
nobu (Nobuyoshi Nakada)
05:54 AM Bug #11840 (Assigned): Error with "make check" on Cygwin
Encouraged by Hiroshi Shibata's talk at Ruby Kaigi 2015, I tried "make check" on my usual cygwin compilation. If I understand the output below correctly, there was only one error in 1010 tests. If we can fix that error (or exclude the te... duerst (Martin Dürst)
12:32 PM Revision 0967c1e3 (git): * lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler): To prevent
potential deadlocks, Queue is used to tell update of @timeout_info
instead of sleep and wakeup. [Bug #11742] [ruby-dev:49387]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ngoto (Naohisa Goto)
10:17 AM Feature #11815: Proposal for method `Array#difference`
Ryan Beltran wrote:
> I think I have a pretty good example. I'm implementing a function in Ruby that finds triples in an array for use in a pokerbot (recognizes if a hand is a triple). I already defined a function to check for doubles...
duerst (Martin Dürst)
03:48 AM Feature #11815: Proposal for method `Array#difference`
Yukihiro Matsumoto wrote:
> Is there any real world example?
> ...
I think I have a pretty good example. I'm implementing a function in Ruby that finds triples in an array for use in a pokerbot (recognizes if a hand is a triple). I alr...
rp.beltran (Ryan Beltran)
10:16 AM Bug #11692: [PATCH] Re-enable GC if stack overflow was caught from signal handler
Thank you, didn't know that gazay (Alex Gaziev)
10:15 AM Bug #11692: [PATCH] Re-enable GC if stack overflow was caught from signal handler
Backport should be probably requested vo.x (Vit Ondruch)
10:09 AM Bug #11692: [PATCH] Re-enable GC if stack overflow was caught from signal handler
As I see, problem wasn't fixed in Ruby 2.2.4. Patch for it in attachment gazay (Alex Gaziev)
08:30 AM Bug #11705 (Rejected): Namespace resolution in nested modules with short syntax
Mike Pastore wrote:
> Is this intentional and/or expected?
It's intentional and expected.
If class and/or module definitions are explicitly nested, constants of outer classes and/or modules are looked up.
However, if a class or m...
shugo (Shugo Maeda)
08:24 AM Revision 9d30ef59 (git): * compile.c (ibf_load_object_string): use fstring if frozen string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
08:16 AM Revision 66cfd131 (git): NEWS: make precise the note of r53188
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:08 AM Revision 34c97eaa (git): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
07:54 AM Bug #11827 (Closed): StringIO with set_encoding broken with enabled frozen string literal
Applied in changeset r53188.
----------
stringio.c: separate encoding from buffer
* ext/stringio/stringio.c (strio_set_encoding): add StringIO's own
encoding and separate it from the buffer string to override the
encoding of string...
nobu (Nobuyoshi Nakada)
07:54 AM Revision 3e1c01ae (git): stringio.c: separate encoding from buffer
* ext/stringio/stringio.c (strio_set_encoding): add StringIO's own
encoding and separate it from the buffer string to override the
encoding of string when reading. [ruby-core:72189] [Bug #11827]
note that setting the encoding of i...
nobu (Nobuyoshi Nakada)
07:51 AM Revision dd5fd65e (git): * compile.c (ibf_load_setup): check tainted string argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:13 AM Revision f64238e7 (git): * vm_core.h: define USE_LAZY_LOAD if it is not defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:40 AM Revision 21973c01 (git): stringio.c: strio_unget_bytes
* ext/stringio/stringio.c (strio_unget_bytes): extract from
strio_ungetbyte to share with strio_ungetc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:04 AM Misc #11835: github repo missing tagged versions for Ruby 2.2.4, 2.1.8, 2.0.0p648
Thank you. jtarchie (JT Archie)
12:39 AM Misc #11835 (Closed): github repo missing tagged versions for Ruby 2.2.4, 2.1.8, 2.0.0p648
done
* https://github.com/ruby/ruby/releases/tag/v2_0_0_648
* https://github.com/ruby/ruby/releases/tag/v2_1_8
* https://github.com/ruby/ruby/releases/tag/v2_2_4
hsbt (Hiroshi SHIBATA)
12:29 AM Misc #11835 (Assigned): github repo missing tagged versions for Ruby 2.2.4, 2.1.8, 2.0.0p648
hsbt (Hiroshi SHIBATA)
04:38 AM Feature #11797: `Enumerator#with_object` with multiple objects
Hello,

I've removed his address from ruby-core and ruby-talk.

2015-12-18 13:27 GMT+09:00 Joseph Jones <joeyi5216@gmail.com>:
> Joseph Jones liked your message with Boxer.
>
>
> On December 9, 2015 at 09:15:54 MST, sawadatsuyos...
shugo (Shugo Maeda)
04:27 AM Feature #11816: Partial safe navigation operator
I understand this as the idea returned value of safe navigation operator behaves like NaN while the method chain.
It sounds interesting and feels bit useful but I weakly object it.
Anyway using && in &.'s explanation should be harmfu...
naruse (Yui NARUSE)
04:06 AM Feature #11816: Partial safe navigation operator
Shugo Maeda wrote:
> Anyway, your proposal sounds reasonable because `x&.foo * 42` is parsed as `(x && x.foo) * 42` rather than `x && (x.foo * 42)` in my brain.
Just for clarification, `x&.foo.bar` as `(x && x.foo).bar` looks more na...
shugo (Shugo Maeda)
03:55 AM Revision a6e055f4 (git): csv.rb: tail commas
* lib/csv.rb (CSV::Converters, CSV::DEFAULT_OPTIONS): supply tail
commas for further elements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:55 AM Revision 3bf1c09c (git): csv.rb: fix typo
* lib/csv.rb (CSV#shift): fix typo. [See GH-1160]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:50 AM Bug #11671 (Closed): Net::HTTP uses closed keep-alive connection, causing EOFError
naruse (Yui NARUSE)
03:39 AM Revision 4f94cb43 (git): * doc/syntax/*.rdoc: separated modifier at sentence.
[ci skip][fix GH-1121] Patch by @clandry94
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
03:09 AM Revision b7d15369 (git): stringio.c: padding in ungetbyte
* ext/stringio/stringio.c (strio_ungetbyte): pad with \000 when
the current position is after the end.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:05 AM Revision 07f53e48 (git): test_stringio.rb: add test
* test/stringio/test_stringio.rb (test_ungetc_pos): add a test for
r26588.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:32 AM Bug #11836 (Closed): Optimized methods cannot be overridden after Module#prepend
Applied in changeset r53179.
----------
* vm_method.c (rb_method_entry_make, check_override_opt_method):
should check whether a newly created method override a optimize
method in case the method is defined in a prepended module of a...
shugo (Shugo Maeda)
02:32 AM Revision f211abcb (git): * vm_method.c (rb_method_entry_make, check_override_opt_method):
should check whether a newly created method override a optimize
method in case the method is defined in a prepended module of a
built-in class.
[ruby-core:72226] [Bug #11836]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53179...
shugo (Shugo Maeda)
02:09 AM Revision 68bac3cc (git): * vm.c (vm_exec): call RUBY_DTRACE_CMETHOD_RETURN_HOOK instead of
RUBY_DTRACE_METHOD_RETURN_HOOK.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
01:47 AM Feature #11839: CSV: liberal_parsing option
Edit: I've simplified the patch a bit. bluej100 (Braden Anderson)
01:25 AM Feature #11839 (Closed): CSV: liberal_parsing option
I've submitted a pull request, https://github.com/ruby/ruby/pull/1160 , which adds a liberal_parsing option to the CSV module, off by default. This allows for parsing of some invalid input, like unescaped quotes in the middle of a field,... bluej100 (Braden Anderson)
01:25 AM Revision 6f04ae56 (git): * lib/irb/ruby-lex.rb: fixed parse error for striped heredocument syntax.
[fix GH-1127] Patch by @koic
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:44 AM Revision b1a658e8 (git): * ext/pty/pty.c: fix double words typo.
[ci skip][fix GH-1157] Patch by @jwworth
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:42 AM Revision 7d829081 (git): * ext/nkf/nkf-utf8/utf8tbl.c: fix a typo.
[ci skip][fix GH-1159] Patch by @akshay-vishnoi
* ext/nkf/nkf-utf8/utf8tbl.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:14 AM Bug #11838 (Closed): Please backport r52883, r52884, r53046, r53198
These are straightforward bug fixes. Please backport, thanks! duerst (Martin Dürst)
12:06 AM Bug #11837 (Closed): ./miniruby.exe: No such file or directory
I get the error below when running autoconf; ./configure on a new checkout. It seems to be pretty clear that there will be no ./miniruby around at this point, so I'm not sure why it is necessary.
checking for prefix of external symbol...
duerst (Martin Dürst)
 

Also available in: Atom