Project

General

Profile

Activity

From 09/12/2015 to 09/18/2015

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)

09/17/2015

10:41 PM Revision 02bb538c (git): * 2015-09-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:40 PM Revision 3b90363f (git): * ext/objspace/objspace_dump.c (obj_type): add IMEMO types to the heap
dump information.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
09:02 PM Feature #11517: Queue enhancement - conditional pop
Yura Sokolov wrote:
> Why don't you use separate queue with separate worker? It will solve your use case.
>
> Eve...
jonathanscruz (Jonathan Cruz)
08:40 PM Feature #11518: Queue enhancement - promote! and promote_all!
Yura Sokolov wrote:
> First: you forgot to lock queue. Multithreading will bite you.
>
> Second: if you want cust...
jonathanscruz (Jonathan Cruz)
05:57 PM Feature #11529: extensible % literal declarations
I like the idea. Though, I guess it will be hard to agree with the definition syntax and precise semantics.
> and...
mame (Yusuke Endoh)
04:55 PM Feature #11534: Circular assignment / method shadowing unexpected behavior
Then consider it a feature request ;) First evaluate the righthand side, then make the variable. tsmith (Tim Smith)
04:55 AM Feature #11534 (Rejected): Circular assignment / method shadowing unexpected behavior
Assignment statements make variables. nobu (Nobuyoshi Nakada)
04:15 PM Bug #11514: AIX6.1 - Ruby 2.2.3 - Segmentation fault in :byteslice
I've got a different crash in the same place.
The .spec file does have the `export LDR_CNTRL=MAXDATA=0x80000000` .
...
TRex58 (Tony Reix)
03:23 PM Bug #11533: AIX6.1 - Ruby 2.2.3 - TestMkmf::TestConvertible#test_typeof_builtin fails
Tony Reix wrote:
> And, in order to understand the issues, I need to go inside the test: display more details, or un...
nobu (Nobuyoshi Nakada)
11:10 AM Bug #11533: AIX6.1 - Ruby 2.2.3 - TestMkmf::TestConvertible#test_typeof_builtin fails
Nobuyoshi Nakada wrote:
> `configure` with `cflags=-qsuppress=1506-434` may work.
Yes. That works. However, it is...
TRex58 (Tony Reix)
07:16 AM Bug #11533: AIX6.1 - Ruby 2.2.3 - TestMkmf::TestConvertible#test_typeof_builtin fails
`configure` with `cflags=-qsuppress=1506-434` may work. nobu (Nobuyoshi Nakada)
07:06 AM Bug #11533 (Feedback): AIX6.1 - Ruby 2.2.3 - TestMkmf::TestConvertible#test_typeof_builtin fails
Tony Reix wrote:
> ~~~
> "/opt/freeware/src/packages/BUILD/ruby-2.2.3-xlc/include/ruby/ruby.h", line 614.16: 1506-4...
nobu (Nobuyoshi Nakada)
02:12 PM Revision 391b8c32 (git): tabify indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:12 PM Revision 6df966af (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:33 PM Revision 8f688497 (git): * common.mk: fix command error with outside builddir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:42 AM Revision 3d86c473 (git): * common.mk: separated test for test-framework from test-all task.
They should be invoke at first before tests of test-all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51888 b2d...
hsbt (Hiroshi SHIBATA)
08:24 AM Revision e9edce8e (git): id_table.h: include guard
* id_table.h (RUBY_ID_TABLE_H): add include guard.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51887 b2dd03c8-...
nobu (Nobuyoshi Nakada)
04:57 AM Bug #11535 (Rejected): inaccessable keyword arg names are allowed
Yes, exactly `local_variable_get` is introduced for that purpose. nobu (Nobuyoshi Nakada)
02:37 AM Bug #11535 (Rejected): inaccessable keyword arg names are allowed
```ruby
foo(for: 1)
end
```
`foo` param can not be accessed directly (without `local_variable_get`) since it's ...
bughit (bug hit)
03:21 AM Revision ae05ae33 (git): * test/ruby/test_dir.rb (TestDir#test_fileno): s/?x/"x"/. Don't
use tricky code, please.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
01:02 AM Revision 76da19cf (git): * 2015-09-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:01 AM Revision 80e386e9 (git): id_table.c: fix types
* id_table.c (insert_into_chain, insert_into_main): fix argument
types in prototype declarations.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)

09/16/2015

11:18 PM Feature #11534 (Rejected): Circular assignment / method shadowing unexpected behavior
~~~ruby
def foo
1
end
puts foo + 1
bar = foo + 1
puts bar
foo = foo + 1
puts foo
~~~
~~~
# EXPEC...
tsmith (Tim Smith)
03:47 PM Bug #11533: AIX6.1 - Ruby 2.2.3 - TestMkmf::TestConvertible#test_typeof_builtin fails
The issue appears only when compiling with XLC.
~~~
XLC: 1 tests, ** 7** assertions,** 1 failures**, 0 errors, 0 ...
TRex58 (Tony Reix)
03:01 PM Bug #11533 (Closed): AIX6.1 - Ruby 2.2.3 - TestMkmf::TestConvertible#test_typeof_builtin fails
AIX6.1 - Ruby 2.2.3
The following test fails (constantly):
~~~
./miniruby -I./lib -I. -I.ext/common ./tool/r...
TRex58 (Tony Reix)
12:14 PM Revision 7ed700d2 (git): vm_core.h: revert VM objspace on Windows
* vm_core.h (ENABLE_VM_OBJSPACE): disable now, as socklist and
conlist will be freed exit_handler(), after object s...
nobu (Nobuyoshi Nakada)
11:53 AM Revision a2dce5c6 (git): * encindex.h: fix typo of last #endif comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
11:40 AM Bug #11532 (Closed): private_constant works after module is frozen
Applied in changeset r51881.
----------
variable.c: fail if frozen
* variable.c (set_const_visibility): fail if the...
nobu (Nobuyoshi Nakada)
08:23 AM Bug #11532 (Closed): private_constant works after module is frozen
... and it probably should not allow for changing constant visibility since others such as `const_set` honour `freeze... kares (Karol Bucek)
11:39 AM Revision dfa9eb54 (git): variable.c: fail if frozen
* variable.c (set_const_visibility): fail if the class/module is
frozen. [ruby-core:70828] [Bug #11532]
git-svn-i...
nobu (Nobuyoshi Nakada)
08:18 AM Revision c3a48736 (git): vm_core.h: enable VM objspace on Windows
* vm_core.h (ENABLE_VM_OBJSPACE): enable per-VM object space on
Windows by default, as rb_w32_sysinit() no longer d...
nobu (Nobuyoshi Nakada)
08:15 AM Revision 077e2037 (git): ruby.h: RUBY_FL_PROMOTED
* include/ruby/ruby.h (ruby_fl_type): revive RUBY_FL_PROMOTED for
.gdbinit.
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
06:58 AM Revision 11b804fe (git): [DOC] Remove `\0` since it's aprt of octal notation
A typo is fixed while at it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51878 b2dd03c8-39d4-4d8f-98ff-823fe69...
Akinori MUSHA
06:31 AM Revision 5ac401c8 (git): [DOC] `\0` is interpreted as NUL only if not followed by an octal digit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
06:21 AM Revision 2b89d63e (git): literals.rdoc: add DEL [ci skip]
* doc/syntax/literals.rdoc (Strings): [DOC] add DEL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51876 b2dd03c...
nobu (Nobuyoshi Nakada)
06:16 AM Revision 6989f241 (git): [DOC] Revise the character literal part.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
06:03 AM Revision d23857e5 (git): [DOC] Document the full list of supported escape sequences in string literals
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
05:50 AM Revision 965d8241 (git): string.c: keep coderange
* string.c (rb_str_setbyte): keep the code range as possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5187...
nobu (Nobuyoshi Nakada)
05:31 AM Revision 22190b3f (git): literals.rdoc: fix typos
* doc/syntax/literals.rdoc (Strings): fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51872 b2dd03c8-39...
nobu (Nobuyoshi Nakada)
04:24 AM Revision 35947f6d (git): * doc/syntax/literals.rdoc (Strings): mention about ?a literal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:19 AM Revision 06ca0b67 (git): * dir.c (glob_helper): check pathtype once again by lstat(2) if
dp->d_type is DT_UNKNOWN. XFS may return DT_UNKNOWN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51870 b2dd03c...
kosaki (Motohiro KOSAKI)
03:17 AM Bug #11531 (Rejected): IPAddr#== implements wrong logic
# Description
IPAddr#== should implement the logic of comparison of two IPAddr instances. This generally means that ...
panasyuk (Aleksander Panasyuk)
02:06 AM Feature #11530 (Feedback): unicode planes
Eike Dierks wrote:
> This might also apply to the uppercase greek letters,
> which are commonly used in mathematica...
nobu (Nobuyoshi Nakada)
01:01 AM Feature #11529 (Feedback): extensible % literal declarations
Eike Dierks wrote:
> - in my faint memory, old ruby versions were rumoured to parse %sqfooq => "foo"
> but this ...
nobu (Nobuyoshi Nakada)
12:18 AM Bug #11528 (Rejected): Possible parsing bug. Possibly just confusing.
nobu (Nobuyoshi Nakada)

09/15/2015

10:16 PM Feature #11530 (Feedback): unicode planes
Back then, there was ASCII, 7bit.
We are somehow still stuck to this.
All the parsing still is stuck in that ol...
eike.rb (Eike Dierks)
09:07 PM Feature #11529 (Feedback): extensible % literal declarations
The ruby syntax provides for declaring literals by using the % escapes:
- %q(foo) => 'foo'
- %Q(foo) => "foo"
- ...
eike.rb (Eike Dierks)
09:01 PM Bug #11496 (Closed): Mutex#synchronize testing code should be data race.
committed at r51868. kosaki (Motohiro KOSAKI)
06:28 PM Bug #11496: Mutex#synchronize testing code should be data race.
inserting sleep is unacceptable because sleep invokes volunteer context switch and changes a meaning and a purpose of... kosaki (Motohiro KOSAKI)
08:00 PM Bug #11526: Streaming HTTP requests are not idempotent and should not be retried
Attaching a new diff based on Trevor's branch with a few additional test fixes.
All HTTP-related tests pass, but s...
tdg5 (Danny Guinther)
05:42 PM Bug #11526: Streaming HTTP requests are not idempotent and should not be retried
Trevor Rowe (https://github.com/trevorrowe) also proposed the following PR on GitHub to address this issue on June 30... tdg5 (Danny Guinther)
07:24 PM Revision 8e177fca (git): * 2015-09-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:23 PM Revision bb79c011 (git): * test/ruby/test_thread.rb (TestThread#test_mutex_synchronize):
insert waste loop for invoking preemptive thread context switch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5...
kosaki (Motohiro KOSAKI)
06:49 PM Bug #11528: Possible parsing bug. Possibly just confusing.
I'm realizing this is probably intentional: http://blog.plataformatec.com.br/2014/07/ruby-blocks-precedence/
It lo...
olleicua (Antha Auciello)
06:36 PM Bug #11528 (Rejected): Possible parsing bug. Possibly just confusing.
Not sure if this is intentional behavior but I found it confusing:
code:
~~~ruby
def render(args)
p args.to...
olleicua (Antha Auciello)
05:46 PM Feature #11527 (Assigned): IPAddr#mask_addr isn't a method
Right now there's no way to get the current value of an IP address's mask from an IPAddr instance. While there's an i... foca (Nicolás Sanguinetti)
03:43 PM Bug #11514: AIX6.1 - Ruby 2.2.3 - Segmentation fault in :byteslice
Tony Reix wrote:
> Now, I will clean and rerun the test that makes the core appear, **WITH** export LDR_CNTRL=MAXDAT...
TRex58 (Tony Reix)
10:07 AM Bug #11514: AIX6.1 - Ruby 2.2.3 - Segmentation fault in :byteslice
Rei Odaira wrote:
> I discussed this with Tony using emails, and it turned out that it was due to the default size l...
TRex58 (Tony Reix)
01:49 AM Bug #11514: AIX6.1 - Ruby 2.2.3 - Segmentation fault in :byteslice
I think that `NoMemoryError` must raise in such case.
Where does the failure occur?
You can run ruby with `gdb` by ...
nobu (Nobuyoshi Nakada)
12:10 AM Bug #11514: AIX6.1 - Ruby 2.2.3 - Segmentation fault in :byteslice
I discussed this with Tony using emails, and it turned out that it was due to the default size limit in memory alloca... ReiOdaira (Rei Odaira)
10:38 AM Revision abbd3884 (git): gc.c: define objspace functions always
* gc.c (rb_objspace_alloc, rb_objspace_free): define always
regardless ENABLE_VM_OBJSPACE, and free heap pages.
gi...
nobu (Nobuyoshi Nakada)
10:06 AM Feature #10594: Comparable#clamp
It's just that String#<=> is not consistent with String#succ but indeed it's not so much of a problem here. Eregon (Benoit Daloze)
09:48 AM Feature #10594: Comparable#clamp
Benoit Daloze wrote:
> Good luck explaining the precise semantics of clamp on String though.
IMO it's not that ha...
nerdinand (Ferdinand Niedermann)
09:42 AM Feature #10594: Comparable#clamp
Hans Mackowiak wrote:
> Motohiro KOSAKI wrote:
> > I really dislike using Comparable for this method because clamp ...
Eregon (Benoit Daloze)
05:24 AM Feature #10594: Comparable#clamp
Motohiro KOSAKI wrote:
> I really dislike using Comparable for this method because clamp is NOT kind of compare. If ...
Hanmac (Hans Mackowiak)
06:15 AM Revision 70b2af3b (git): win32.c: no xmalloc at sys_init
* win32/win32.c (rb_w32_sysinit, rb_w32_readdir): compare by
encoding index to get rid of encoding initialization b...
nobu (Nobuyoshi Nakada)
06:06 AM Revision 2046f38a (git): dir.c: fundamental_encoding_p
* dir.c (fundamental_encoding_p, push_glob): compare by encoding
index immediately.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
06:03 AM Revision 9c9d555e (git): win32.c: encindex.h
* win32/win32.c: needs encindex.h for encoding indexes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51864 b2dd...
nobu (Nobuyoshi Nakada)
05:57 AM Revision 89fb3746 (git): localeinit.c: encindex.h
* localeinit.c: needs encindex.h for ENCINDEX_US_ASCII and
ENCINDEX_ASCII.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
05:49 AM Revision 75a1d33b (git): enc: fundamental encindex
* enc/{ascii,us_ascii,utf_8}.c: set encoding indexes of
fundamental built-in encodings so that usable as well as
...
nobu (Nobuyoshi Nakada)
05:49 AM Revision 078b6c98 (git): encindex.h: ENCINDEX
* encindex.h: separate encoding index constants from internal.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5...
nobu (Nobuyoshi Nakada)
04:13 AM Revision ca5c9084 (git): array.c: [DOC] correct Array#sort rdoc [ci skip]
* array.c (rb_ary_sort_bang, rb_ary_sort): [DOC] correct block
return values, which may be a negative or positive i...
nobu (Nobuyoshi Nakada)
03:49 AM Revision 5a0dc59a (git): array.c: [DOC] correct Array#sort rdoc [ci skip]
* array.c (rb_ary_sort_bang, rb_ary_sort): [DOC] Correct
description of array sort block return values. And also f...
nobu (Nobuyoshi Nakada)
03:45 AM Revision 072748b3 (git): * 2015-09-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:44 AM Revision a8994b16 (git): util.c: BSD qsort_r
* util.c (ruby_qsort): use BSD-style qsort_r if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51857 b...
nobu (Nobuyoshi Nakada)
03:07 AM Feature #11473: Immutable String literal in Ruby 3
Robert A. Heiler wrote:
> _ = ''
> _ << 'Hello '
> _ << 'World!'
>
> feels cleaner to me than thi...
duerst (Martin Dürst)
02:40 AM Bug #11522: URI::decode returns incorrectly encoding strings
Nobuyoshi Nakada wrote:
> It has no hints for encoding.
In theory, that's correct. In practice, there are several...
duerst (Martin Dürst)

09/14/2015

08:13 PM Feature #10594: Comparable#clamp
I really dislike using Comparable for this method because clamp is NOT kind of compare. If it is Numeric's method, I'... kosaki (Motohiro KOSAKI)
07:18 PM Bug #11526: Streaming HTTP requests are not idempotent and should not be retried
GitHub PR: https://github.com/ruby/ruby/pull/1019 tdg5 (Danny Guinther)
07:13 PM Bug #11526 (Closed): Streaming HTTP requests are not idempotent and should not be retried
Hello!
A colleague of mine ran into an issue today where he discovered that streaming HTTP requests made with Net:...
tdg5 (Danny Guinther)
06:40 PM Feature #11525 (Rejected): Add Module#used (refinement hook)
It is proposed that `Module#used` be invoked when a module participates in refinement, much like how the `Module#incl... 0x0dea (D.E. Akers)
10:27 AM Revision 5425099a (git): * lib/net/ftp.rb (parse_mlsx_entry): parse pathnames including
space correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
08:34 AM Bug #11521: [BUG] Segmentation fault at 0x00000000000418 ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
Tyrant Davis wrote:
> It returned the error:
> -bash: gpg: command not found
You need to install gpg, probably ...
nobu (Nobuyoshi Nakada)
06:28 AM Bug #11521: [BUG] Segmentation fault at 0x00000000000418 ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
Could you give 2.2.3 a try, just to have it easier for nobu to see if the error is different (or perhaps gone)? shevegen (Robert A. Heiler)
06:07 AM Revision cb1ff236 (git): common.mk: excluding options to test-ruby
* common.mk (yes-test-ruby): apply excluding options as well as
"test".
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
02:12 AM Revision 07dafa35 (git): Fix typo in racc english documentation [ci skip]
* lib/racc/rdoc/grammar.en.rdoc: [DOC] fix typo, "convertion" to
"conversion". [Fix GH-1016]
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
12:39 AM Bug #11470: extra parens required for if/unless/rescue modifier expressions in single arg method invocations
Nobuyoshi Nakada wrote:
> It's a spec.
What code would break if `foo(1 if true)` were valid?
None I would thin...
bughit (bug hit)

09/13/2015

04:43 PM Revision 50dff0a3 (git): * 2015-09-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:42 PM Revision 74365f93 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
05:08 AM Bug #11237: サブスレッドがすべて終了するとメインスレッドが割り込まれる。
バックポートの要望をした者です。
拡張ライブラリ側での回避はできないのですが、拡張ライブラリを使う側での回避は可能なので、プライオリティ低めで大丈夫だと思います。メインスレッドで行っていたタスクを新規スレッドで実行するように書き...
kubo (Takehiro Kubo)
02:03 AM Revision 1e3a1bbb (git): ruby.h: add prefix
* include/ruby/ruby.h: prefix RUBY or RB to global symbols to get
rid of name conflicts with other headers.
* inclu...
nobu (Nobuyoshi Nakada)
02:02 AM Revision 39dfa2f9 (git): configure.in: enum_over_int
* configure.in (enum_over_int): use ULLONG_MAX instead of
ULONG_LONG_MAX for portability.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
02:01 AM Revision a995195d (git): configure.in: enum_over_int
* configure.in (enum_over_int): check if enum over int is allowed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
12:58 AM Bug #11522 (Rejected): URI::decode returns incorrectly encoding strings
Firstly, `URI.unescape` is obsolete.
`CGI.unescape`, which sets the encoding to `@@accept_charset`, may work for you.
nobu (Nobuyoshi Nakada)
12:47 AM Revision ca48cc4a (git): * lib/net/ftp.rb (size, modify, create, type, unique, perm, lang,
media_type, charset): new methods to return standard facts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51848 ...
shugo (Shugo Maeda)

09/12/2015

06:48 PM Revision ddc58a86 (git): * 2015-09-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:47 PM Revision 163d436d (git): * vm_insnhelper.c (vm_call_iseq_setup_normal): do not clear local
variables here. vm_push_frame() clears.
* vm_insnhelper.c (vm_call_iseq_setup_tailcall): ditto.
* vm_insnhelper.c (vm...
ko1 (Koichi Sasada)
02:57 PM Bug #11522: URI::decode returns incorrectly encoding strings
I agree with you, nobu.
But, it should be ASCII-8BIT, not US-ASCII.
usa (Usaku NAKAMURA)
02:43 PM Bug #11522: URI::decode returns incorrectly encoding strings
It has no hints for encoding. nobu (Nobuyoshi Nakada)
02:13 PM Revision 1944eecb (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:12 PM Revision 52079677 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:09 PM Revision 2478c7bc (git): * lib/net/ftp.rb (file?, directory?, appendable?, creatable?,
deletable?, enterable?, renamable?, listable?, directory_makable?,
purgeable?, readable?, writable?): new methods.
...
shugo (Shugo Maeda)
12:29 PM Revision 2ec793ab (git): * lib/net/ftp.rb (FACT_PARSERS): support system dependent facts
UNIX.mode, UNIX.owner, UNIX.group, UNIX.ctime, and UNIX.atime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@518...
shugo (Shugo Maeda)
10:09 AM Revision f6d77bf5 (git): win32.c: fix dup2 return value
* win32/win32.c (rb_w32_dup2): should return the new fd on
success, while msvcrt returns 0 wrongly.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
09:49 AM Bug #11504 (Rejected): ruby 1.9.3p194 segfault on debian stable 7.x
Ruby 1.9 is EOL status. hsbt (Hiroshi SHIBATA)
09:19 AM Feature #11518: Queue enhancement - promote! and promote_all!
First: you forgot to lock queue. Multithreading will bite you.
Second: if you want custom behaviour why don't you ...
funny_falcon (Yura Sokolov)
09:16 AM Revision 777c7194 (git): * lib/net/ftp.rb (parse_mlsx_entry, mlst) raise an FTPProtoError
when parsing failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
09:14 AM Revision 8bb056a8 (git): ChangeLog: fix typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:08 AM Feature #11517: Queue enhancement - conditional pop
Why don't you use separate queue with separate worker? It will solve your use case.
Even if it is hard to separate...
funny_falcon (Yura Sokolov)
09:05 AM Revision 4782bdac (git): ChangeLog: drop non-ascii char [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:03 AM Revision 57785b16 (git): * lib/net/ftp.rb (TIME_PARSER): use "Z" instead of "00:00" to
get UTC time. Thanks, Wilson Bilkovich.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51837 b2dd03c8-39d4-4d8f-...
shugo (Shugo Maeda)
08:57 AM Revision 8b3d351f (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:57 AM Revision 8a97ffe0 (git): * lib/net/ftp.rb (mlst, mlsd): support new commands MLST and MLSD
specified in RFC 3659.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
08:35 AM Feature #11524 (Closed): Use TLS 1.2 to default version of OpenSSL
OpenSSL on trunk still use SSL version 3 with default option. but SSLv3 have some vulnerability.
I propose to use ...
hsbt (Hiroshi SHIBATA)
07:14 AM Revision d8459735 (git): * file.c: access()/eaccess() wrapping methods check more than just uid.
[fix GH-1007][ci skip] Patch by @eam
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51834 b2dd03c8-39d4-4d8f-98ff...
hsbt (Hiroshi SHIBATA)
07:07 AM Revision 2014b4d5 (git): * README.md: improve markdown rendering for readable.
[fix GH-1015][ci skip] Patch by @Matrixbirds
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51833 b2dd03c8-39d4-4...
hsbt (Hiroshi SHIBATA)
05:30 AM Revision 09cbe9d6 (git): process.c: do not inherit saved fds
* process.c (save_redirect_fd): make saved FDs close-on-exec not
to be inherited.
* process.c (run_exec_dup2): rest...
nobu (Nobuyoshi Nakada)
05:23 AM Revision f150a381 (git): win32.c: more fcntl
* win32/win32.c (fcntl): implement F_GETFD, F_SETFD, and
F_DUPFD_CLOEXEC.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)
04:48 AM Revision 78f7e342 (git): test_rational.rb: fix default external
* test/ruby/test_rational.rb (test_conv): fix default external
encoding, which affects inspect results.
git-svn-id...
nobu (Nobuyoshi Nakada)
01:29 AM Revision 7a0981fa (git): test_rational.rb: r51828
* test/ruby/test_rational.rb (test_conv): test for r51828,
encoding of exception message.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom