Project

General

Profile

Activity

From 08/01/2014 to 08/07/2014

08/07/2014

11:45 PM Feature #10118 (Closed): Double splat for non-symbol keys
The double splat operator ** only seems to work with hashes whose keys are symbols. It will not work when a key is a ... sawa (Tsuyoshi Sawada)
10:07 PM Feature #10095: Object#as
I think this should be added as an optional block on the newly added `#itself` method, and not a new method.
~~~ru...
avit (Andrew Vit)
01:33 PM Feature #10095: Object#as
Guys, your chosen names are awful so far. :)
`revapply` is ugly, it does not fit to ruby.
`#as` is not descri...
shevegen (Robert A. Heiler)
09:38 PM Bug #10093 (Third Party's Issue): SecureRandom.uuid is not valid v4 and/or RFC 4122
nobu (Nobuyoshi Nakada)
09:19 PM Bug #10093: SecureRandom.uuid is not valid v4 and/or RFC 4122
This ticket should be closed. kidlab (Man Vuong)
09:18 PM Bug #10093: SecureRandom.uuid is not valid v4 and/or RFC 4122
I just found out the problem, the root cause is because a bug in one of gems I'm using. It does something like this:
...
kidlab (Man Vuong)
08:17 PM Bug #10093: SecureRandom.uuid is not valid v4 and/or RFC 4122
hmm, it could be the problem, let me try to figure out. kidlab (Man Vuong)
04:07 PM Revision 259cd9de (git): * 2014-08-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:07 PM Bug #10117 (Closed): Invalid char does not cause syntax error in eval
Applied in changeset r47098.
----------
parse.y: fix invalid char in eval
* parse.y (parser_yylex): fix invalid cha...
nobu (Nobuyoshi Nakada)
03:12 PM Bug #10117: Invalid char does not cause syntax error in eval
Mistake. nobu (Nobuyoshi Nakada)
03:10 PM Bug #10117 (Closed): Invalid char does not cause syntax error in eval
Directly coded invalid char causes `SyntaxError`, but not in `eval`.
無効な文字を直接書いたときには`SyntaxError`になりますが、`eval`の中ではなり...
nobu (Nobuyoshi Nakada)
04:07 PM Revision a7c4146d (git): parse.y: fix invalid char in eval
* parse.y (parser_yylex): fix invalid char in eval, should raise
an syntax error too, as well as directly coded.
...
nobu (Nobuyoshi Nakada)
02:31 PM Revision fd7a02f9 (git): * lib/open3.rb: avoid unnecessary write if stdin_data is empty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
12:52 PM Revision 707ff7bf (git): * ext/win32ole/win32ole_typelib.c (foletypelib_version): return
version string.
* test/win32ole/test_win32ole_typelib.rb (test_version): ditto.
git-svn-id: svn+ssh://ci.ruby-lan...
suke (Masaki Suketa)
12:51 PM Bug #10113: Ruby memoization behaving oddly when using hash keys with spaces
Ron Arias wrote:
> Trying to use simple Hash memoization with a ruby hash in a class method, it "fails" when having ...
cesario (Franck Verrot)
08:16 AM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
I see the crash with ruby trunk and Tk 8.6.1 on Ubuntu Linux x86_64.
It seems calling `__orig_namespace_command__` c...
h.shirosaki (Hiroshi Shirosaki)
06:14 AM Revision b618b868 (git): * lib/cgi.rb: remove needless condition for old ruby version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
04:59 AM Revision 5d9f08f3 (git): bump patchlevel
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@47094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Terence Lee
04:59 AM Revision 7b9354af (git): Fix r32622.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@47093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Terence Lee
04:59 AM Revision 5082e918 (git): merge revision(s) 32622:
* lib/uri/generic.rb (WFKV_): unroll the loop of regexp.
* lib/uri/generic.rb (URI.decode_www_form_component): ditto...
Terence Lee

08/06/2014

09:05 PM Bug #10114 (Closed): syntax error raised from instance_eval has unexpected encoding
Applied in changeset r47090.
----------
parse.y: preserve encoding
* parse.y (parser_yyerror): preserve source code...
nobu (Nobuyoshi Nakada)
11:50 AM Bug #10114 (Closed): syntax error raised from instance_eval has unexpected encoding
~~~ruby
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
code = 'def n "∈"; end'
puts "code.encoding: #{code.encodin...
kdeberk (Kevin de Berk)
09:05 PM Revision 4769a61b (git): * 2014-08-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:04 PM Revision 2bd1ae1e (git): parse.y: preserve encoding
* parse.y (parser_yyerror): preserve source code encoding in
syntax error messages. [ruby-core:64228] [Bug #10114]...
nobu (Nobuyoshi Nakada)
08:33 PM Bug #10110: Exception handling is not well documented
Ok, I could get a better understanding of how this works from another message in the mailing list but there's somethi... rosenfeld (Rodrigo Rosenfeld Rosas)
07:17 PM Bug #10045: SegFault in BigDecimal in 2.1.2p95
Does using the gem fix the segfaults for you? zzak (zzak _)
03:23 PM Bug #10116: gem with extension but without lib dir gets installed with a lib dir with wrong permissions
On FreeBSD, "gem" winds up using /usr/local/lib/ruby/site_ruby/2.1/rubygems/ext/ext_conf_builder.rb which is slightly... robertgrimm (Robert Grimm)
02:48 PM Bug #10116 (Closed): gem with extension but without lib dir gets installed with a lib dir with wrong permissions
When installing a ruby gem that has a C extension but not an explicit lib directory, the created lib directory will h... robertgrimm (Robert Grimm)
02:49 PM Bug #10093: SecureRandom.uuid is not valid v4 and/or RFC 4122
I suspect it might be generated by `String#succ`. nobu (Nobuyoshi Nakada)
01:09 PM Bug #10093 (Feedback): SecureRandom.uuid is not valid v4 and/or RFC 4122
I see. "g" is not a valid character for UUID.
However I couldn't reproduce the problem.
I run following script...
akr (Akira Tanaka)
12:50 PM Bug #10115: Error in OpenSSL documentation section: Loading a key
I think the same error is also in the docs for previous version of the Ruby reggieb (Rob Nichols)
12:48 PM Bug #10115 (Closed): Error in OpenSSL documentation section: Loading a key
The entry in the OpenSSL docs for Loading a key has an error in it I believe.
http://ruby-doc.org/stdlib-2.1.2/...
reggieb (Rob Nichols)
12:00 PM Revision 2b14e2ae (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:00 PM Revision 0e2410f4 (git): * ext/win32ole/win32ole.c: separate src of WIN32OLE_TYPELIB from
win32ole.c
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_typelib.c: ditto.
* ext/win32ole/win32ole_typel...
suke (Masaki Suketa)
11:47 AM Revision 9b94249f (git): Oops, maybe it's too late, but add [DOC] to the last entry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
11:45 AM Revision f76e390e (git): Move enum.one? documentation before the relevant method.
* enum.c (enum_one): Move enum.one? documentation before the
relevant method. Submitted by @vipulnsward. [Fixes GH...
Akinori MUSHA
11:28 AM Revision 305be780 (git): * lib/set.rb (Set#replace): Check if an object given is enumerable
before clearing self. Reported by yui-knk. [GH-675]
https://github.com/ruby/ruby/pull/675
git-svn-id: svn+ssh://c...
Akinori MUSHA
11:09 AM Revision f2ff35c8 (git): * ext/win32ole/win32ole.c (olerecord_ivar_set): remove rb_str_subseq.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
10:13 AM Revision 3766aa4c (git): Implement Set#clone. [Fixes GH-661]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
10:11 AM Bug #10113 (Rejected): Ruby memoization behaving oddly when using hash keys with spaces
Trying to use simple Hash memoization with a ruby hash in a class method, it "fails" when having spaces as the hash k... ronald05arias (Ron Arias)
09:47 AM Revision 4d5fceb0 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:47 AM Revision 76fcc05e (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:47 AM Revision 75d1a6c9 (git): * ext/win32ole/win32ole.c: separate src of WIN32OLERuntimeError
from win32ole.c.
* ext/win32ole/win32ole.h: ditto
* ext/win32ole/depend: ditto.
* ext/win32ole/win32ole_error.c: dit...
suke (Masaki Suketa)
04:11 AM Feature #9999 (Assigned): Type Annotations (Static Type Checking)
hsbt (Hiroshi SHIBATA)
04:11 AM Bug #10028 (Assigned): nested rest keyword argument
hsbt (Hiroshi SHIBATA)
04:11 AM Bug #10037 (Assigned): Since r46798 on Solaris, "[BUG] rb_vm_get_cref: unreachable" during make
hsbt (Hiroshi SHIBATA)
04:10 AM Feature #10038 (Assigned): Extend ObjectSpace.dump to expose buffer addresses for String and Array
hsbt (Hiroshi SHIBATA)
04:10 AM Bug #10053 (Assigned): OpenSSL: incorrect return value check of EGD functions
hsbt (Hiroshi SHIBATA)
04:04 AM Feature #10107 (Closed): [PATCH] cleanup: rb_const_lookup helper function
Already committed by r47059. nobu (Nobuyoshi Nakada)
03:57 AM Feature #10107 (Assigned): [PATCH] cleanup: rb_const_lookup helper function
hsbt (Hiroshi SHIBATA)
04:03 AM Bug #10112 (Assigned): NET::IMAP fails to parse uid_search/search response with MODSEQ search criteria
hsbt (Hiroshi SHIBATA)
12:52 AM Bug #10112: NET::IMAP fails to parse uid_search/search response with MODSEQ search criteria
Here is my patch to parse the response successfully.
~~~
require 'net/imap'
##
# Fixing issue: NET::IMAP fail...
plehoux (Philippe-Antoine Lehoux)
03:57 AM Feature #10096 (Assigned): [PATCH] use khash for fstring and id_str tables
hsbt (Hiroshi SHIBATA)
03:55 AM Bug #10111: gdbm truncated UTF-8 data problem
KiHyun Kang wrote:
> Nobuyoshi Nakada wrote:
> > gdbm doesn't preserve encodings now.
>
> gdbm doesn't have to p...
nobu (Nobuyoshi Nakada)
02:52 AM Bug #10111: gdbm truncated UTF-8 data problem
Nobuyoshi Nakada wrote:
> gdbm doesn't preserve encodings now.
gdbm doesn't have to preserve encodings.
ext/db...
testors (KiHyun Kang)
02:27 AM Bug #10111: gdbm truncated UTF-8 data problem
gdbm doesn't preserve encodings now. nobu (Nobuyoshi Nakada)
02:39 AM Bug #10105: Mixed styles for class methods on Tempfile break RDocs.
It's valid code, at least.
Whether you consider it a good example or not is another story.
nobu (Nobuyoshi Nakada)

08/05/2014

07:37 PM Bug #9129 (Closed): Regression in support for IPv6 literals in URIs with Net::HTTP
Applied in changeset r47079.
----------
* lib/net/http.rb (Net::HTTP.proxy_uri): use initializer instead
of parser...
naruse (Yui NARUSE)
07:37 PM Revision f01485b4 (git): * lib/net/http.rb (Net::HTTP.proxy_uri): use initializer instead
of parser to handle IPv6 address. [Bug #9129]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47079 b2dd03c8-39d4-...
naruse (Yui NARUSE)
07:35 PM Bug #10105: Mixed styles for class methods on Tempfile break RDocs.
I don't think that it is only a bug in RDoc.
There are at least 3 ways to define class methods in ruby, and I thin...
eloyesp (Eloy Esp)
07:20 PM Feature #8429 (Closed): Options requests in net/http should be able to accept a response body
Applied in changeset r47078.
----------
* lib/net/http/requests.rb (Net::HTTP::Options::RESPONSE_HAS_BODY):
OPTION...
naruse (Yui NARUSE)
05:46 PM Feature #8429: Options requests in net/http should be able to accept a response body
http://tools.ietf.org/html/rfc7231#section-4.3.7 naruse (Yui NARUSE)
07:20 PM Revision 90a16cb2 (git): * lib/net/http/requests.rb (Net::HTTP::Options::RESPONSE_HAS_BODY):
OPTIONS requests may have response bodies. [Feature #8429]
http://tools.ietf.org/html/rfc7231#section-4.3.7
git-sv...
naruse (Yui NARUSE)
07:10 PM Bug #10054 (Closed): Net::HTTPGenericRequest sets host even if it was set before by user
Applied in changeset r47077.
----------
* lib/net/http/generic_request.rb (Net::HTTP::GenericRequest#exec):
handle...
naruse (Yui NARUSE)
07:10 PM Revision 70a2eb63 (git): * lib/net/http/generic_request.rb (Net::HTTP::GenericRequest#exec):
handle req['host'] in update_uri.
* lib/net/http/generic_request.rb
(Net::HTTP::GenericRequest#update_uri):
use ...
naruse (Yui NARUSE)
07:10 PM Revision c1652035 (git): * lib/net/http/generic_request.rb
(Net::HTTP::GenericRequest#update_uri):
handle scheme, host, and port to reflect connection to @uri.
* lib/net/htt...
naruse (Yui NARUSE)
07:09 PM Revision 159fa373 (git): * lib/net/http/generic_request.rb
(Net::HTTP::GenericRequest#initialize):
optimize object allocation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
naruse (Yui NARUSE)
07:09 PM Revision b6ecbc70 (git): remove path_query
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:09 PM Revision d7b5ef02 (git): * lib/uri/generic.rb (URI::Generic#normalize!): use String#empty?
* lib/uri/generic.rb (URI::Generic#path_query): optimized.
* lib/uri/generic.rb (URI::Generic#to_s): optimized.
git...
naruse (Yui NARUSE)
07:09 PM Revision a5c923f6 (git): * lib/uri/http.rb (URI::HTTP#request_uri): optimized.
decrease object allocation, and ensure always create at least one new
object for return value.
git-svn-id: svn+ssh...
naruse (Yui NARUSE)
07:08 PM Revision 25d3fc88 (git): suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:50 PM Bug #9806: URI#encode doesn't encode characters '[' and ']'. They should be encoded as %5B and %5D respectively.
Yusuke Endoh wrote:
> I'm unfamiliar with URI spec, but I guess RFC 2732 is related.
>
> http://www.ietf.org/rfc/...
charlez (Charles Leu)
06:41 PM Revision 66ba4e36 (git): * 2014-08-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:41 PM Revision 0b392535 (git): * ext/psych/lib/psych/visitors/to_ruby.rb: backwards compatibility for
hashes emitted by Syck. Github #198
* test/psych/test_hash.rb: test for change.
git-svn-id: svn+ssh://ci.ruby-lang.o...
tenderlovemaking (Aaron Patterson)
05:50 PM Bug #10112 (Closed): NET::IMAP fails to parse uid_search/search response with MODSEQ search criteria
~~~
imap.examine('INBOX')
imap.uid_search(['MODSEQ', 12345])
~~~
NET::IMAP fails to parse uid_search/search r...
plehoux (Philippe-Antoine Lehoux)
04:17 PM Feature #10090: Display of program name in process listing under AIX
If we run this example code under Ruby 1.8.7 on AIX, we're able to see the entire command line that the process was c... mckern (Ryan McKern)
09:22 AM Feature #10090 (Third Party's Issue): Display of program name in process listing under AIX
Your code diesn't set `$0`, so ruby does and can do nothing.
The behavior of `ps` is a part of OS.
Complain to the ...
nobu (Nobuyoshi Nakada)
05:18 AM Feature #10090: Display of program name in process listing under AIX
+1 for fixing, or at least some communications about areas we can investigate to help resolve/remediate this. mckern (Ryan McKern)
02:52 PM Feature #10108: NameError#name and nested constants
Yes, a full qualified name seems more appropriate and more consistent with the output of the error message. Thanks fo... robin850 (Robin Dupret)
12:00 PM Bug #10111 (Rejected): gdbm truncated UTF-8 data problem
Reproducible script is here.
~~~
# coding: utf-8
require 'gdbm'
data = "\xEA\xB0\x80ABCDEF"
db = GDBM.new( '...
testors (KiHyun Kang)
10:31 AM Revision 9670542a (git): * ext/win32ole/win32ole.c (ole_invoke): skip VariantClear when
argument is VT_RECORD variant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47068 b2dd03c8-39d4-4d8f-98ff-823...
suke (Masaki Suketa)
06:54 AM Revision e3c74b29 (git): * 2014-08-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:54 AM Revision 97ec14b7 (git): * gems/bundled_gems: Upgrade to test-unit-3.0.0 and minitest-5.4.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:22 AM Bug #10109 (Assigned): BigDecimal fail to compare to Float::INFINITY
mrkn (Kenta Murata)
12:18 AM Bug #10099: Compiling Ruby 2.1.2 with OpenSSL "recipe for target 'openssl_missing.o' failed"
Yui NARUSE wrote:
> Use homebrew's openssl instead of OpenSSL.framework.
I don't use homebrew as it removes anyth...
yb601 (Iain Barnett)

08/04/2014

10:28 PM Feature #9390: Support for the ALPN TLS extension
Note that RFC 7301 has published: http://tools.ietf.org/html/rfc7301
HTTP/2 is nearing completion and requires AL...
cabo (Carsten Bormann)
06:11 PM Bug #10110 (Closed): Exception handling is not well documented
Exception#cause has no documentation at all:
http://www.ruby-doc.org/core-2.1.2/Exception.html#method-i-cause
T...
rosenfeld (Rodrigo Rosenfeld Rosas)
02:48 PM Bug #9291: array splatting a nil works, but hash splatting a nil does not
So is there a reason * and ** should work differently for nil?
rits (First Last)
01:50 PM Revision 904c559d (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:27 PM Revision de79761e (git): pack.c (encodes): name a magic number
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:55 PM Bug #10109 (Closed): BigDecimal fail to compare to Float::INFINITY
`head :002 > BigDecimal(0) < Float::INFINITY
FloatDomainError: Infinity
from (irb):2:in `to_r'
from (irb):2:in `...
CryptoBarbu (Crypto Barbu)
12:53 PM Revision 43b0066d (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:52 PM Revision 2906d58a (git): * test/win32ole/test_win32ole_record.rb: add for WIN32OLE_RECORD
test(need .NET Framework 3.5 to run test).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47062 b2dd03c8-39d4-4...
suke (Masaki Suketa)
12:38 PM Bug #10019: segmentation fault/buffer overrun in pack.c (encodes)
(2014/07/31 1:48), [email protected] wrote:
> Well the reproducibility issue appears to be a toolset problem. If I ...
nobu (Nobuyoshi Nakada)
11:55 AM Bug #10019: segmentation fault/buffer overrun in pack.c (encodes)
Nobuyoshi Nakada wrote:
> `encodes()` does uuencode and mime-encode, so never writes '\0'.
Sorry, my bad - I alre...
thoger (Tomas Hoger)
11:46 AM Bug #10019: segmentation fault/buffer overrun in pack.c (encodes)
Tomas Hoger wrote:
> * The first byte of the SSP cookie is expected to be '\0' on e.g. recent Linux systems (https:/...
nobu (Nobuyoshi Nakada)
09:15 AM Bug #10019: segmentation fault/buffer overrun in pack.c (encodes)
This seems to be getting off-topic, so just few quick notes:
* It seems -fstack-protector* (SSP) is what is referr...
thoger (Tomas Hoger)
12:20 PM Revision 0a771226 (git): * ChangeLog: fix broken encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
10:49 AM Revision 8c3fb492 (git): * ext/win32ole/win32ole.c (ole_invoke): call rb_hash_foreach instead
of rb_block_call.
* ext/win32ole/win32ole.c: add comment for rdoc of WIN32OLE_VARIANT
class.
git-svn-id: svn+ssh...
suke (Masaki Suketa)
10:09 AM Bug #10097: Case-insensitive Regexp matching for Windows-1252 not working for ŠšŽžŒœÿŸ
Nobuyoshi Nakada wrote:
> I've forgotten the test file, "test/ruby/enc/test_windows_1252.rb", and added it now.
> W...
duerst (Martin Dürst)
01:19 AM Feature #10096: [PATCH] use khash for fstring and id_str tables
[email protected] wrote:
> Eric Wong wrote:
> > frozen_strings and global_symbols.id_str hashes are two of the bigger
...
normalperson (Eric Wong)
01:12 AM Revision 49380457 (git): variable: cleanup to use rb_const_lookup
* variable.c: cleanup to use rb_const_lookup
* vm_insnshelper.c: ditto
This reduces casting and long lines. This sh...
Eric Wong
01:05 AM Revision 0ee5c55e (git): symbol.c: move macros
* symbol.c (SYMBOL_PINNED, SYMBOL_PINNED_P, ID_DYNAMIC_SYM_P),
(STATIC_SYM2ID, STATIC_ID2SYM): move from symbol.h a...
nobu (Nobuyoshi Nakada)
12:58 AM Feature #9894: [RFC] README.EXT: document rb_gc_register_mark_object
(2014/08/04 7:48), Eric Wong wrote:
> ```diff
> --- a/gc.c
> +++ b/gc.c
> @@ -5154,13 +5154,15 @@ rb_gc_register_...
ko1 (Koichi Sasada)
12:07 AM Revision 0e6a3991 (git): * ext/tk/lib/tkextlib/tcllib/plotchart.rb: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)

08/03/2014

10:58 PM Feature #9894: [RFC] README.EXT: document rb_gc_register_mark_object
I tried making rb_gc_register_address work transparently but wasn't able
to measure any difference with unicorn. un...
normalperson (Eric Wong)
07:32 PM Feature #10108: NameError#name and nested constants
A full qualified name would be a more appropriate and natural fit. vipulnsward (Vipul Amler)
02:12 PM Feature #10108: NameError#name and nested constants
Do you want a method to return full qualified name, or an array of names? nobu (Nobuyoshi Nakada)
12:43 PM Feature #10108 (Feedback): NameError#name and nested constants
Hello,
We wanted to bring a discussion around the behavior of NameError#name with nested constants. The result can...
robin850 (Robin Dupret)
04:43 PM Revision 92d58cac (git): merge revision(s) r46585,r46595,r46822: [Backport #9977] [Backport #9978] [Backport #9983]
test_env.rb: rehearsal
* test/ruby/test_env.rb (test_memory_leak_{aset,select,shift}):
have a rehearsal be...
nagachika (Tomoyuki Chikanaga)
04:32 PM Bug #9983: memory leak at ENV.shift on Windows
Backported into `ruby_2_1` branch at r47055. nagachika (Tomoyuki Chikanaga)
04:31 PM Revision 856f4d49 (git): merge revision(s) r46570: [Backport #9983]
* hash.c (env_shift): fix memory leak on Windows, free environment
strings block always. [ruby-dev:48332] ...
nagachika (Tomoyuki Chikanaga)
04:30 PM Bug #9978: memory leak at ENV.select on Windows
r46557 and r46565 were backported into `ruby_2_1` branch at r47054. nagachika (Tomoyuki Chikanaga)
04:28 PM Revision 85c48fdc (git): merge revision(s) r46557,r46565: [Backport #9978]
* hash.c (env_select): fix memory leak and crash on Windows, make
keys array first instead of iterating on ...
nagachika (Tomoyuki Chikanaga)
04:25 PM Bug #9977: memory leak at ENV.[]= on Windows
Backported into `ruby_2_1` branch at r47053. nagachika (Tomoyuki Chikanaga)
04:24 PM Revision d4132b8a (git): merge revision(s) r46550: [Backport #9977]
* hash.c (ruby_setenv): fix memory leak on Windows, free
environment strings block after check for the size...
nagachika (Tomoyuki Chikanaga)
04:21 PM Bug #9903: Regexp#[] doesn't consider capture name encoding
Backported into `ruby_2_1` branch at r47052. nagachika (Tomoyuki Chikanaga)
04:20 PM Revision 3aefb61f (git): merge revision(s) r46345,r46346: [Backport #9903]
re.c: reduce new strings
* re.c (match_aref, rb_reg_regsub): reduce new strings creation
for exceptions.
...
nagachika (Tomoyuki Chikanaga)
04:07 PM Bug #9961: TracePoint can skip c_return with rb_rescue()
もうひとつ [:c_call, :coerce] の直後の [:c_call :to_s], [:c_return, :to_s] が 2.1 では検出されないのですが、こちらは出所がわからなかったのでテストから削って r47051 ... nagachika (Tomoyuki Chikanaga)
03:51 PM Bug #9961: TracePoint can skip c_return with rb_rescue()
バックポート時のメモ。テストでチェックしている TracePoint のフック呼び出しに影響していたため r44610, r44617 も r47050 でバックポートしました。 nagachika (Tomoyuki Chikanaga)
04:07 PM Revision 84091a71 (git): merge revision(s) r46465,r46469,r46484: [Backport #9961]
* vm.c (rb_vm_rewind_cfp): add new function to rewind specified cfp
with invoking RUBY_EVENT_C_RETURN.
...
nagachika (Tomoyuki Chikanaga)
03:50 PM Revision fe45e6b7 (git): merge revision(s) r44610,r44617:
numeric.c: preserve encoding
* numeric.c (coerce_failed): preserve encoding of error message.
git-svn-id: s...
nagachika (Tomoyuki Chikanaga)
03:19 PM Revision 477e28cc (git): * 2014-08-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:19 PM Revision 33e1c86f (git): openssl: constify
* ext/openssl/ossl_asn1.c (ossl_asn1_info): constify.
* ext/openssl/ossl_pkcs7.c (ossl_pkcs7_sym2typeid): constify a...
nobu (Nobuyoshi Nakada)
03:19 PM Revision 98630412 (git): ossl_pkcs7.c: consider length
* ext/openssl/ossl_pkcs7.c (ossl_pkcs7_sym2typeid): consider
length to compare.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
01:33 PM Revision a98c6533 (git): rubygems/util.rb: remove unused variable
* lib/rubygems/util.rb (Gem::Util.silent_system): remove unused
variable, to fix test failures with verbose flag.
...
nobu (Nobuyoshi Nakada)
12:18 PM Feature #10107: [PATCH] cleanup: rb_const_lookup helper function
nice. nobu (Nobuyoshi Nakada)
10:15 AM Feature #10107: [PATCH] cleanup: rb_const_lookup helper function
+1 ko1 (Koichi Sasada)
07:09 AM Feature #10107 (Closed): [PATCH] cleanup: rb_const_lookup helper function
This reduces casting and long lines. This should make it easier to
switch to alternatives to st for constant storag...
normalperson (Eric Wong)
10:13 AM Feature #10096: [PATCH] use khash for fstring and id_str tables
Eric Wong wrote:
> frozen_strings and global_symbols.id_str hashes are two of the bigger
> hashes in Ruby. They ar...
ko1 (Koichi Sasada)
07:10 AM Feature #10096: [PATCH] use khash for fstring and id_str tables
[email protected] wrote:
> Feature #10096: [PATCH] use khash for fstring and id_str tables
> https://bugs.ruby...
normalperson (Eric Wong)
08:20 AM Revision 6959bc50 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:56 AM Revision 4713ace4 (git): strscan.c: encoding in messages
* ext/strscan/strscan.c (strscan_aref): preserve argument encoding
in error messages.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
01:56 AM Revision 27c4fb33 (git): ext: get rid of inadvertent ID creation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:56 AM Revision 1d670ab0 (git): ext: prefer RB_TYPE_P over comparison TYPE with constants
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:55 AM Revision fdfb939d (git): transcode.c: use string
* transcode.c (econv_opts): get rid of inadvertent ID creation,
and preserve argument encoding in error messages.
...
nobu (Nobuyoshi Nakada)
01:55 AM Revision d0987afc (git): make symbol conversion functions public
* include/ruby/encoding.h (rb_check_symbol_cstr): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47040 b2d...
nobu (Nobuyoshi Nakada)
01:54 AM Revision 48bb55ed (git): README.EXT.ja: using commas and periods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:43 AM Bug #10106 (Closed): Segfault when refining BasicObject
Applied in changeset r47037.
----------
vm_insnhelper.c: fix unusable super class
* vm_insnhelper.c (vm_call_method...
nobu (Nobuyoshi Nakada)
01:43 AM Revision a17eb7ba (git): * 2014-08-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:43 AM Revision a6d34e75 (git): vm_insnhelper.c: fix unusable super class
* vm_insnhelper.c (vm_call_method): unusable super class should cause
method missing when BasicObject is refined bu...
nobu (Nobuyoshi Nakada)

08/02/2014

06:39 PM Bug #10106 (Closed): Segfault when refining BasicObject
This works:
~~~ruby
module RefinementBug
refine BasicObject do
def foo
1
end
end
end
u...
mxhold (Max Holder)
06:31 PM Feature #9725: Do not inspect NameError target object unless verbose
> ## Solutions:
>
> * `NameError` should not capture the target object.
> * `NameError` should build a message ba...
josh.cheek (Josh Cheek)
03:25 PM Revision 1760861c (git): merge revision(s) r44577,r45097,r45330,r45331,r45354,r45356: [Backport #10033]
cptr.c: unused variable
* ext/dl/cptr.c (rb_dlptr_inspect): remove no longer used variable.
git-svn-id: svn...
nagachika (Tomoyuki Chikanaga)
03:14 PM Revision 39da0b90 (git): merge revision(s) r46649: [Backport #10005]
* node.c (dump_node): handle nd_value == (NODE *)-1 to mean this
keyword argument is required
git-svn-id:...
nagachika (Tomoyuki Chikanaga)
02:55 PM Revision c3e1258c (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:55 PM Revision 4e7801a1 (git): * ext/win32ole/win32ole.c: separate WIN32OLE::VARIANT src file
from win32ole.c
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_variant_m.c: ditto.
* ext/win32ole/win32ole...
suke (Masaki Suketa)
02:18 PM Feature #6817: Partial application
Michael Kohl wrote:
> In that case, how about making `Symbol#to_proc` accept additional arguments?
>
> ~~~ruby
>...
nobu (Nobuyoshi Nakada)
08:59 AM Feature #6817: Partial application
Koichi Sasada wrote:
> Basically, I like this proposal.
> But I'm not sure this notation can be acceptable.
In ...
citizen428 (Michael Kohl)
11:04 AM Feature #9781: Feature Proposal: Method#super_method
Yukihiro Matsumoto wrote:
> OK, accepted.
>
> The name should be 'super_method', since 'super' make me feel invoc...
aledovsky (Aleksandrs Ļedovskis)
11:01 AM Revision a52fa3eb (git): * Changelog: fix typo. contribute from @chiastolite.
[fix GH-693]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
05:41 AM Revision cefef1f1 (git): * ext/win32ole/win32ole.c: VERSION 1.7.0 -> 1.7.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
05:37 AM Revision dde71a3d (git): * ext/win32ole/win32ole.c: add coments for rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
01:30 AM Bug #10105 (Third Party's Issue): Mixed styles for class methods on Tempfile break RDocs.
Rather I think it a bug of RDoc. nobu (Nobuyoshi Nakada)
01:27 AM Feature #6373 (Closed): public #self
Applied in changeset r47028.
----------
object.c: Object#itsef
* object.c (rb_obj_itself): new method Object#itsef....
nobu (Nobuyoshi Nakada)
01:27 AM Revision 963bce15 (git): * 2014-08-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:26 AM Revision 0a0160d6 (git): object.c: Object#itsef
* object.c (rb_obj_itself): new method Object#itsef. based on the
patch by Rafael França in [ruby-core:64156].
[...
nobu (Nobuyoshi Nakada)

08/01/2014

08:27 PM Bug #10105 (Closed): Mixed styles for class methods on Tempfile break RDocs.
I've already made a little pull request here https://github.com/ruby/ruby/pull/691.
The diff is here: https://gith...
eloyesp (Eloy Esp)
06:23 PM Feature #6373: public #self
Here the implementation. This is my first patch to Ruby so I'm not sure it is correct. Let me know if I need to chang... rafaelfranca (Rafael França)
05:18 PM Feature #6373: public #self
We just implemented it on Active Support https://github.com/rails/rails/commit/702ad710b57bef45b081ebf42e6fa70820fdd8... rafaelfranca (Rafael França)
03:17 PM Bug #10103 (Feedback): Unable to refine class with CONSTANT
Constants (and class variables) are not included in refinement modification. Constants still belong to outer class.
...
matz (Yukihiro Matsumoto)
01:32 PM Revision a13944dc (git): * ext/win32ole/win32ole.c (folerecord_inititalize): accept
only 2 arguments. The 2nd argument should be WIN32OLE object or
WIN32OLE_RECORD object.
git-svn-id: svn+ssh://ci....
suke (Masaki Suketa)
11:20 AM Revision 2cce8185 (git): * ext/win32ole/win32ole.c (ole_variant2val): call
folerecord_s_allocate instead of WIN32OLE_RECORD.new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47026 b2dd0...
suke (Masaki Suketa)
09:57 AM Bug #10019: segmentation fault/buffer overrun in pack.c (encodes)
This crash only triggers with FORTIFY_SOURCE. When calling rb_str_buf_cat at the end of encodes for the situation whe... pwann (Poul Wann Jensen)
09:41 AM Revision 1e667d5f (git): * test/date/test_date.rb: remove commented-out code.
* test/date/test_date_arith.rb: ditto.
* test/date/test_date_attr.rb: ditto.
* test/date/test_date_parse.rb: ditto.
...
hsbt (Hiroshi SHIBATA)
08:30 AM Bug #10086: [PATCH] Remove exponents calculation from mathn.rb
@Yusuke Endoh さん
よこやりありがとうございます.
はい. 全くもって正しいご指摘だと思います. すみません僕が修正する際に気づくべきでした.
引き合いに出された文全体を
>mathn ser...
gogotanaka (Kazuki Tanaka)
02:09 AM Bug #10086: [PATCH] Remove exponents calculation from mathn.rb
よこやりですが、
> If you need
> more precise rounding with multiple division or exponentiation
> operations, then mathn...
mame (Yusuke Endoh)
07:35 AM Revision 52b59fc9 (git): numeric.c: 0 % Float::NAN returns Float::NAN
* numeric.c (flodivmod): all results are NaN if divisor is NaN.
[fix GH-692]
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
07:35 AM Revision 528ef3ca (git): add assertions for division NaN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:40 AM Bug #10102: [PATCH] dir.c: [DOC] Document that Dir.exists? is deprecated
Robert A. Heiler wrote:
> I think the reasoning given here makes sense and is consistent.
>
> matz explained that...
mcfiredrill (Tony Miller)
 

Also available in: Atom