Project

General

Profile

Activity

From 09/18/2015 to 09/24/2015

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)

09/19/2015

11:04 PM Revision 6628cd6b (git): parse.y: simplify ripper_id2sym
* parse.y (ripper_id2sym): remove unnecessary comparison as
rb_ispunct has stricter condition, and cast explicitly ...
nobu (Nobuyoshi Nakada)
06:21 PM Revision bffa617d (git): * iseq.c (rb_iseq_free): free rb_iseq_t::body::cc_entries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:59 PM Revision d5ec9ec3 (git): * vm_core.h: split rb_call_info_t into several structs.
* rb_call_info (ci) has compiled fixed information.
* if ci->flag & VM_CALL_KWARG, then rb_call_info is
also rb...
ko1 (Koichi Sasada)
05:19 PM Revision 19499aae (git): * 2015-09-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:18 PM Revision c748ac98 (git): * test/lib/envutil.rb: mkfifo command based File.mkfifo method
definition removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:58 AM Feature #11523: optparse short options will match complete options
Modified code example `optiontest.rb`
~~~
require 'optparse'
require 'pp'
class OptparseExample
def self.p...
mjrk (Micha J)
06:40 AM Feature #11473: Immutable String literal in Ruby 3
Rodrigo Rosenfeld Rosas wrote:
> Hi Andrew, why mutating a string would change every other place the string is refer...
avit (Andrew Vit)
04:09 AM Feature #11537: Introduce "Safe navigation operator"
As per the discussion a few years ago in #8191, I'm +1 for `.?foo` syntax.
I still have a lingering question about...
phluid61 (Matthew Kerwin)
01:53 AM Revision b026a717 (git): iseq.h: rb_iseq_t
* iseq.h (rb_iseq_t): also should be defined here for prototype
declarations arguments.
* method.h (rb_iseq_t): ge...
nobu (Nobuyoshi Nakada)
01:49 AM Revision 71ed163f (git): * 2015-09-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:48 AM Revision 4f46dd03 (git): iseq.h, method.h: fix include guards [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

09/18/2015

09:53 PM Feature #11539: Support explicit declaration of volatile instance variables
If someone can fix the formatting I'd appreciate it. I don't know how. headius (Charles Nutter)
09:47 PM Feature #11539 (Open): Support explicit declaration of volatile instance variables
# SUMMARY
We seek to add a mechanism for explicitly declaring the volatility of a given instance variable and a fo...
headius (Charles Nutter)
04:31 PM Feature #11538: ensure variable syntax
`ensure => e` で e が受け取る値を明確に定義してください。ensureはいろいろな場合(正常終了、例外、throwなど)に呼ばれるので、それぞれのケースについてどうなるのかが気になります。
Matz.
matz (Yukihiro Matsumoto)
03:16 PM Feature #11538 (Feedback): ensure variable syntax

ensure の構文を拡張して、コンテキストの値を受け取れるようにする提案です。
rescue で例外オブジェクトを変数に受けて参照するのと同様に、ensure で結果のオブジェクトを参照します。
ensure '=>...
arimay (yasuhiro arima)
02:40 PM Feature #11473: Immutable String literal in Ruby 3
Hi Andrew, why mutating a string would change every other place the string is referenced? Wouldn't the string referen... rosenfeld (Rodrigo Rosenfeld Rosas)
05:38 AM Feature #11473: Immutable String literal in Ruby 3
Rodrigo Rosenfeld Rosas wrote:
> if the interpreter was run with the option '--allow-strings-to-mutate' it could the...
avit (Andrew Vit)
02:34 PM Feature #11537: Introduce "Safe navigation operator"
+1. Besides Groovy, CoffeeScript also allows that and I've used this feature a lot in my past days with Groovy and st... rosenfeld (Rodrigo Rosenfeld Rosas)
09:29 AM Feature #11537 (Closed): Introduce "Safe navigation operator"
I sometimes write following code with rails application:
```ruby
u = User.find(id)
if u && u.profile && u.profil...
hsbt (Hiroshi SHIBATA)
11:11 AM Feature #11536 (Closed): File.mkfifo
Applied in changeset r51897.
----------
file.c: File.mkfifo
* file.c (rb_file_s_mkfifo): implement File.mkfifo.
[...
nobu (Nobuyoshi Nakada)
08:14 AM Feature #11536: File.mkfifo
https://github.com/nobu/ruby/tree/feature/File.mkfifo nobu (Nobuyoshi Nakada)
08:12 AM Feature #11536: File.mkfifo
Test seems reasonable use-case. Accepted.
Matz.
matz (Yukihiro Matsumoto)
06:33 AM Feature #11536 (Closed): File.mkfifo
I'd like to add File.mkfifo.
It is useful for tests.
FIFO is tricky: open() can block.
So it is troublesome and...
akr (Akira Tanaka)
11:11 AM Revision 92895155 (git): file.c: File.mkfifo
* file.c (rb_file_s_mkfifo): implement File.mkfifo.
[Feature #11536]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
09:18 AM Bug #6258 (Feedback): String#succ has suprising behavior for "\u1036" (MYANMAR SIGN ANUSVARA), producing "\u1000" instead of "\u1037"
Some information gathered during today's commiters' meeting:
This is the relevant information from http://www.unicod...
duerst (Martin Dürst)
08:59 AM Feature #9970: Add `Hash#map_keys` and `Hash#map_values`
Hash#map_keys and Hash#map_values may cause confusion. They may have impression of collection of transformed {keys,va... matz (Yukihiro Matsumoto)
07:56 AM Revision 30f9177d (git): * NEWS: add Net::FTP#mlst and Net::FTP#mlsd.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
07:39 AM Bug #11514: AIX6.1 - Ruby 2.2.3 - Segmentation fault in :byteslice
Nobuyoshi Nakada wrote:
> If `dbx` can't handle `sigaltstack`, try `configure` with `--enable-debug-env` option and ...
TRex58 (Tony Reix)
02:02 AM Bug #11514: AIX6.1 - Ruby 2.2.3 - Segmentation fault in :byteslice
If `dbx` can't handle `sigaltstack`, try `configure` with `--enable-debug-env` option and run with environment variab... nobu (Nobuyoshi Nakada)
04:45 AM Revision 91efee1b (git): common.mk: no prefixes
* common.mk (yes-test-testframework): remove unnecessary test
directory prefixes.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
04:42 AM Revision f8a2398a (git): thread.c: suppress warnings only if GCC6+
* thread.c (rb_fd_no_init): suppress warnings by applying ASSUME
only if GCC 6 or lator, to get rid of freeze with ...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom