Project

General

Profile

Activity

From 09/20/2015 to 09/26/2015

09/26/2015

11:16 PM Revision b1cfb98e (git): ostruct.rb: fix NameError
* lib/ostruct.rb (delete_field): do not raise NameError for
existing keys. [Fix GH-1033]
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
07:58 PM Feature #11554 (Closed): Privatize {Single}Forwardable API
For improve consistency with Module#define_method and Module#alias_method.
patch: https://github.com/ruby/ruby/pul...
kachick (Kenichi Kamiya)
05:52 PM Revision 690f2c72 (git): common.mk: clear envs for GEM
* common.mk: clear environment variables for GEM paths to get rid
of searching unexpected gems. fix failures on tr...
nobu (Nobuyoshi Nakada)
04:57 PM Feature #7360: Adding Pathname#glob
Here is a patch that adds the functionality as outlined by Alexander. It's using "Pathname#join" to build the glob pa... til (Tilmann Singer)
04:20 PM Bug #11553 (Rejected): Disable by default the DTrace support on Linux systems.
The issue is the following:
* Linux has an unnofficial implementation of DTrace (dtrace4linux).
* However, this s...
clopez (Carlos Alberto Lopez Perez)
04:06 PM Revision a0db078e (git): * 2015-09-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:05 PM Revision 7fa21558 (git): * lib/ostruct.rb: Move method definitions for getter/setter to be lazy
Patch by @sferik in [GH-1033]: https://github.com/ruby/ruby/pull/1033
Instead of defining two methods -- a reader an...
zzak (zzak _)
01:33 PM Revision 0d71c07d (git): prelude.c.tmpl: workaround
* template/prelude.c.tmpl: prevent ruby-mode from confusion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51943...
nobu (Nobuyoshi Nakada)
01:18 PM Revision f836f11a (git): * 2015-09-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:17 PM Revision 9c7d3c9d (git): test_syntax.rb: split
* test/ruby/test_syntax.rb (test_keyword_splat): split duplicate
keywords tests.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
11:45 AM Feature #10594: Comparable#clamp
Where do we go from here? Is my patch acceptable? If no, what should I change? If yes, what's the process for getting... nerdinand (Ferdinand Niedermann)
03:12 AM Bug #11551 (Feedback): `[BUG] cfp consistency error` for unidentified reasons
Can't you make short code to reproduce it? nobu (Nobuyoshi Nakada)

09/25/2015

08:05 PM Feature #11552 (Closed): ext/openssl: choose the OpenSSL::Digest class for OpenSSL::OCSP::Request.sign and OpenSSL::OCSP::BasicResponse.sign
ossl_ocsp.c is currently hard-coded to use SHA1 signatures when signing OCSP requests and basic responses, but SHA1 i... tshirley (Tim Shirley)
01:45 PM Bug #11551: `[BUG] cfp consistency error` for unidentified reasons
There is a typo in the `method_missing` definition which is the cause here. Changing `attribute_defintion` to `attrib... seantheprogrammer (Sean Griffin)
01:41 PM Bug #11551 (Rejected): `[BUG] cfp consistency error` for unidentified reasons
The code changes https://github.com/sgrif/rails/commit/ddbed0040f5e99a751b130de8213f7cc7e0d155d cause a segfault when... seantheprogrammer (Sean Griffin)
01:14 PM Revision 6b380a44 (git): marshal.c: reduce arity checks
* marshal.c (rb_marshal_dump_limited): get rid of redundant arity
check to dump object with limited nest level.
* ...
nobu (Nobuyoshi Nakada)
12:45 PM Revision 1b941008 (git): marshal.c: reentrant checks
* marshal.c (dump_funcall, dump_check_funcall, load_funcall):
function calls with reentrant check. always show nam...
nobu (Nobuyoshi Nakada)
12:38 PM Revision 2c1aa2ca (git): marshal.c: use STATIC_ASSERT
* marshal.c (MARSHAL_INFECTION): check size by STATIC_ASSERT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5193...
nobu (Nobuyoshi Nakada)
11:08 AM Feature #11550: Current behaviour of super(...) is dangerous in the presence of more than one included modules.
Why not simply having `super` in M1 and M2 #initialize?
All constructors should call `super`, unless they just inher...
Eregon (Benoit Daloze)
06:46 AM Feature #11550 (Open): Current behaviour of super(...) is dangerous in the presence of more than one included modules.
Consider a class
~~~
class C <P
include M1
include M2
def initialize
....
end
...
rovf (Ronald Fischer)
08:08 AM Revision 460152ea (git): parser.c: update
* ext/json/parser/parser.c: update to r51946.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51937 b2dd03c8-39d4-...
nobu (Nobuyoshi Nakada)
08:06 AM Revision f12fccbe (git): parser.rl: rb_scan_args
* ext/json/parser/parser.rl (cParser_initialize): use ':' in
rb_scan_args.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
08:00 AM Misc #11548: FileUtils#remove_tailing_slash is a poor method name
It's a private method, we can replace it immediately. nobu (Nobuyoshi Nakada)
05:06 AM Misc #11548: FileUtils#remove_tailing_slash is a poor method name
I agree. We should probably introduce the new name now, and later deprecate the old one. duerst (Martin Dürst)
07:59 AM Bug #11546 (Third Party's Issue): Build failure of readline extension with FreeBSD 11
nobu (Nobuyoshi Nakada)
02:47 AM Bug #11546: Build failure of readline extension with FreeBSD 11
https://github.com/sstephenson/ruby-build/issues/805#issuecomment-142659622 hsbt (Hiroshi SHIBATA)
07:08 AM Revision c416efa4 (git): hash.c: GC guards
* hash.c (env_delete, env_aset): prevent environment variable
names from GC while ruby_setenv.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
02:46 AM Bug #11540 (Closed): Certificate error (for minitest?)
fixed at r51933 hsbt (Hiroshi SHIBATA)
02:12 AM Bug #11545 (Rejected): Doc typo: "The examples are use regular expressions for the pattern"
1.9.3 is EOL. hsbt (Hiroshi SHIBATA)
01:07 AM Revision 08b54fbd (git): * lib/net/http.rb: removed unused variable. It's removed at r13648.
[fix GH-1022] Patch by @nkondratyev
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51934 b2dd03c8-39d4-4d8f-98ff-...
hsbt (Hiroshi SHIBATA)
12:48 AM Revision a45ec9c6 (git): * gems/bundled_gems: upgrade to minitest-5.8.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:47 AM Revision 1bbe442f (git): * id_table.c: fix typo. [ci skip][fix GH-1031] Patch @davydovanton
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

09/24/2015

11:02 PM Revision 7419b76f (git): * 2015-09-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:02 PM Revision 9e18566e (git): * test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_lock): skip
this test on AIX. The issue is the same as on Solaris.
[ruby-dev:47631]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
Rei Odaira
08:46 PM Feature #11473: Immutable String literal in Ruby 3
Rodrigo Rosenfeld Rosas wrote:
> Implementing what I suggested won't introduce any subtle bugs, it will only warrant...
jeremyevans0 (Jeremy Evans)
08:28 PM Feature #11473: Immutable String literal in Ruby 3
I understand that but unfreeze would only be called for strings which haven't been explicitly frozen by the users by ... rosenfeld (Rodrigo Rosenfeld Rosas)
07:50 PM Misc #11548 (Closed): FileUtils#remove_tailing_slash is a poor method name
One would expect this method to be called `remove_trailing_slash`
I asked around on IRC and the consensus is this ...
slash_nick (Ryan Hosford)
02:35 PM Revision 37230dd4 (git): fix indent (tabify) [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:35 PM Revision f4409a0d (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:25 AM Revision 3fa061cd (git): parse.y: fix token
* parse.y (paren_args): fix separator token at `foo::bar()` in
ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
05:20 AM Revision 79255ac8 (git): file.c: same timespec
* file.c (rb_file_s_utime): same timespec for same time object.
assume time objects are static.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
04:49 AM Feature #11523: optparse short options will match complete options
Try executing this script. The only difference between the previous script and this one is that instead of returning ... shishir127 (Shishir Joshi)
01:37 AM Revision c97a6987 (git): ext/tk: remove $SAFE 2..4 code
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:29 AM Revision 61847a82 (git): ext/Setup: update
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

09/23/2015

06:53 PM Feature #11473: Immutable String literal in Ruby 3
Hi Rodrigo, I think you need to look into the implications of what you are proposing here.
For example: In one pl...
avit (Andrew Vit)
05:01 PM Feature #11473: Immutable String literal in Ruby 3
I never suggested to dup it, but to actually "unfreeze" it:
~~~
a = b = 'asdf'.freeze
a.unfreeze # this is cur...
rosenfeld (Rodrigo Rosenfeld Rosas)
05:04 PM Feature #11537: Introduce "Safe navigation operator"
Matthew, it shouldn't be implemented as a && a.b && a.b.c, but something like (temp1 = a) && (temp2 = temp1.b) && tem... rosenfeld (Rodrigo Rosenfeld Rosas)
03:09 PM Bug #11483 (Closed): internal.h included after math.h in complex.c
Applied in changeset r51922.
----------
complex.c: ruby/config.h must be included before math.h
because it defines _...
Anonymous
03:09 PM Revision c2ccedbe (git): * 2015-09-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:08 PM Revision c3b02d57 (git): complex.c: ruby/config.h must be included before math.h
because it defines _LARGE_FILES on AIX and _LARGE_FILES
must be defined before sys/types.h is included from math.h.
[...
Rei Odaira
02:43 PM Revision f9a9193a (git): ruby.c: feature bits
* ruby.c (enum feature_flag_bits, struct cmdline_options): turn
negative logic disable bits into positive logic fea...
nobu (Nobuyoshi Nakada)
01:43 PM Feature #11547 (Closed): remove top-level constant lookup
If ruby cannot find a class in the specified scope it uses the top-level constant of the same name if it exists and e... gucki1 (Corin Langosch)
01:23 PM Revision b885cec8 (git): * ext/openssl/ossl_pkcs12*: Remove svn commit id macro
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)

09/22/2015

11:49 PM Bug #11546 (Feedback): Build failure of readline extension with FreeBSD 11
Please show `ext/readline/mkmf.log` first. nobu (Nobuyoshi Nakada)
01:08 PM Bug #11546 (Third Party's Issue): Build failure of readline extension with FreeBSD 11
We got following issue with readline build failure.
https://github.com/sstephenson/ruby-build/issues/805
Can an...
hsbt (Hiroshi SHIBATA)
04:15 PM Revision 3dabe300 (git): * 2015-09-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:12 PM Revision 0ecc3688 (git): * ext/openssl/*: Remove svn commit id macros to make sync easier
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
12:26 PM Bug #11545: Doc typo: "The examples are use regular expressions for the pattern"
Oh, seems to have been fixed in the newer docs, not sure if old docs like the above will be fixed. shevegen (Robert A. Heiler)
12:25 PM Bug #11545: Doc typo: "The examples are use regular expressions for the pattern"
Agreed, small typo. shevegen (Robert A. Heiler)
06:54 AM Bug #11545 (Rejected): Doc typo: "The examples are use regular expressions for the pattern"
At http://ruby-doc.org/core-1.9.3/String.html#method-i-gsub
I'm not a Ruby user; just saw this on the docs page.
dandv (Dan Dascalescu)
11:59 AM Revision f213f504 (git): win32.c: fallback to WCHAR-version in MSVCRT
* win32/win32.c (rb_w32_open): should not fallback to ANSI-version
in MSVCRT, fallback to WCHAR-version in rb_w32_w...
nobu (Nobuyoshi Nakada)
10:46 AM Feature #8976: file-scope freeze_string directive
Nobuyoshi Nakada wrote:
> https://github.com/nobu/ruby/tree/feature/pragma-frozen_string
Great. It works fine.
...
akr (Akira Tanaka)
09:33 AM Feature #8976: file-scope freeze_string directive
https://github.com/nobu/ruby/tree/feature/pragma-frozen_string nobu (Nobuyoshi Nakada)
06:43 AM Feature #8976: file-scope freeze_string directive
It seems (for me) frozen string literals are good trade-off between current Ruby (every string is mutable) and immuta... matz (Yukihiro Matsumoto)
02:06 AM Feature #9970: Add `Hash#map_keys` and `Hash#map_values`
No, you don't have to. We will take care. Thank you for the proposal.
Matz.
matz (Yukihiro Matsumoto)
01:58 AM Feature #9970: Add `Hash#map_keys` and `Hash#map_values`
Just to be clear, are you saying you would prefer that I edit the patch so that the methods are named #transform_keys... seantheprogrammer (Sean Griffin)

09/21/2015

09:01 PM Bug #11543 (Closed): Run Rinda/DRb tests on localhost
Resolved by r51916. vo.x (Vit Ondruch)
11:43 AM Bug #11543 (Closed): Run Rinda/DRb tests on localhost
I am trying to setup Ruby CI workers using Fedora's Jenkins instance [1, 2]. Unfortunately, the Rinda/DRb tests typic... vo.x (Vit Ondruch)
07:28 PM Revision 0e84f98d (git): * test/drb/test_drb.rb: Run Rinda/DRb tests on localhost. [Fix GH-1027]
patch by voxik.
* test/rinda/test_rinda.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51916...
Masatoshi SEKI
03:46 PM Revision 4dcdbb4a (git): win32ole.c: fix symbol condition
* ext/win32ole/win32ole.c (fole_missing): fix symbol condition,
rb_check_symbol returns Qnil when the symbol is not...
nobu (Nobuyoshi Nakada)
03:31 PM Revision 8676596d (git): * 2015-09-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:29 PM Revision 5563173a (git): win32ole.c: inadvertent symbol creation
* ext/win32ole/win32ole.c (GetIDsOfNames, fole_missing): avoid
inadvertent symbol creation.
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
02:52 PM Revision 288fa8da (git): win32ole.c: refactor
* ext/win32ole/win32ole.c (ole_wc2mb): refactor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51912 b2dd03c8-39...
nobu (Nobuyoshi Nakada)
02:40 PM Revision 068394a7 (git): win32ole.c: make ole_mb2wc more generic
* ext/win32ole/win32ole.c (ole_vstr2wc): use ole_mb2wc.
* ext/win32ole/win32ole.c (ole_mb2wc): parametrize code page...
nobu (Nobuyoshi Nakada)
02:35 PM Revision 5deaacb0 (git): win32ole.c: constified
* ext/win32ole/win32ole.c (vtEventSink): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51910 b2dd03c...
nobu (Nobuyoshi Nakada)
12:29 PM Bug #11544 (Rejected): ArgumentError: Enumerable#to_set(klass, *args, &block) if specify *args.
~~~ruby
require "set"
[2,5,4,3,2,1,3].to_set(Set, 6, 7, 8) #=> ArgumentError
~~~
## Actual
~~~
/Users/torif...
torifuku.kaiou (Osamu Yamauchi)
12:00 PM Feature #11539: Support explicit declaration of volatile instance variables
The costs for MRI would be minimal even in the future, because this is a very conservative approach to providing visi... headius (Charles Nutter)
11:57 AM Bug #11540: Certificate error (for minitest?)
It breaks on rubyci.org all builds:
http://rubyci.s3.amazonaws.com/debian/ruby-trunk/log/20150921T093002Z.log.html...
vo.x (Vit Ondruch)
11:54 AM Revision 929c9a81 (git): * 2015-09-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:53 AM Revision d3b3eff1 (git): test_win32ole_event.rb: fix typo [ci skip]
* test/win32ole/test_win32ole_event.rb: fix typo.
swbemsink_avairable? => swbemsink_available? [Fix GH-1025]
git-...
nobu (Nobuyoshi Nakada)
09:36 AM Bug #11486: euc-jpな文字列に対してgsubするとSEGVします
code_to_mbc() がエラーを返す原因について調べてみました。
String#gsub の内部で呼び出される forward_search_range() は、内部で reg->optimize の値によって呼び出す関数...
wanabe (_ wanabe)
05:46 AM Feature #11530: unicode planes
Eike Dierks wrote:
> Back then, there was ASCII, 7bit.
> ruby2 does allow for the use of unicode characters throu...
duerst (Martin Dürst)
04:11 AM Bug #11542 (Closed): Zlib::DataError: incorrect data check
When I trying to send HTTP POST, I am getting follolwing Error
Zlib::DataError: incorrect data check
/usr/local...
lingaraj (Lingaraj Kothokatta)

09/20/2015

03:37 PM Feature #11541 (Closed): Let attr_accessor, _reader & _writer return symbols of the defined methods
Since Ruby 2.1, `def` returns a symbol with the name of the just defined method, so you can easily pass it to visibil... iGEL (Johannes Barre)
06:58 AM Bug #11540 (Closed): Certificate error (for minitest?)
With the command 'make up', I get the following error.
Downloading bundled gem files...
power_assert-0.2.4.gem al...
duerst (Martin Dürst)
01:37 AM Feature #11539: Support explicit declaration of volatile instance variables
Charles Nutter wrote:
> # RISKS
>
> There is risk that the new `Module#volatile` would conflict with some libra...
duerst (Martin Dürst)
01:17 AM Revision 6177abcb (git): string.c: separate resetting code range
* string.c (rb_str_setbyte): separate resetting code range by each
code range, and remove unnecessary branches.
gi...
nobu (Nobuyoshi Nakada)
01:07 AM Revision 9bc67e1e (git): cont.c: append to continuations doc [ci skip]
* cont.c (rb_callcc): [DOC] append continuations example accros
methods. [Fix GH-1026]
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom