Project

General

Profile

Activity

From 09/03/2015 to 09/09/2015

09/09/2015

11:27 PM Bug #8543: new rb_iseq_load crash
Hi,
We've encountered a new crash related to RubyVM::InstructionSequence.load.
So far it has been reproducible on multiple platforms:
ruby 2.2.3p158 (2015-08-12 revision 48555) [i386-mswin32_100]
ruby 2.2.3p158 (2015-08-12 re...
spatulasnout (B Kelly)
09:36 PM Bug #11483: internal.h included after math.h in complex.c
Possible options:
1. Define M_PI and M_PI_2 in complex.c
2. Define _LARGE_FILES not in config.h but in a compiler option
3. Include ruby/config.h before math.h but keep internal.h included after math.h in complex.c
4. Any other optio...
ReiOdaira (Rei Odaira)
08:11 PM Bug #11519: "#{nil}" produces string as US-ASCII rather than current encoding
Nobuyoshi Nakada wrote:
> What's and why wrong?
“#{bar}”.encoding != ‘UTF-8’ and “#{bar}#{foo}”.encoding != ‘UTF-8’ despite foo being UTF-8 and the encoding of the source file and hence the “ … “ string within the source file being U...
pedz (Perry Smith)
05:25 PM Bug #11519 (Feedback): "#{nil}" produces string as US-ASCII rather than current encoding
What's and why wrong? nobu (Nobuyoshi Nakada)
04:38 PM Bug #11519 (Closed): "#{nil}" produces string as US-ASCII rather than current encoding
~~~ruby
#! /usr/bin/env ruby
# encoding: utf-8
puts "Ruby version: #{RUBY_VERSION}"
puts "__ENCODING__ = #{__ENCODING__}"
puts "hello".encoding
foo = "hello"
puts "#{foo}".encoding
puts "#{"hello"}".encoding
bar = nil
puts "#...
pedz (Perry Smith)
03:04 PM Feature #11518 (Assigned): Queue enhancement - promote! and promote_all!
I’m submitting a patch to enhance the Queue class by adding the methods Queue#promote! and Queue#promote_all!. These methods require a block that accepts queue elements. Elements for which the block returns a truthy value are moved to th... jonathanscruz (Jonathan Cruz)
03:03 PM Feature #11517 (Assigned): Queue enhancement - conditional pop
I’m submitting a patch to enhance Queue#pop. This allows the caller to provide a block that accepts data from the queue. Queue#pop will return the first element for which the block returns a truthy value, and remove it from the queue. Wi... jonathanscruz (Jonathan Cruz)
10:07 AM Revision 868265ca (git): * ChangeLog: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
09:18 AM Revision 5e262e52 (git): * lib/rubygems/stub_specification.rb (Gem::StubSpecification#data):
should not change the value of $. when `require`ing gems.
this fixed test failures introduced by r51813.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:57 AM Revision 40f304e0 (git): * ruby.c (usage, enable_option, disable_option, process_options): new
option `--disable_did_you_mean`.
* gem_prelude.rb: now requires did_you_mean gem by default if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:24 AM Feature #11252: Integrated "did_you_mean" gem to ruby-core
shouldnt that be fixed to "1.0.0.beta2" because "1.0.0.beta1" got yanked? Hanmac (Hans Mackowiak)
06:13 AM Misc #11516 (Closed): Ruby 2.3.0 release engeneering
For the management of release blockers.
Current Phase:
Next release: preview1
Q: When ruby_2_2 branch is created?
A: On RC1
naruse (Yui NARUSE)
06:00 AM Bug #11471: min, min_by, max, max_by with optional parameter return a wrong value
Algorithm should be based on a heap. funny_falcon (Yura Sokolov)
04:38 AM Revision abd5b8e1 (git): extlibs.rb: patch options
* tool/extlibs.rb (do_patch): let "patch" command change the
working directory and open the patch file there, instead of
spawn options, so that proper error message will be shown by the
command not just "chdir" or "open".
git-svn-...
nobu (Nobuyoshi Nakada)
03:01 AM Bug #11510 (Assigned): exit waits for the block form of IO.popen's child
npbu, your change introduced a test error on mswin.
Fix it, please.
usa (Usaku NAKAMURA)
02:57 AM Revision dbe4a7f1 (git): * test/ruby/test_process.rb (TestProcess#test_popen_exit): platform specific
option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:52 AM Revision 01762af7 (git): * test/ruby/test_process.rb (TestProcess#test_popen_exit): platform specific
option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:40 AM Revision 67f7e82e (git): io.c: sys/wait.h
* io.c: BSDs need sys/wait.h for WNOHANG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:34 AM Revision 1ab8dc3d (git): * common.mk (update-gems): use BASERUBY instead of RUNRUBY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:20 AM Revision 7c97533a (git): * .travis.yml: retry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:13 AM Bug #11461 (Closed): Remove backtracing cleaning on Delegator methods
Applied in changeset r51806.
----------
* lib/delegate.rb: Remove backtrace cleaning for delegated methods
This patch was provided by Rafael França and greatly improves
performance when an exception is raised. [Bug #11461]
Before...
zzak (zzak _)
02:12 AM Revision 0a4129cb (git): * lib/delegate.rb: Remove backtrace cleaning for delegated methods
This patch was provided by Rafael França and greatly improves
performance when an exception is raised. [Bug #11461]
Before:
Calculating -------------------------------------
default 86.209k i/100ms
default r...
zzak (zzak _)
02:10 AM Revision 852c3454 (git): * .travis.yml: update unicode data, bundled gems, extlibs, and so on.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:05 AM Revision 2f227df3 (git): * test/rubygems/test_config.rb: fix broken tests for Windows platform.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

09/08/2015

11:28 PM Bug #11515 (Feedback): CreateProcessW() can cause "Invalid access to memory location"
`CreateChild` is never called with a constant `cmd`, as it is build at the runtime.
How can you reproduce it?
nobu (Nobuyoshi Nakada)
04:09 PM Bug #11515 (Rejected): CreateProcessW() can cause "Invalid access to memory location"
The second argument for `CreateProcessW()` needs to *not* be a constant because it may be modified:
From https://msdn.microsoft.com/en-us/library/windows/desktop/ms682425(v=vs.85).aspx :
> The Unicode version of this function, Crea...
docwhat (Christian Höltje)
10:47 PM Revision d0191f54 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:47 PM Revision d42d4c1e (git): * 2015-09-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:46 PM Revision 59991b6a (git): * lib/rubygems: Update to RubyGems HEAD(fe61e4c112).
this version contains new feature that warn invalid SPDX license
identifiers. https://github.com/rubygems/rubygems/pull/1249
and #1032, #1023, #1332, #1328, #1306, #1321, #1324
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-l...
hsbt (Hiroshi SHIBATA)
03:34 PM Bug #11268: Zlib::DataError: incorrect header check
This patch has passed tests. nkmrya (Yasuhiro Nakamura)
01:40 PM Bug #11268: Zlib::DataError: incorrect header check
I think it is issue of ruby.
Test case of `test/net/http/test_httpresponse.rb` is wrong.
That test case say "x\x9C\xCBH\xCD\xC9\xC9\a\x00\x06,\x02\x15" is raw Deflate format (at line 85) but actually that hex is Zlib format.
A case ...
nkmrya (Yasuhiro Nakamura)
02:38 AM Bug #11268 (Assigned): Zlib::DataError: incorrect header check
Yasuhiro, thank you for your investigation!
So is it server side issue?
Anyway, you can specify request header via open-uri.
require "open-uri"
open('https://www.hoveround.com', "Accept-Encoding" => "plain") do |f| puts f.r...
nagachika (Tomoyuki Chikanaga)
02:32 PM Revision 230b8d53 (git): gems/bundled_gems: Upgrade the did_you_mean gem to 1.0.0.beta2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Yuki Nishijima
02:25 PM Revision 37464c5c (git): fix a typo of test method name.
* test/ruby/test_file.rb (test_realdirpath_junction): fix a typo of method name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:17 PM Bug #11514: AIX6.1 - Ruby 2.2.3 - Segmentation fault in :byteslice
I had attached all the details in a file. However, I have an "internal error" when trying to look at the file.
I haven't put all details in defect because, in some other projects, we are required to not put all details at first, only a ...
TRex58 (Tony Reix)
01:27 PM Bug #11514: AIX6.1 - Ruby 2.2.3 - Segmentation fault in :byteslice
> ~~~
> ...
Why hide here?
Please attach the whole log.
nobu (Nobuyoshi Nakada)
12:38 PM Bug #11514 (Closed): AIX6.1 - Ruby 2.2.3 - Segmentation fault in :byteslice
Testing Ruby 2.2.3 on AIX6.1 built with xlc (same with gcc) leads to a reproducible crash.
See complete trace in attached file.
Ruby version is: RUBY_PROGRAM_VERSION=2.2.3 .
~~~
# gmake V=1 test-all
...
objcopy -w -L 'Init_*' -L ...
TRex58 (Tony Reix)
02:10 PM Bug #11510 (Closed): exit waits for the block form of IO.popen's child
Applied in changeset r51798.
----------
io.c: no wait when killed
* io.c (rb_io_s_popen): do not wait the child process during being
killed. [ruby-core:70671] [Bug #11510]
nobu (Nobuyoshi Nakada)
02:09 PM Revision f3f10297 (git): io.c: no wait when killed
* io.c (rb_io_s_popen): do not wait the child process during being
killed. [ruby-core:70671] [Bug #11510]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:51 PM Revision 88d96a4f (git): * test/ruby/test_file.rb (TestFile#test_realdirpath_junktion): test for r51790.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:19 PM Revision a8b2dec5 (git): * gems/bundled_gems: revert because ruby trunk never be able to install
the did_you_mean gem. retry after enough test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:55 PM Feature #11252 (Closed): Integrated "did_you_mean" gem to ruby-core
Applied in changeset r51795.
----------
gems/bundled_gems: Automatically install the did_you_mean gem as a bunlded gem.
[Feature #11252]
Anonymous
12:54 PM Revision 39fa5df0 (git): gems/bundled_gems: Automatically install the did_you_mean gem as a bunlded gem.
[Feature #11252]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Yuki Nishijima
08:21 AM Revision eec17b71 (git): * vm_core.h: remove rb_call_info_t::blockiseq.
* insns.def (send, invokesuper): pass blockiseq explicitly.
* compile.c: catch up this fix.
* iseq.c: ditto.
* vm_args.c: ditto.
* iseq.c (ISEQ_MINOR_VERSION): 2->3 because instruction spec was
changed.
git-svn-id: svn+ssh://ci.ruby...
ko1 (Koichi Sasada)
07:15 AM Revision d3022c42 (git): process.c: keep GVL if WNOHANG
* process.c (rb_waitpid): do not release GVL when WNOHANG is set,
it should return immediately without blocking.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:00 AM Revision 2a87a0fc (git): process.c: retry loop
* process.c (rb_waitpid): refactor retry loop by interrupt.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:10 AM Bug #11497: add Write Barrier in refined method entry move (fixed at r51728)
チケットのほうに反映されてないのでメールから引用します
> > ruby_2_1, ruby_2_2 では trunk の move_refined_method() が変更されていて多少 conflict しますが、同じ問題があるように見受けられます。
> ...
ということでしたので、わたしの確認不足でした。 DONTNEED に変更しておきます。
nagachika (Tomoyuki Chikanaga)
06:08 AM Feature #11454 (Closed): FTP client misbehaves in the block passed to FTP#list when using passive mode
Applied in changeset ruby-trunk:r51791.
----------
* lib/net/ftp.rb (list): fetch all the lines before yielding a block
to allow other commands in the block. [Feature #11454]
Patched by Srikanth Shreenivas.
shugo (Shugo Maeda)
06:08 AM Revision d5d6b149 (git): * lib/net/ftp.rb (list): fetch all the lines before yielding a block
to allow other commands in the block. [Feature #11454]
Patched by Srikanth Shreenivas.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
04:19 AM Bug #11481 (Closed): Segmentation fault when thread is killed during `require`.
nagachika (Tomoyuki Chikanaga)
04:18 AM Bug #11481: Segmentation fault when thread is killed during `require`.
[But #11404] seems the similar issue and fixed on trunk. nagachika (Tomoyuki Chikanaga)
03:41 AM Bug #11237: サブスレッドがすべて終了するとメインスレッドが割り込まれる。
実際の可否はともかく、要望があるということで Backport フィールドに REQUIRED を埋めました。
r50900 を入れると(おそらく潜在的には r50900 の有無とは関係なく必要なのだと思いますが) [Bug #11265] の対応も必要になってきて、こちらがそれなりのボリュームがあり頻繁に変更のある部位の修正なのでうまくマージできないかもしれません。その時はまた悩みます。 r50900 のみ入れるというのも有意義ではあると思います。
nagachika (Tomoyuki Chikanaga)
03:06 AM Revision 49cbfc83 (git): * win32/win32.c (rb_w32_read_reparse_point): return correct required
buffer size for IO_REPARSE_TAG_MOUNT_POINT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:46 AM Bug #11471 (Assigned): min, min_by, max, max_by with optional parameter return a wrong value
Thank you for your report and patches.
I've confirmed that the issue exists in ruby-2.2.3 too.
akr san, please review the PR? https://github.com/ruby/ruby/pull/1005
nagachika (Tomoyuki Chikanaga)

09/07/2015

05:13 PM Bug #11513 (Closed): IPAddr should reject invalid formats
Is this intended behavior?
A patch is PR#942(https://github.com/ruby/ruby/pull/942)
~~~
require 'ipaddr'
IPAddr.new "[2001:200:300::] INVALID" #=> IPAddr::InvalidAddressError: invalid address
IPAddr.new "192.168.0.1/32 INVALID...
kachick (Kenichi Kamiya)
05:00 PM Bug #11512 (Closed): DelegateClass.#public_{instance_}methods are returning difference values.
Is this intended behavior?
A patch is PR#926(https://github.com/ruby/ruby/pull/926)
~~~
require 'delegate'
class Parent
def parent_public; end
protected
def parent_protected; end
end
class Child < Parent
end
...
kachick (Kenichi Kamiya)
03:35 PM Revision 161cee3c (git): configure.in: BOOTSTRAPRUBY version
* configure.in (BOOTSTRAPRUBY): avoid too old versions. current
fileutils.rb does not work with 1.8 or older, because of the
return values of Module#singleton_methods and so on.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@517...
nobu (Nobuyoshi Nakada)
03:15 PM Revision 75d765de (git): * 2015-09-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision cfecd21a (git): process.c: open exception message
* process.c (rb_execarg_parent_start1): raise with the target path
name when open() failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:45 PM Revision be3de529 (git): process.c: chdir exception message
* process.c (rb_exec_fail): raise with the target directory name
when chdir() failed. pointed out by sorah.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:45 PM Revision 06cac6d6 (git): ChangeLog: remove a duplicated entry (r51782).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
01:29 PM Bug #11511: Problem with cyrillic letter И
How to reproduce?
I could not reproduce with irb.
![](prompt.jpg)
usa (Usaku NAKAMURA)
12:59 PM Bug #11511: Problem with cyrillic letter И
converted file to utf-8
set up comment
~~~ruby
# encoding: UTF-8
~~~
this does not help.
please help how to solve a problem.
xiro@inboxdesign.me (xiro@inboxdesign.me xiro@inboxdesign.me)
12:57 PM Bug #11511 (Closed): Problem with cyrillic letter И
I have problem dealing with the И letter.
'И'.encoding #>ASCII-8BIT
'И'.force_encoding('ASCII-8BIT').encode('utf-8') #> UndefinedConversionError: "\xC8" from ASCII-8BIT to UTF-8
'И'.forc...
xiro@inboxdesign.me (xiro@inboxdesign.me xiro@inboxdesign.me)
01:05 PM Revision 4e43e7ad (git): win32.c: use plain strdup
* win32/win32.c (insert): should use plain strdup() instead of
ruby_strdup() at startup time, and plain free()ed in cmdglob().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:51 AM Revision d57e043a (git): test_framework.rb: use Ruby framework
* test/mkmf/test_framework.rb (test_single_framework): use Ruby
framework, as CoreFoundation framework uses Apple extensions
unsupported by standard GCC other than Apple-patched clang.
* test/mkmf/test_framework.rb (test_multi_frame...
nobu (Nobuyoshi Nakada)
07:50 AM Revision 2b2c6911 (git): vm_core.h: objspace always
* vm_core.h (rb_vm_struct): define objspace always regardless
ENABLE_VM_OBJSPACE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:55 AM Revision 22fa19d1 (git): ruby_atomic.h: fix typo
* ruby_atomic.h (ATOMIC_VALUE_CAS): fix typo.
TODO: make arguments of all CAS macros consistent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:47 AM Revision 09421c5d (git): localeinit.c: locale_charmap rdoc [ci skip]
* localeinit.c (rb_locale_charmap): [RDOC] move
Encoding.locale_charmap rdoc from encoding.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:59 AM Bug #11037 (Assigned): Time Parse Documentation Incorrect - Undefined method getlocal
hsbt (Hiroshi SHIBATA)

09/06/2015

03:27 PM Revision 5bed80ee (git): thread_pthread.c: async_bug_fd
* thread_pthread.c (async_bug_fd): show failed file descriptor too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:19 PM Revision 642e7c51 (git): * 2015-09-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:19 PM Revision 8a4f3a71 (git): thread_pthread.c: async bug messages
* thread_pthread.c (consume_communication_pipe, CLOSE_INVALIDATE):
adjust async bug messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:10 AM Revision 1fab35ba (git): ccan/list/list.h: suppress unused argument warnings
ccan commit 6aaca17e07588997417a73fac19dcf0ff17ed81b
("list: suppress unused argument warnings")
by Cody P Shafer.
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
git-svn-id: svn+ssh:...
Eric Wong
06:00 AM Revision 2bfc88a4 (git): test_process.rb: suppress warnings
* test/ruby/test_process.rb (test_exec_close_reserved_fd):
suppress "cannot close fd before spawn" warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:12 AM Bug #11037: Time Parse Documentation Incorrect - Undefined method getlocal
The new patch has passed tests.
Could you review the patch again?
nkmrya (Yasuhiro Nakamura)
02:04 AM Revision f4767263 (git): thread.c: suppress warnings
* thread.c (do_select): suppress maybe-uninitialized warnings on
maxfd.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

09/05/2015

11:54 PM Bug #11510 (Closed): exit waits for the block form of IO.popen's child
The block form of `IO.popen` waits for the child process to finish before quitting. If the parent process exits during this wait, the wait is interrupted and the exit proceeds promptly. There's a difference in behavior, however, if the... martin.dorey@hds.com (Martin Dorey)
11:14 PM Revision 649016bd (git): win32.c: suppress a warning
* win32/win32.c (get_attr_vsn): assume GetLastError() never return
0, to suppress a maybe-uninitialized warning in wrename().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:14 PM Revision 5e57dc0f (git): ruby.h: eval ASSUME argument
* include/ruby/ruby.h (ASSUME): evaluate the argument just once
everywhere.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:33 PM Revision 8a44c2e5 (git): * 2015-09-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:32 PM Revision 542e1d8b (git): make_encmake.rb: expand srcdir
* enc/make_encmake.rb: @srcdir@ in enc/Makefile.in needs to be
expanded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:00 PM Revision 9af0cf1c (git): internal.h: move rb_readlink declaration
* internal.h (rb_readlink): move the declaration.
* ruby.c (dladdr_path): rb_readlink now requires the result
encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:29 PM Revision 1587b324 (git): fake.rb: optimal paths
* tool/fake.rb: remove redundant dot directories from joined path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:58 AM Revision b38b57cb (git): rss.rb: don't substitute, just search
* lib/rss/rss.rb (Time#w3cdtf): don't substitute, just search
zeros at EOS. [ruby-core:70667] [Bug #11509]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:40 AM Bug #11509 (Closed): Incorrect fraction_digits calculation in lib/rss/rss.rb:41 Time#w3cdtf
Applied in changeset r51766.
----------
rss.rb: fix usec width
* lib/rss/rss.rb (Time#w3cdtf): fix zero-trimmed width of fraction
digits. [ruby-core:70667] [Bug #11509]
nobu (Nobuyoshi Nakada)
01:25 AM Bug #11509: Incorrect fraction_digits calculation in lib/rss/rss.rb:41 Time#w3cdtf
**Sorry for broken markdown -- here I fixed it:**
Current code is:
~~~ruby
def w3cdtf
if usec.zero?
fraction_digits = 0
else
fraction_digits = Math.log10(usec.to_s.sub(/0*$/, '').to_i).floor + 1
end
...
Nakilon (Victor Maslov)
01:23 AM Bug #11509 (Closed): Incorrect fraction_digits calculation in lib/rss/rss.rb:41 Time#w3cdtf
Current code is:
~~~ruby
fraction_digits = Math.log10(usec.to_s.sub(/0*$/, '').to_i).floor + 1
~~~
This makes time to lose as many digits, as there are zeros right after dot:
~~~diff
< <dc:date>2014-03-04T07:37:...
Nakilon (Victor Maslov)
02:39 AM Revision 88083fa4 (git): rss.rb: fix usec width
* lib/rss/rss.rb (Time#w3cdtf): fix zero-trimmed width of fraction
digits. [ruby-core:70667] [Bug #11509]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:00 AM Revision 32c4fd7a (git): fake.rb: fix builddir
* tool/fake.rb: builddir should be "." if it is the current
working directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:38 AM Revision 441de1b3 (git): Makefile.sub: more warnig flags
* win32/Makefile.sub (WARNFLAGS): disable some too verbose
warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

09/04/2015

11:30 PM Bug #11508: Hash#eql? does not respect hash ordering
New ticket for a new method, please. nobu (Nobuyoshi Nakada)
11:29 PM Bug #11508 (Closed): Hash#eql? does not respect hash ordering
Applied in changeset r51763.
----------
hash.c: [DOC] orders do not matter [ci skip]
* hash.c (rb_hash_equal, rb_hash_eql): [DOC] the orders of each
hashes are not compared. [Bug #11508]
nobu (Nobuyoshi Nakada)
09:12 PM Bug #11508: Hash#eql? does not respect hash ordering
ruby5 -> ruby3
maybe we should try it in rails support first.
eike.rb (Eike Dierks)
09:07 PM Bug #11508 (Closed): Hash#eql? does not respect hash ordering
~~~ruby
{a:1,b:2}.eql?({b:2,a:1})
=> true
~~~
The `eql?` (aka `==`) operator on hashes does not compare the ordering of the compared hashes.
This behaviour is documented in `Hash#==` (and should not be touched, ever)
I'd like...
eike.rb (Eike Dierks)
11:29 PM Revision 5381e4d1 (git): hash.c: [DOC] orders do not matter [ci skip]
* hash.c (rb_hash_equal, rb_hash_eql): [DOC] the orders of each
hashes are not compared. [Bug #11508]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:27 PM Revision 39db484e (git): * 2015-09-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:27 PM Revision 87a34aa0 (git): fake.rb: suppress warning
* tool/fake.rb: get rid of use of uninitialized global variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:26 PM Revision 141ff8e6 (git): win32.h: fix macro name
* include/ruby/win32.h: fix macro name for VC runtime version,
RT_VER is only in Makefile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:06 AM Revision 8a77feb9 (git): fake.rb: extmk mode
* tool/fake.rb: add extmk mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:47 AM Feature #11507 (Open): Net::HTTP should use TCP_CORK or TCP_NOPUSH to avoid fragmenting packets
I discovered while implementing a soap client against a badly implemented http server that for sending a 723 bytes, Net::HTTP sends two packets:
~~~
Frame 185: 579 bytes on wire (4632 bits), 579 bytes captured (4632 bits) on interfac...
canatella (Damien Merenne)
08:46 AM Revision 303c5a37 (git): * doc/contributing.rdoc: fix configuration option.
[ci skip] [fix GH-1009]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
07:48 AM Bug #11506 (Closed): Changed behavior of URI.unescape between 2.1.5 and 2.2.3
Changed behavior of URI.unescape between 2.1.5 and 2.2.3. Why?
Is this change intended or not?
It breaks my application.
But I will use `CGI.unescape` for my application, for now.
My test script here.
```ruby
require "uri"
...
okkez (okkez _)
03:54 AM Revision 2d1b2f0e (git): mkmf.rb: remove unnecessary variables
* lib/mkmf.rb (configuration): remove unnecessary variables,
top_srcdir is defined above, builddir is not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:54 AM Revision 50226fb6 (git): mkmf.rb: move r40537
* lib/mkmf.rb (create_makefile): move r40537 from extmk.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

09/03/2015

07:48 PM Revision 970399a9 (git): * iseq.c (iseq_memsize): functions for wrapper object should have
iseqw_ prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:43 PM Feature #11505 (Rejected): Module#=== should call #kind_of? on the object rather than rb_obj_is_kind_of which only searches the ancestor heirarchy
In trying to implement a Decorator pattern which wraps Hashes and/or Arrays, I would like case equality to work such that the decorator would be handled by case statements on Array or Hash:
```
case
when 'Array'
# handle Arrays
...
lamont (Lamont Granquist)
04:30 PM Revision ebb03a0b (git): verconf.h.tmpl: separate RbConfig
* template/verconf.h.tmpl: load rbconfig.rb into a separate
namespace get rid of conflict with the default RbConfig, to run
with BASERUBY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:30 PM Revision 91cdbaf4 (git): revert r51752
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:41 PM Bug #11486: euc-jpな文字列に対してgsubするとSEGVします
code_to_mbc() が ONIGERR_INVALID_CODE_POINT_VALUE を返し、
mbc_case_fold() がそれをエラーコードと判断せずそのままポインタに加算してしまっているようでした。
そもそも code_to_mbc() がエラーになるのが不思議な気はしますが、この原因はよくわかりませんでした。
wanabe (_ wanabe)
03:38 PM Revision dc482e14 (git): configure.in: BASERUBY needs fake.rb
* configure.in (BOOTSTRAPRUBY): BASERUBY needs fake.rb to load
rbconfig.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:18 PM Revision 264d1487 (git): * 2015-09-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision aabd765f (git): thread_sync.c: fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:27 PM Revision d4a642de (git): configure.in: use BASERUBY
* configure.in (BOOTSTRAPRUBY): use BASERUBY if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:08 PM Feature #10600: [PATCH] Queue#close
Sorry I didn't reply earlier, it's been a while since I checked this list.
I think ClosedQueueError < StopIteration makes sense. ThreadError (from other
methods) is not related to ClosedQueueError, but I can't see if that is a
probl...
djellemah (John Anderson)
12:12 PM Revision 16dbb79e (git): session.rb: SHA512
* lib/cgi/session.rb (create_new_id): use SHA512 instead of MD5.
pointed out by SARWAR JAHAN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:30 AM Revision 5f6dedda (git): * gc.c (rb_raw_obj_info): iseq->body->location.first_lineno is Fixnum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
11:24 AM Bug #11504 (Rejected): ruby 1.9.3p194 segfault on debian stable 7.x
1) I setup OpenStreetMap API-server: https://github.com/openstreetmap/openstreetmap-website
2) start with debug (It is crashed with, or without --debugger flag):
bundle exec rails server --debugger &> /root/osm_rails_crash.log
2) ...
progserega (Сергей Семёнов)
08:57 AM Revision 2c357a55 (git): vm_eval.c: should be singular
* vm_eval.c (raise_method_missing): "names" should be singular.
pointed out by Filip Bartuzi.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:51 AM Revision e25f9ced (git): * gc.c (rb_raw_obj_info): should support IMEMO/iseq.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:22 AM Revision d41838c8 (git): common.mk: exclude memory leak tests
* common.mk (TEST_EXCLUDES): exclude tests for memory leak, often
too expensive and/or false-positive.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:08 AM Revision 58431c65 (git): * 2015-09-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:07 AM Revision e26ba49b (git): vm_eval.c: refine messages
* vm_eval.c (raise_method_missing): refine error messages when a
symbol is not given. [Fix GH-1013]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom