Project

General

Profile

Activity

From 02/13/2015 to 02/19/2015

02/19/2015

11:57 PM Bug #10870: Hash Literal Declined As First Argument
`foo {}` without parentheses is equivalent to `foo() {}`, (i.e. passing a block to `foo`) not `foo({})`. Anonymous
09:42 PM Bug #10870 (Rejected): Hash Literal Declined As First Argument
Hi,
When a hash literal is passed as first argument to a method, Ruby throws a syntax error.
Example code:
~~~ruby
def foo *args
p args
end
foo 'Hello'
foo 123
foo ['Hello', 123]
foo {:hello => 123} # Syntax Error: Un...
NorthernLights (Imran "")
10:19 PM Feature #10867: An ATOMIC_GET operation should be written and used.
No.
If you need a synchronization, you must not use rb_atomic_t. That's a bug.
kosaki (Motohiro KOSAKI)
04:35 AM Feature #10867: An ATOMIC_GET operation should be written and used.
Made a patch.
https://github.com/nobu/ruby/compare/Bug%2310867-atomic_get
nobu (Nobuyoshi Nakada)
03:14 AM Feature #10867 (Feedback): An ATOMIC_GET operation should be written and used.
Won't atomic operations using gcc's `__atomic`/`__sync` built-ins or other platform-provided functions make such barriers? nobu (Nobuyoshi Nakada)
10:12 PM Feature #10849: Adding an alphanumeric function to SecureRandom
This proposal doesn't contain a use-case nor proposal justification. So, nobody can judge this is good interface or not.
kosaki (Motohiro KOSAKI)
08:25 PM Feature #10849: Adding an alphanumeric function to SecureRandom
Suggestion: Rename `graph` to `printable` and possibly add an `:allow_space` option?
recursive-madman (Recursive Madman)
08:15 PM Feature #10849: Adding an alphanumeric function to SecureRandom
This is a fantastic interface and I really like the choose method. andrewcbutterfield@gmail.com (Andrew Butterfield)
09:53 PM Bug #10871 (Closed): Sclass thread unsafe due to CREF sharing
When entering an sclass, the context is tracked via the same cref mechanism used for class and module, specifically on the iseq->cref_stack. The bug is that the cref_stack is the wrong place to put the new cref because the scope is speci... evanphx (Evan Phoenix)
09:48 PM Feature #10869: Add support for option to pre-compile Ruby files
I profiled startup time a bit last year and much of it was in the
parser and malloc; so having this should be a win.

I've pondered having something like a self-managing cache in $HOME. It
would be similar to what ccache uses for c...
normalperson (Eric Wong)
03:54 PM Feature #10869 (Open): Add support for option to pre-compile Ruby files
I know this topic is tricky but please bear with me.
Goal: improve performance on files loading to speed up the boot process of some application requiring lots of files/gems.
Background:
Currently most frameworks/gems rely on th...
rosenfeld (Rodrigo Rosenfeld Rosas)
10:45 AM Bug #10591: Net::HTTPResponse#read_status_line does not throw Net::HTTPBadResponse with some malformed responses.
Backported into `ruby_2_1` branch at r49652. nagachika (Tomoyuki Chikanaga)
10:44 AM Revision 13112e53 (git): merge revision(s) r48948: [Backport #10591]
* lib/net/http/response.rb (Net::HTTPResponse): require one or more
spaces [Bug #10591].
by leriksen <leif.eriksen.au@gmail.com>
https://github.com/ruby/ruby/pull/782 fix GH-782
NOTE: graph.faceboo...
nagachika (Tomoyuki Chikanaga)
10:11 AM Bug #10662: fix to invoke correct function of tcllib. (fixed at r49034)
Backported into `ruby_2_1` branch at r49651. nagachika (Tomoyuki Chikanaga)
10:11 AM Revision 1386c9fd (git): merge revision(s) r49034: [Backport #10662]
* ext/tk/lib/tkextlib/tcllib/plotchart.rb: fix to invoke correct function
of tcllib. Patch by @zalt50 [fix GH-787]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
08:59 AM Bug #10868: Object allocation within an extension during garbage collection terminates the Ruby process
For the benefit of those encountering this same (or similar) behavior:
* This particular problem was observed with ffi-rzmq. It appears that ffi-rzmq code isn't fully thread aware, hence this issue.
* The problem was elicited by cre...
charlez (Charles Leu)
03:04 AM Bug #10868 (Third Party's Issue): Object allocation within an extension during garbage collection terminates the Ruby process
Using ffi. nobu (Nobuyoshi Nakada)
02:57 AM Bug #10868 (Third Party's Issue): Object allocation within an extension during garbage collection terminates the Ruby process
It appears that when a CFUNC makes an allocation when garbage collection is running within a different thread/context, it yields the error "[BUG] object allocation during garbage collection phase" and the Ruby process is subsequently ter... charlez (Charles Leu)
08:32 AM Revision 964a1b68 (git): merge revision(s) 49402,49403,49414:
cstr.c: get rid of exception
* ext/-test-/string/cstr.c (bug_str_cstr_term_char): get rid of
invalid byte sequence exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49650 b2dd03c8-39d4-4d8f-98ff-823fe69...
naruse (Yui NARUSE)
08:06 AM Revision 3b888aed (git): merge revision(s) 49503:
* class.c (rb_obj_singleton_methods): should use RTEST() to convert
VALUE to int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:04 AM Revision 23c98e52 (git): merge revision(s) 49222:
method.h: UNDEFINED_REFINED_METHOD_P
* method.h (UNDEFINED_REFINED_METHOD_P): macro to tell if refined
original method is defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49648 b2dd03c8-39d4-4d8f-98ff-82...
naruse (Yui NARUSE)
07:20 AM Bug #10765: Module#remove_method remove refined method entry.
ruby_2_2 r49647 merged revision(s) 49480,49493. naruse (Yui NARUSE)
07:19 AM Revision c42cf235 (git): merge revision(s) 49480,49493: [Backport #10765]
* vm_method.c (remove_method): When remove refined
method, raise a NameError if the method is not
defined in refined class.
But if the method is defined in refined class,
it should keep refined me...
naruse (Yui NARUSE)
07:13 AM Bug #10744: Kernel#singleton_method returns refined method
ruby_2_2 r49646 merged revision(s) 49259. naruse (Yui NARUSE)
07:13 AM Revision eb97eb08 (git): merge revision(s) 49259: [Backport #10744]
* proc.c (rb_obj_singleton_method): Kernel#singleton_method should
not use refinements, as well as Kernel#method.
[ruby-core:67603] [Bug #10744]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49646 b2...
naruse (Yui NARUSE)
06:35 AM Revision ffbc5612 (git): merge revision(s) 49494: [Backport #10825]
_sdbm.c: fix pointers to shift
* ext/sdbm/_sdbm.c (delpair): dst and src point at the ends of
each data, whereas memmove requires pointers to the beginnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49645...
naruse (Yui NARUSE)
06:33 AM Revision d43dcc67 (git): merge revision(s) 49405-49408:
* string.c (str_make_independent_expand): terminate String when
moved from heap to embedded. [Fix GH-821].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:36 AM Bug #10825: Fix build error in sdbm under Windows
ruby_2_2 r49643 merged revision(s) 49490. naruse (Yui NARUSE)
04:35 AM Revision 490165e5 (git): merge revision(s) 49490: [Backport #10825]
* ext/sdbm/_sdbm.c: include ruby/ruby.h for PRIdPTRDIFF when a
macro `DEBUG` is defined. based on the patch by Owen Rodley in
[ruby-core:67987]. [Bug #10825]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/rub...
naruse (Yui NARUSE)
01:54 AM Revision eb7ddaa3 (git): test_rubyoptions.rb: fix for r46355 and r49638
* test/ruby/test_rubyoptions.rb (test_version, test_verbose):
extra lines (currently last_commit and malloc_conf) may be shown.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

02/18/2015

06:08 PM Bug #10866: A signal handler in signal.c can corrupt the value of errno.
Good catch! I'll commit in a little bit in case we missed something,
but I think that's the only signal handler.
normalperson (Eric Wong)
05:46 PM Bug #10866 (Closed): A signal handler in signal.c can corrupt the value of errno.
A signal handler in signal.c can corrupt the value of errno. This is
common mistake. It should save and restore errno as in the following
patch. I think this is the only signal handler used but I am not that
familiar with the code....
sstewartgallus (Steven Stewart-Gallus)
06:00 PM Feature #10867 (Feedback): An ATOMIC_GET operation should be written and used.
In some cases rb_atomic_t types are retrieved without synchronization.
Most cases in the code seem very innocuous and unlikely to cause bugs
but an evil optimizing compiler could potentially do bad things
(especially with link time op...
sstewartgallus (Steven Stewart-Gallus)
04:58 PM Revision 34844b20 (git): * 2015-02-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:58 PM Revision 0998c2dd (git): win32/file.c: fix drive letter
* win32/file.c (rb_file_expand_path_internal): neither the drive
of base directory nor the current drive are involved in the
result if different than the drive of path.
[ruby-core:68130] [Bug #10858]
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
10:08 AM Bug #10723: [PERF] bm_tread_create_join 20% slower
Thanks for the info. It seems my patch changes object allocation counts
enough to throw GC off for this benchmark. Having more/less threads
or other objects changes the effect.

But in general, thread scheduler benchmarks with man...
normalperson (Eric Wong)
05:31 AM Bug #10723: [PERF] bm_tread_create_join 20% slower
Eric Wong wrote:
> akr: any comments? I'll commit my patch in a few days, but I hope we
> ...
Hi Eric,
Just wanted to bring your attention to bm_vm_thread_pass_flood. http://rubybench.org/ruby/ruby/commits?result_type=vm_thread_pas...
tgxworld (Guo Xiang Tan)
07:14 AM Bug #10620 (Rejected): #define_singleton_method keeps object from being garbage collected
usa (Usaku NAKAMURA)
07:03 AM Bug #10857: Resolv::DNS::Resource ==() method incorrectly returns false due to TTL attrib
ruby_2_0_0 r49639 merged revision(s) 49620. usa (Usaku NAKAMURA)
07:03 AM Revision 4388d986 (git): merge revision(s) 49620: [Backport #10857]
* lib/resolv.rb (Resolv::DNS::Resource#==, #hash): elements
returned by Kernel#instance_variables are Symbols now.
[ruby-core:68128] [Bug #10857]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@49639...
U.Nakamura
03:43 AM Revision a8e28937 (git): version.c: last commit title
* version.c (ruby_show_version): show last commit title, if
different than the trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:43 AM Revision 7d9f497f (git): vcs.rb: refactor
* tool/vcs.rb (VCS::GIT.get_revisions): refactor git -C option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:21 AM Bug #10839: OpenSSL 1.0.2 does not allow wrap mode (fixed by r49525)
ruby_2_2 r49636 merged revision(s) 49579. naruse (Yui NARUSE)
03:21 AM Revision 64e6d2bd (git): merge revision(s) 49579: [Backport #10839]
test_cipher.rb: ignore wrap mode erros
* test/openssl/test_cipher.rb (test_ciphers): ignore wrap mode
errors if "wrap" is contained in the name. seems no explicit
rules.
http://rubyci.blob.core.windows.net/fedora21/ruby-t...
naruse (Yui NARUSE)
02:43 AM Bug #10859 (Closed): Process.spawn raises TypeError when passing hash with symbols as env
Applied in changeset r49635.
----------
[DOC] ENV keys must be strings [ci skip]
* hash.c (env_aset): state that ENV keys must be strings.
* process.c (rb_f_spawn): ditto. [ruby-core:68146] [Bug #10859]
nobu (Nobuyoshi Nakada)
02:42 AM Revision 802d71a5 (git): [DOC] ENV keys must be strings [ci skip]
* hash.c (env_aset): state that ENV keys must be strings.
* process.c (rb_f_spawn): ditto. [ruby-core:68146] [Bug #10859]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:49 AM Bug #10865 (Closed): FileUtils.mv doesn't rename windows directories across volumes/partitions.
Applied in changeset r49634.
----------
win32.c: EXDEV for directory
* win32/win32.c (wrename): return EXDEV if moving a directory to
another drive, since MoveFileExW does not set proper error code.
[ruby-core:68162] [Bug #10865]
nobu (Nobuyoshi Nakada)
01:48 AM Revision cc7e5eb7 (git): win32.c: EXDEV for directory
* win32/win32.c (wrename): return EXDEV if moving a directory to
another drive, since MoveFileExW does not set proper error code.
[ruby-core:68162] [Bug #10865]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49634 b2dd03c8-39d4-4...
nobu (Nobuyoshi Nakada)
01:10 AM Bug #10860: tool/mdoc2man.rb doesn't handle man/rake.1 correctly
Jeremy Evans wrote:
> Alternatively, r48658 could be reverted, putting rake.1 back in mdoc format, and then rake.1 could be updated to reflect the new options to rake. However, I don't see that as a good option unless the upstream rake...
anjbe (Anthony Bentley)

02/17/2015

11:36 PM Bug #10865 (Closed): FileUtils.mv doesn't rename windows directories across volumes/partitions.
C:\> irb
DL is deprecated, please use Fiddle
irb(main):001:0> require 'FileUtils'
=> true
irb(main):002:0> FileUtils.mkdir("foo")
=> ["foo"]
irb(main):003:0> FileUtils.mv("foo", "bar")
=> 0
irb(main):004:0> FileUtils.mkdir("foo")...
ksubrama (Kartik Cating-Subramanian)
11:35 PM Bug #10864 (Rejected): REXML adds white space to text property when indent > -1
The following example shows that REXML is adding white space to the text property of elements when setting the :indent option on Document#write greater than -1. The value written should be the same value read.
~~~ruby
require 'rexml/...
amclain (Alex McLain)
10:36 PM Feature #10863 (Open): allow protected class methods to be callable from instance methods
```ruby
class Bar
class << self
protected def foo_helper
end
end

def foo
self.class.foo_helper
end
end
```
here, Bar::foo_helper is not intended as the api of the class, it's a helper for internal use...
bughit (bug hit)
09:29 PM Bug #10862 (Closed): Fix shell quoting example in ri.1 manual
The current example is wrong. The expected output is probably:
`ri compact\!`
With nroff, you get:
`ri compact`
With mandoc, you get:
`ri compact!`
The attached patch (from Ingo Schwarze) fixes the issue. See ht...
jeremyevans0 (Jeremy Evans)
09:21 PM Feature #10861 (Closed): Have ./configure try mandoc when trying to detect manpage type
Both NetBSD and OpenBSD use mandoc for manual formatting, which handles mdoc format. nroff isn't included by default on OpenBSD, so ./configure in a default OpenBSD installation will use man format instead of mdoc format for the manuals... jeremyevans0 (Jeremy Evans)
09:10 PM Bug #10860 (Closed): tool/mdoc2man.rb doesn't handle man/rake.1 correctly
Before r48658, rake.1 was in mdoc format, and tool/mdoc2man.rb handled it correctly. In r48658, rake.1 was switched to man format, and tool/mdoc2man.rb doesn't handle it correctly, resulting in a broken manual page. Either tool/rbinsta... jeremyevans0 (Jeremy Evans)
06:18 PM Revision df030b02 (git): * 2015-02-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:17 PM Revision f595568e (git): * ext/psych/lib/psych.rb: bump psych version.
* ext/psych/psych.gemspec: ditto
* ext/psych/yaml/scanner.c: add latest libyaml change.
* test/psych/helper.rb: support newer minitest
* test/psych/test_to_yaml_properties.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4963...
tenderlovemaking (Aaron Patterson)
05:09 PM Bug #10533: HTTP reconnection with SNI does not send correct hostname
r48563 and test for it (r46261,r48581) were backported into `ruby_2_1` branch at r49631. nagachika (Tomoyuki Chikanaga)
05:08 PM Revision fd87a8ae (git): merge revision(s) r48563,r46261,r48581: [Backport #10533]
* lib/net/http.rb: Do not attempt SSL session resumption when the
session is expired. [Bug #10533]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:21 PM Bug #10509: [PATCH] vm_eval.c (rb_yield_splat): add missing GC guard
Backported into `ruyb_2_1` branch at r49630. nagachika (Tomoyuki Chikanaga)
03:21 PM Revision e6e559c0 (git): merge revision(s) r48417: [Backport #10509]
* vm_eval.c (rb_yield_splat): add missing GC guard
[Bug #10509]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:19 PM Bug #10732: rdoc:ファイル中に単独の\rがあるとrdocがハングアップする
Backported into `ruby_2_1` at r49629. nagachika (Tomoyuki Chikanaga)
03:18 PM Revision 6a339774 (git): merge revision(s) r49223: [Backport #10732]
* lib/rdoc/text.rb (expand_tabs): get rid of infinite loop with
CR. should check if substitution occurred too.
[ruby-dev:48813] [Bug #10732]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49629 b2dd0...
nagachika (Tomoyuki Chikanaga)
02:28 PM Bug #10857: Resolv::DNS::Resource ==() method incorrectly returns false due to TTL attrib
Backported into `ruby_2_1` at r49628. nagachika (Tomoyuki Chikanaga)
09:57 AM Bug #10857: Resolv::DNS::Resource ==() method incorrectly returns false due to TTL attrib
ruby_2_2 r49627 merged revision(s) 49620. naruse (Yui NARUSE)
02:47 AM Bug #10857 (Closed): Resolv::DNS::Resource ==() method incorrectly returns false due to TTL attrib
Applied in changeset r49620.
----------
resolv.rb: fix equality
* lib/resolv.rb (Resolv::DNS::Resource#==, #hash): elements
returned by Kernel#instance_variables are Symbols now.
[ruby-core:68128] [Bug #10857]
nobu (Nobuyoshi Nakada)
02:11 PM Revision 4c2b74cb (git): merge revision(s) r49620: [Backport #10857]
* lib/resolv.rb (Resolv::DNS::Resource#==, #hash): elements
returned by Kernel#instance_variables are Symbols now.
[ruby-core:68128] [Bug #10857]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49628 b...
nagachika (Tomoyuki Chikanaga)
01:56 PM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
r49386 is not backported yet in ruby_2_2.
In ruby_2_2@49627, there is '#ifdef USE_FLONUM' in st_numhash() of st.c.
But in trunk, the '#ifdef' has been deleted at r49386.
wanabe (_ wanabe)
01:56 PM Bug #10859 (Closed): Process.spawn raises TypeError when passing hash with symbols as env
### expected:
~~~
head :001 > Process.spawn({FOO: "bar"}, "bash")
=> 13479
~~~
### got in reality:
~~~
head :001 > Process.spawn({FOO: "bar"}, "bash")
TypeError: no implicit conversion of Symbol into String
...
~~~
when ...
bubo47 (Jakub Jursa)
09:57 AM Revision 00088b97 (git): merge revision(s) 49620: [Backport #10857]
* lib/resolv.rb (Resolv::DNS::Resource#==, #hash): elements
returned by Kernel#instance_variables are Symbols now.
[ruby-core:68128] [Bug #10857]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49627 b...
naruse (Yui NARUSE)
08:59 AM Bug #10839: OpenSSL 1.0.2 does not allow wrap mode (fixed by r49525)
ruby_2_0_0 r49626 merged revision(s) 49525,49575,49579. usa (Usaku NAKAMURA)
08:59 AM Revision 61bb4b38 (git): merge revision(s) 49525,49575,49579: [Backport #10839]
test_cipher.rb: OpenSSL 1.0.2
* test/openssl/test_cipher.rb (OpenSSL::TestCipher#test_ciphers):
OpenSSL 1.0.2 does not allow wrap mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@49626 b2dd03c8-39d4-4d8f-...
U.Nakamura
08:55 AM Bug #10814: SIGBUS by stack overflow on Funtoo (fixed at r49463)
ruby_2_0_0 r49625 merged revision(s) 49463. usa (Usaku NAKAMURA)
08:55 AM Revision 3bc58582 (git): merge revision(s) 49463: [Backport #10814]
signal.c: SIGBUS by stack overflow on Funtoo
* signal.c (sigbus): seems that Funtoo Linux also delivers SIGBUS
at stack overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@49625 b2dd03c8-39d4-4d8f-98ff-8...
U.Nakamura
08:49 AM Bug #10854: Backport r49543
ruby_2_0_0 r49624 merged revision(s) 49543,49557. usa (Usaku NAKAMURA)
08:48 AM Revision a2279999 (git): merge revision(s) 49543,49557: [Backport #10854]
* ext/socket/getaddrinfo.c (get_addr): reject too long hostname to
get rid of GHOST vulnerability on very old platforms.
* ext/socket/raddrinfo.c (make_hostent_internal): ditto, paranoic
check for the canonni...
U.Nakamura
08:10 AM Revision c934771c (git): * tool/merger.rb (help): hilighten.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
06:39 AM Bug #10820: Win32 Registry Delete uses ANSI instead of Wide APIs
ruby_2_2 r49622 merged revision(s) 49542. naruse (Yui NARUSE)
06:39 AM Revision eef3f0d9 (git): merge revision(s) 49542: [Backport #10820]
* ext/win32/lib/win32/registry.rb (Win32::Registry::API): use wide
versions of RegDeleteValue and RegDeleteKey.
[ruby-core:67958] [Bug #10820]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49622 b2dd...
naruse (Yui NARUSE)
05:40 AM Bug #10856 (Closed): Splat with empty keyword args gives unexpected results
Sean Griffin wrote:
> When keyword args are passed to a method with splat, and there are no keyword args, an empty hash is sent. I would expect no argument to be given, same as splat with an empty array. For example:
It was fixed in ...
shugo (Shugo Maeda)
03:05 AM Bug #10850: BigDecimal division incorrect
Elyasin Shaladi wrote:
> I tried this in Ruby 2.1.4, 2.1.5 and 2.2.0, but in none of the versions it seems correct to me.
> ...
The result of 241.3 / 1800 is a recurring decimal 0.1340555555.....,
which can't be represented exactly by...
shugo (Shugo Maeda)
02:51 AM Bug #10853: inspect.claer dumps core
ruby_2_2 r49621 merged revision(s) 49586. naruse (Yui NARUSE)
02:50 AM Revision d4f507ab (git): merge revision(s) 49586: [Backport #10853]
* string.c (str_discard): does not free for STR_NOFREE string.
[Bug #10853][ruby-core:68110]
* bootstraptest/test_string.rb: test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49621 b2dd03c...
naruse (Yui NARUSE)
02:47 AM Revision 466bd05f (git): resolv.rb: fix equality
* lib/resolv.rb (Resolv::DNS::Resource#==, #hash): elements
returned by Kernel#instance_variables are Symbols now.
[ruby-core:68128] [Bug #10857]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49620 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
02:04 AM Revision 23b9356a (git): * doc/syntax/calling_methods.rdoc: Fix documentation for "calling_methods"
Patch by @sos4nt [fix GH-830][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
01:54 AM Bug #10858 (Closed): File.expand_path on Windows does not handle drive-current path if 2nd arg is relative
Applied in changeset r49618.
----------
win32/file.c: fix drive letter
* win32/file.c (rb_file_expand_path_internal): do not make invalid
(or ADS) path if the path has a drive letter, the result also
should have be under it. [ruby...
nobu (Nobuyoshi Nakada)
01:53 AM Revision f7a73f3e (git): win32/file.c: fix drive letter
* win32/file.c (rb_file_expand_path_internal): do not make invalid
(or ADS) path if the path has a drive letter, the result also
should have be under it. [ruby-core:68130] [Bug #10858]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
01:47 AM Revision 43d08fee (git): * 2015-02-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:47 AM Revision f6b9a0fe (git): * hash.c: Added docs to explain that #include? and #member? do not
check member equality
* lib/set.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

02/16/2015

10:13 PM Bug #10858 (Closed): File.expand_path on Windows does not handle drive-current path if 2nd arg is relative
On Windows, if the first argument to File.expand_path is a drive-current path, and the dir argument is relative, you get a bogus result:
~~~ruby
irb(main):001:0> File.expand_path("c:foo", "bar")
=> "C:/Users/djberge/Repositories/bar...
djberg96 (Daniel Berger)
08:05 PM Feature #4712: File.writable? inaccurate in windows
Use win32-file if you want a working File.writable? on Windows. djberg96 (Daniel Berger)
06:53 PM Bug #10857 (Closed): Resolv::DNS::Resource ==() method incorrectly returns false due to TTL attrib
~~~ruby
require 'resolv'
resolver = Resolv::DNS.new(:nameserver => ['8.8.8.8'],
:search => [],
:ndots => 1)
hosts = resolver.getresources('ruby.org', Resolv::DNS::Resource::IN::A)
returned_record...
sclausson (Shayne Clausson)
02:44 PM Revision ec0c0e3d (git): insns.def: typo
* insns.def (adjuststack): fix a typo, "empty".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:27 PM Bug #10761 (Closed): Marshal.dump 100% slower in 2.2.0 vs 2.1.5
usa (Usaku NAKAMURA)
11:58 AM Revision 4aa088c7 (git): compile.c: massign optimization
* compile.c (compile_massign): optimization for special case,
assignments by aset or attrset.
http://kokizzu.blogspot.jp/2015/02/c-java-hhvm-ruby-nodejsrhinojscspidermo.html
http://www.atdot.net/~ko1/diary/201502.html#d16
git-svn-...
nobu (Nobuyoshi Nakada)
10:42 AM Bug #10855: [PATCH] Matrix#inverse returns matrix of integers whenever possible
Lito Nicolai wrote:
> Marc-Andre Lafortune wrote:
> ...
It means every operation that follows must go through rational arithmetic which is likely to be slower and more memory hungry, isn't it?
But of course homogeneity also has its va...
Eregon (Benoit Daloze)
05:14 AM Revision 19179605 (git): configure.in: refine __builtin_choose_expr check
* configure.in (__builtin_choose_expr): check more precisely the
results.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:08 AM Revision 16294913 (git): use rb_funcallv
* use rb_funcallv() for no arguments call instead of variadic
rb_funcall().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:58 AM Revision 745737e7 (git): error.c: use static IDs
* error.c (Init_Exception): initialize static IDs first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:43 AM Revision b1cff6b6 (git): console.c: use static IDs
* ext/io/console/console.c (rawmode_opt): prepare static IDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:43 AM Revision 8a29d8bb (git): console.c: avoid inadvertent pindown
* ext/io/console/console.c (console_dev): call Kernel#__send__
method to avoid inadvertent pindown.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:27 AM Revision 52e896d7 (git): * 2015-02-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:27 AM Revision 5f9f1536 (git): console.c: fix typo
* ext/io/console/console.c (console_dev): fix typo, should be
rb_funcallv to call with an argument array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:45 AM Bug #10854: Backport r49543
ruby_2_2 r49605 merged revision(s) 49543. naruse (Yui NARUSE)
12:35 AM Feature #10790 (Closed): Can't read CommitterHowto's links
CommitterHowto と CommitterHowtoJa を修正しました。
In English,
I fixed CommitterHowto's links and CommiterHowtoJa's links.
sho-h (Sho Hashimoto)
12:08 AM Misc #10843 (Closed): Removed libraries still exist in doc/standard_library.rdoc
r49606 で修正しました。 sho-h (Sho Hashimoto)

02/15/2015

10:23 PM Bug #10855: [PATCH] Matrix#inverse returns matrix of integers whenever possible
Marc-Andre Lafortune wrote:
> Interesting.
> ...
In the Matrix class, scalar divison is implemented by using the usual `/`
operation, which loses precision on `Integer`s but not on `Rational`s. If
the Matrix is a mix of the two, some...
LitoNico (Lito Nicolai)
08:15 PM Bug #10855: [PATCH] Matrix#inverse returns matrix of integers whenever possible
Interesting.
I'm thinking it might be best to do the conversion even if some entries are not integral. Why do you feel it's best to have uniform types accross a matrix, in particular when would having an Integer instead of a Rational ...
marcandre (Marc-Andre Lafortune)
07:08 PM Bug #10855 (Third Party's Issue): [PATCH] Matrix#inverse returns matrix of integers whenever possible
Currently, Matrix#inverse returns a matrix of Rationals, even when each
element has a denominator of 1. This leads to
> x = Matrix.identity 3
=> Matrix[[1, 0, 0],
[0, 1, 0],
[0, 0, 1]]
> ...
LitoNico (Lito Nicolai)
08:47 PM Bug #10856 (Closed): Splat with empty keyword args gives unexpected results
When keyword args are passed to a method with splat, and there are no keyword args, an empty hash is sent. I would expect no argument to be given, same as splat with an empty array. For example:
```ruby
def foo
end
foo(**{})
```...
seantheprogrammer (Sean Griffin)
05:26 AM Revision d38ef77d (git): * doc/standard_library.rdoc: [DOC] delete removed libraries.
[misc #10843] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sho Hashimoto
04:16 AM Revision 4aacaf21 (git): merge revision(s) 49543: [Backport #10854]
* ext/socket/getaddrinfo.c (get_addr): reject too long hostname to
get rid of GHOST vulnerability on very old platforms.
* ext/socket/raddrinfo.c (make_hostent_internal): ditto, paranoic
check for the canonni...
naruse (Yui NARUSE)
03:24 AM Revision 76c7c267 (git): default.mspec: use RbConfig::CONFIG
* spec/default.mspec (config): use RbConfig::CONFIG directly,
loading with fake.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:24 AM Revision 42dee95b (git): default.mspec: no -I- flag
* spec/default.mspec (flags): -I- has been no longer used since
long ago, and "." has not been in the default load path list too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:23 AM Revision d390e0ce (git): * 2015-02-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:23 AM Revision 3bc9d1d0 (git): random.c: suppress a warning
* random.c (fill_random_bytes): use ATOMIC_SIZE_CAS to suppress a
strict-aliasing warning by gcc 4.9 for mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

02/14/2015

10:37 PM Bug #10854: Backport r49543
r49543 and r49557 were backported into `ruby_2_1` branch at r49600. nagachika (Tomoyuki Chikanaga)
10:48 AM Bug #10854 (Closed): Backport r49543
Please backport r49543 related with GHOST vulnerability. hsbt (Hiroshi SHIBATA)
10:36 PM Revision 8e210f99 (git): merge revision(s) r49543,r49557: [Backport #10854]
* ext/socket/getaddrinfo.c (get_addr): reject too long hostname to
get rid of GHOST vulnerability on very old platforms.
* ext/socket/raddrinfo.c (make_hostent_internal): ditto, paranoic
check for the canonni...
nagachika (Tomoyuki Chikanaga)
05:40 AM Revision 10a98070 (git): random.c: ArgumentError for invalid argument
* random.c (rand_random_number): raise ArgumentError for invalid
argument like as SecureRandom.random_number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:46 AM Bug #10828: send should not create immortal symbols
ruby_2_2 r49598 merged revision(s) 49499,49500,49501,49502,49504,49505,49506,49507. naruse (Yui NARUSE)
04:46 AM Revision 43defa70 (git): merge revision(s) 49499,49500,49501,49502,49504,49505,49506,49507: [Backport #10828]
* vm_insnhelper.c: Fix one type of symbol leak with +send+
* vm_insnhelper.c: Fix symbol leak with +send+ [Bug #10828]
* vm_insnhelper.c (ci_missing_reason): return the reason of method
missing in call info.
...
naruse (Yui NARUSE)
04:11 AM Revision dd09b5bf (git): random.c: allow negative argument to random_number
* random.c (rand_random_number): allow negative argument as it is
allowed by SecureRandom.random_number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:55 AM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
ruby_2_2 r49513 merged revision(s) 49376,49387,49389. naruse (Yui NARUSE)
03:22 AM Bug #10826: Refinements make instance_methods(false) return methods of superclasses
ruby_2_2 r49592 merged revision(s) 49493. naruse (Yui NARUSE)
03:20 AM Revision b1adbd14 (git): random.c: rand_random_number
* random.c (rand_random_number): add a method to return a random
number like SecureRandom to Random::Formatter.
* lib/securerandom.rb (random_bytes): move to Random::Formatter,
the base method of the module.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
03:02 AM Revision 1f13a179 (git): securerandom.rb: Random::Formatter
* lib/securerandom.rb (Random::Formatter): extract random number
formatting methods into a module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:02 AM Revision 03af53f5 (git): random.c: use PRIsVALUE
* random.c (rand_random): use PRIsVALUE to format an error
message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:01 AM Revision eeeb7ae8 (git): random.c: Random.raw_seed
* random.c (random_raw_seed): extract platform dependent random
seed initialization function as a new method Random.raw_seed.
* lib/securerandom.rb (SecureRandom): use Random.raw_seed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
02:53 AM Bug #10848 (Feedback): [BUG] Segmentation fault at 0x00000000000440 ???
Please post plain text, not RTF format.
And please show crash log report, too.
nobu (Nobuyoshi Nakada)

02/13/2015

11:54 PM Revision 68c6739e (git): merge revision(s) 49493: [Backport #10826]
* class.c (method_entry_i, class_instance_method_list,
rb_obj_singleton_methods): should not include methods of
superclasses if recur is false. [ruby-dev:48854] [Bug #10826]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
naruse (Yui NARUSE)
11:26 PM Revision 68c2c522 (git): coverage.c: suppress a warning
* ext/coverage/coverage.c (coverage_clear_result_i): use local
variable coverage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:26 PM Feature #10740: Base64 urlsafe methods are not urlsafe
Awesome, thanks! dragonsinth (Scott Blum)
12:44 PM Feature #10740: Base64 urlsafe methods are not urlsafe
Sorry for the late action, I've committed the patch. Thank you!
--
Yusuke Endoh <mame@ruby-lang.org>
mame (Yusuke Endoh)
12:31 PM Feature #10740 (Closed): Base64 urlsafe methods are not urlsafe
Applied in changeset r49585.
----------
* lib/base64.rb: make urlsafe mode user-friendly.
* lib/base64.rb (Base64.urlsafe_encode64): a new option "padding" to
suppress the padding character ("=").
* lib/base64.rb (Base64.urlsafe_dec...
mame (Yusuke Endoh)
03:54 PM Feature #10816 (Closed): Add the ability to capture Coverage information
Applied in changeset r49589.
----------
* ext/coverage/coverage.c: Add Coverage.peek_result. Allows you to
capture coverage information without stopping the coverage tool.
[ruby-core:67940] [Feature #10816]
* test/coverage/test_co...
Anonymous
03:47 PM Feature #10816: Add the ability to capture Coverage information
> Sorry for leaving this ticket and thank you for commenting and creating a proof-of-concept.
No problem. I'm really excited about this feature (sorry if I seem impatient).
> ...
Yes, I'll commit it.
tenderlovemaking (Aaron Patterson)
02:11 PM Feature #10816: Add the ability to capture Coverage information
Sorry for leaving this ticket and thank you for commenting and creating a proof-of-concept.
Fair enough. Aaron, could you commit your patch?
--
Yusuke Endoh <mame@ruby-lang.org>
mame (Yusuke Endoh)
01:24 AM Feature #10816: Add the ability to capture Coverage information
I made a proof of concept program (using the patch I've posted here):
https://gist.github.com/tenderlove/fba8eaf2b2e3d84d77c5
Here is a video of it being used:
https://www.youtube.com/watch?v=Qsn7nZEccBU
tenderlovemaking (Aaron Patterson)
12:01 AM Feature #10816: Add the ability to capture Coverage information
I can absolutely see tying this into minitest-autotest to make it smarter about what tests to run on edit. zenspider (Ryan Davis)
03:54 PM Revision d96949a4 (git): * 2015-02-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:53 PM Revision a86eacf5 (git): * ext/coverage/coverage.c: Add Coverage.peek_result. Allows you to
capture coverage information without stopping the coverage tool.
[ruby-core:67940] [Feature #10816]
* test/coverage/test_coverage.rb: test for change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49589 b2dd03c8-39d4-4d8f-98ff-82...
tenderlovemaking (Aaron Patterson)
02:16 PM Bug #10839: OpenSSL 1.0.2 does not allow wrap mode (fixed by r49525)
r49575 and r49579 were merged into `ruby_2_1` branch at r49588. nagachika (Tomoyuki Chikanaga)
01:59 PM Bug #10839: OpenSSL 1.0.2 does not allow wrap mode (fixed by r49525)
r49579 で Fedora21 での CI も対応した模様。
Backport の DONE を外しておきます。
nagachika (Tomoyuki Chikanaga)
07:18 AM Bug #10839: OpenSSL 1.0.2 does not allow wrap mode (fixed by r49525)
ruby_2_2 r49584 merged revision(s) 49525,49575. naruse (Yui NARUSE)
02:16 PM Revision 40705c2b (git): merge revision(s) r49575,r49579: [Backport #10839]
test_cipher.rb: show cipher name
* test/openssl/test_cipher.rb (test_ciphers): show wrap mode
cipher name, which does not end with "wrap".
http://rubyci.blob.core.windows.net/fedora21/ruby-trunk/log/20150212T061502Z.fail.htm...
nagachika (Tomoyuki Chikanaga)
01:07 PM Bug #10853 (Closed): inspect.claer dumps core
Applied in changeset r49586.
----------
* string.c (str_discard): does not free for STR_NOFREE string.
[Bug #10853][ruby-core:68110]
* bootstraptest/test_string.rb: test for above.
mame (Yusuke Endoh)
12:41 PM Bug #10853 (Closed): inspect.claer dumps core
~~~
$ ruby -e 'inspect.clear'
*** Error in `ruby': munmap_chunk(): invalid pointer: 0x00007fd20ed64fe7 ***
Aborted (core dumped)
~~~
str_discard attempts to free a C literal string, which causes core dump.
It must check STR_NOFRE...
mame (Yusuke Endoh)
01:07 PM Revision ecccd9f4 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:06 PM Revision 2270365b (git): * string.c (str_discard): does not free for STR_NOFREE string.
[Bug #10853][ruby-core:68110]
* bootstraptest/test_string.rb: test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:31 PM Revision 6b668094 (git): * lib/base64.rb: make urlsafe mode user-friendly.
* lib/base64.rb (Base64.urlsafe_encode64): a new option "padding" to
suppress the padding character ("=").
* lib/base64.rb (Base64.urlsafe_decode64): now it accepts not only
correctly-padded input but also unpadded input.
[Feature...
mame (Yusuke Endoh)
11:42 AM Bug #10852 (Closed): TestObjSpace#test_dump_flags sometimes fails on mswin-CI
mswinのCIで、以下のfailureが時々(2割くらい?)出るのですが、何がまずいのでしょうか?
2.2だと頻度はぐっと下がりますが、出ないわけではないようです。
'''
1) Failure:
TestObjSpace#test_dump_flags [D:/tmp/mswin-build20150213-6324-8fqgzk/ruby/test/objspace/test_objspace.rb:199]:
Expected /"wb_pro...
usa (Usaku NAKAMURA)
11:15 AM Feature #10851 (Open): Introduce Regexp#fetch
There is a common pattern in code:
match = pattern.match(string)
var = match && match[name_of_capture]
One should write it everywhere not to get an exception. It can be solved by introducing something like Hash#fetch.
class Regex...
prijutme4ty (Ilya Vorontsov)
11:14 AM Bug #10850 (Rejected): BigDecimal division incorrect
I tried this in Ruby 2.1.4, 2.1.5 and 2.2.0, but in none of the versions it seems correct to me.
irb(main):041:0* amount1 = BigDecimal("241.3")
=> #<BigDecimal:7f49bcb03558,'0.2413E3',18(18)>
irb(main):042:0> amount2 = BigDecimal(...
Elyasin (Elyasin Shaladi)
07:18 AM Revision c85e4fce (git): merge revision(s) 49525,49575: [Backport #10839]
test_cipher.rb: OpenSSL 1.0.2
* test/openssl/test_cipher.rb (OpenSSL::TestCipher#test_ciphers):
OpenSSL 1.0.2 does not allow wrap mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49584 b2dd03c8-39d4-4d8f-98...
naruse (Yui NARUSE)
07:07 AM Revision b4974e71 (git): util.c: hexdigit
* util.c (hexdigit): extract identical constants.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:19 AM Feature #10739 (Closed): merge upstream of json-1.8.2
Applied in changeset r49582.
----------
* ext/json: merge upstream from flori/json
change usage of TypedData. [Feature #10739][ruby-core:67564]
hsbt (Hiroshi SHIBATA)
02:49 AM Feature #10739: merge upstream of json-1.8.2
```GET_STATE_TO``` is used by other function. hsbt (Hiroshi SHIBATA)
05:19 AM Revision f5219fee (git): * ext/json: merge upstream from flori/json
change usage of TypedData. [Feature #10739][ruby-core:67564]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
05:00 AM Bug #10821: mkmf.rb: Incorrect have_devel? test depending on run order
ruby_2_2 r49581 merged revision(s) 49482,49487. naruse (Yui NARUSE)
05:00 AM Revision 19424d0b (git): merge revision(s) 49482,49487: [Backport #10821]
* lib/mkmf.rb (try_cppflags, try_cflags, try_ldflags): get rid of
interference by modifying global variables in have_devel? method.
[ruby-core:67962] [Bug #10821]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches...
naruse (Yui NARUSE)
02:41 AM Feature #10849: Adding an alphanumeric function to SecureRandom
> The length of the result string is about 4/3 of _n_.
I don't like this interface.
~~~ruby
def self.choose(source, length)
size = source.size
length.times.map {source[random_number(size)]}.join('')
end
GRAPH =...
nobu (Nobuyoshi Nakada)
02:30 AM Bug #10053: OpenSSL: incorrect return value check of EGD functions
The first part sounds OK, I support deprecate of egd functions. The second part needs actionable tickets, and patches welcome. zzak (zzak _)
02:06 AM Revision 4607f95f (git): * 2015-02-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:06 AM Revision 6fbba115 (git): test_cipher.rb: ignore wrap mode erros
* test/openssl/test_cipher.rb (test_ciphers): ignore wrap mode
errors if "wrap" is contained in the name. seems no explicit
rules.
http://rubyci.blob.core.windows.net/fedora21/ruby-trunk/log/20150213T001502Z.fail.html.gz
git-svn-...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom