Project

General

Profile

Activity

From 10/21/2015 to 10/27/2015

10/27/2015

11:00 PM Feature #11627 (Assigned): make `nonzero` an alias of `nonzero?`
for historic reasons `nonzero?` returns self or nil. (according to https://bugs.ruby-lang.org/issues/9123)
I like ...
Anonymous
10:21 PM Bug #11626: fprintf in c extension keep adding memory usage
[email protected] wrote:
> `fprintf` will keep adding memory usage without releasing it.
>
> I was doin...
normalperson (Eric Wong)
09:43 PM Bug #11626 (Rejected): fprintf in c extension keep adding memory usage
`fprintf` will keep adding memory usage without releasing it.
I was doing it in rails console, not sure if it mak...
ygc (GC Yang)
09:41 PM Feature #11625: Unlock GVL for SHA1 calculations
Hi Eric,
Thanks for the feedback. I've updated the patch will your suggestions. Thank you!
sha1.h exports SHA...
tenderlovemaking (Aaron Patterson)
09:18 PM Feature #11625: Unlock GVL for SHA1 calculations
[email protected] wrote:
> --- a/ext/digest/digest.c
> +++ b/ext/digest/digest.c
> @@ -624,6 +624,7 @@ rb_...
normalperson (Eric Wong)
07:34 PM Feature #11625 (Open): Unlock GVL for SHA1 calculations
I'm trying to calculate many sha1 checksums, but the current sha1 implementation doesn't unlock the GVL, so I can't d... tenderlovemaking (Aaron Patterson)
09:00 PM Revision e5747f3e (git): * lib/rinda/ring.rb: Linux's SO_REUSEPORT is not for multicast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:51 PM Revision 3c59a221 (git): suppress warnings: assigned but unused variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:47 PM Revision a7e391d2 (git): solaris doesn't take http for handle_options
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:47 PM Revision 2d53edd9 (git): dumping core may take too much time for CI
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:18 PM Revision 75a9a6ee (git): * 2015-10-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:18 PM Revision 9f951393 (git): ENV['MAKE'] is prior than ENV['make']
some CI uses ENV['MAKE'] to specify gmake
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52309 b2dd03c8-39d4-4d8f...
naruse (Yui NARUSE)
05:28 PM Bug #11603: Count trace_running for internal event
Commenting here just to confirm that this change fixes the SEGVs that [this patch](https://github.com/deivid-rodrigue... deivid (David Rodríguez)
04:26 PM Feature #11624 (Rejected): ERB deserves its own commenting token
## Problem
- ERB is a DSL but commenting out code is not the easy workflow feature in ERB that it is in other lang...
Adamantish (Adam Misrahi)
03:33 PM Bug #11623 (Closed): BUG] Segmentation fault at 0x00000000000000 ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]
Ruby crashed right after I interrupted the rspec process. arnlen (Arnaud Lenglet)
03:23 PM Bug #11492: TracePoint API report extra return for defined method
Backported into `ruby_2_2` branch at r52308. nagachika (Tomoyuki Chikanaga)
03:23 PM Revision 0518d299 (git): merge revision(s) 51713: [Backport #11492]
* vm.c (hook_before_rewind): prevent kicking :return event while
finishing vm_exec func because invoke_bloc...
nagachika (Tomoyuki Chikanaga)
02:51 PM Bug #11591: ruby won't build on OS X 10.5 — libunwind.h not available
Backported into `ruby_2_2` branch at r52307. nagachika (Tomoyuki Chikanaga)
02:50 PM Revision 6834de6b (git): merge revision(s) 52124: [Backport #11591]
* configure.in: check for libunwind.h, which is not available in
very old OS X SDK. [ruby-core:71080] [Bug...
nagachika (Tomoyuki Chikanaga)
02:36 PM Revision 303abc5a (git): test_marshal.rb: test_no_internal_ids
* test/ruby/test_marshal.rb (test_no_internal_ids): test for
r52304, no internal IDs should be exposed by Marshal.d...
nobu (Nobuyoshi Nakada)
02:34 PM Bug #11543: Run Rinda/DRb tests on localhost
Backported into `ruby_2_2` branch at r52305. nagachika (Tomoyuki Chikanaga)
02:34 PM Revision edb7a6e2 (git): merge revision(s) 51916: [Backport #11543]
* test/drb/test_drb.rb: Run Rinda/DRb tests on localhost. [Fix GH-1027]
patch by voxik.
* test/rin...
nagachika (Tomoyuki Chikanaga)
02:31 PM Feature #11537: Introduce "Safe navigation operator"
I don't think `u && .profile && .thumbnails && .large` is acceptable for some reasons:
* it's longer
* unclear
...
matz (Yukihiro Matsumoto)
12:45 PM Feature #11537: Introduce "Safe navigation operator"
Rodrigo Rosenfeld Rosas wrote:
> Everyday learning a new hidden feature from Ruby ;)
Me too. Ruby has infinite p...
mame (Yusuke Endoh)
12:31 PM Feature #11537: Introduce "Safe navigation operator"
Thanks for pointing me that. Everyday learning a new hidden feature from Ruby ;) rosenfeld (Rodrigo Rosenfeld Rosas)
12:24 PM Feature #11537: Introduce "Safe navigation operator"
"?." is a valid code. Try: `p ?. + "foo"`
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
12:07 PM Feature #11537: Introduce "Safe navigation operator"
I believe you are referring to implementation details and in this case I can't really opinionate, but with regards to... rosenfeld (Rodrigo Rosenfeld Rosas)
12:01 PM Feature #11537: Introduce "Safe navigation operator"
Rodrigo Rosenfeld Rosas wrote:
> ~~~
> u ?.profile ?.thumbnails ?.large || default
> ~~~
Consider a method `+`....
mame (Yusuke Endoh)
11:47 AM Feature #11537: Introduce "Safe navigation operator"
On the other hand, the problem with using "u?.profile" is that "u?" is a valid method, but if Ruby required an space ... rosenfeld (Rodrigo Rosenfeld Rosas)
09:13 AM Feature #11537: Introduce "Safe navigation operator"
Thomas Sawyer wrote:
> In this way is more an extension of the ternary operator -- the initial dot on the method sig...
DerKobe (Philip Claren)
02:14 PM Revision 6964c063 (git): id.def: anonymous IDs
* defs/id.def: enable anonymous IDs not to expose internal IDs for
frozen-string-literal-debug by Marshal.dump.
gi...
nobu (Nobuyoshi Nakada)
01:01 PM Revision 6c2afd62 (git): add ticket number [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:01 PM Revision 9088990f (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:00 PM Revision 1054fd6a (git): fix filename [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:17 AM Bug #11621: Date.- and Date.+ methods inconsistencies
Right, that is clear now for me.
Thanks for explaining.
I don't know how to close the bug, so whomever has access...
andreionut (Andrei Balcanasu)
02:45 AM Bug #11621: Date.- and Date.+ methods inconsistencies
If you were use `-w` option, you were warned.
~~~
$ ruby -wc -e 'Date.today -7' -e 'now = Date.today' -e 'p now -...
nobu (Nobuyoshi Nakada)
12:51 AM Bug #11621 (Rejected): Date.- and Date.+ methods inconsistencies
Andrei Balcanasu wrote:
> Good point, but this still does not explain why in some cases ` -7` works:
>
> ```ruby
...
shugo (Shugo Maeda)
08:58 AM Feature #11607: [PATCH] fiddle: release GVL for ffi_call
Yes, user must check if the function is MT-safe. Probably fine
for most library functions...

Maybe releasing GV...
normalperson (Eric Wong)
08:43 AM Feature #11607: [PATCH] fiddle: release GVL for ffi_call
Calling function is really always MT-safe?
The user of fiddle must check whether the function is MT-safe and maintai...
naruse (Yui NARUSE)
08:06 AM Revision 2ce7328d (git): id.def: internal IDs
* defs/id.def: move internal IDs for frozen-string-literal-debug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
07:41 AM Revision caada48e (git): error.c: suppress warnings
* error.c (rb_error_frozen_object): use rb_attr_get instead of
rb_ivar_get to get rid of warnings for string object...
nobu (Nobuyoshi Nakada)
07:34 AM Revision 3f682c2c (git): Add binmode for Tempfile to prevent EOF (0x1A)
http://ruby-mswin.cloudapp.net/vc10-x64/ruby-trunk/log/20151023T062322Z.log.html.gz
git-svn-id: svn+ssh://ci.ruby-la...
naruse (Yui NARUSE)
07:30 AM Bug #10686: Memory leaking from torture test of symbol GC
Applied at r52140. nagachika (Tomoyuki Chikanaga)
07:18 AM Bug #11622 (Closed): Logger weekly rotation should rename old logs as "Saturday"
Applied in changeset r52297.
----------
logger.rb: end of week should be Saturday
* lib/logger.rb (Logger::Period#p...
nobu (Nobuyoshi Nakada)
03:43 AM Bug #11622 (Closed): Logger weekly rotation should rename old logs as "Saturday"
logger.rbで weekly rotation を指定したとき、日曜日での書き込みでログファイルが切り替えられますが、古いログファイル名に着く日付が前週の金曜日のものになっていますが、土曜日のものになるべきではないでしょうか。
...
nobu (Nobuyoshi Nakada)
07:18 AM Revision 6df21cb4 (git): logger.rb: end of week should be Saturday
* lib/logger.rb (Logger::Period#previous_period_end): as weekly
rotation shifts the log file on Sundays, the end da...
nobu (Nobuyoshi Nakada)
07:13 AM Revision 17e5dff2 (git): * vm_dump.c (rb_print_backtrace): our addr2line doesn't work on sparc.
http://rubyci.s3.amazonaws.com/unstable11s/ruby-trunk/log/20151027T043311Z.log.html.gz
git-svn-id: svn+ssh://ci.ruby...
naruse (Yui NARUSE)
04:21 AM Bug #11544 (Rejected): ArgumentError: Enumerable#to_set(klass, *args, &block) if specify *args.
This is not a bug. Extra arguments are reserved for Set's subclasses. knu (Akinori MUSHA)
03:47 AM Bug #11544 (Assigned): ArgumentError: Enumerable#to_set(klass, *args, &block) if specify *args.
nagachika (Tomoyuki Chikanaga)
03:49 AM Revision ec4ba1b7 (git): proc.c: remove rb_block_clear_env_self
* proc.c (rb_block_clear_env_self): removed as deprecated at
r52129.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
03:07 AM Bug #11572 (Closed): Urnary operator causing references to unreachable objects in 2.1.x ?
naruse (Yui NARUSE)
03:05 AM Bug #11572: Urnary operator causing references to unreachable objects in 2.1.x ?
r45576 usa (Usaku NAKAMURA)
02:34 AM Bug #11572: Urnary operator causing references to unreachable objects in 2.1.x ?

I can confirm that this happens in the latest 2.1.x tag and that applying 2f3b28c682fe3010ed3b8803199616c12b52512d ...
halogenandtoast (Matthew Mongeau)
03:01 AM Bug #11620 (Closed): Logger throws "ArgumentError: argument out of range" with weekly rotation when switch to standard time (DST) and last day of the week is 1st of next month
Applied in changeset r52293.
----------
logger.rb: fix weekly rotation
* lib/logger.rb (Logger::Period#next_rotate_...
nobu (Nobuyoshi Nakada)
03:01 AM Revision 6b78bfcf (git): * 2015-10-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 AM Revision e8c00b70 (git): logger.rb: fix weekly rotation
* lib/logger.rb (Logger::Period#next_rotate_time): get rid of
adding to mday not to exceed the days of the month.
...
nobu (Nobuyoshi Nakada)
02:59 AM Bug #11542 (Feedback): Zlib::DataError: incorrect data check
Hello, Lingaraj.
It seems that the response contains invalid byte-stream or the content encoding was wrongly detec...
nagachika (Tomoyuki Chikanaga)

10/26/2015

09:27 PM Feature #11607: [PATCH] fiddle: release GVL for ffi_call
Nevermind. I did misinterpret your code. I'm ok either.
kosaki (Motohiro KOSAKI)
08:18 PM Feature #11607: [PATCH] fiddle: release GVL for ffi_call
KOSAKI Motohiro <[email protected]> wrote:
> On Tue, Oct 20, 2015 at 6:28 PM, <[email protected]> wrot...
normalperson (Eric Wong)
08:28 AM Feature #11607: [PATCH] fiddle: release GVL for ffi_call
On Tue, Oct 20, 2015 at 6:28 PM, <[email protected]> wrote:
> Issue #11607 has been updated by Eric Wong.
>
...
kosaki (Motohiro KOSAKI)
05:59 PM Bug #11621: Date.- and Date.+ methods inconsistencies
Those examples are not ambiguous. `Date.today -7` *is* ambiguous because `Date.today` takes an optional argument spec... 0x0dea (D.E. Akers)
05:41 PM Bug #11621: Date.- and Date.+ methods inconsistencies
Good point, but this still does not explain why in some cases ` -7` works:
```ruby
now = Date.today
=> #<Date: 2...
andreionut (Andrei Balcanasu)
04:21 PM Bug #11621: Date.- and Date.+ methods inconsistencies
This has nothing to do with `Date` in particular; observe:
```ruby
def foo n = nil
n || 48
end
p foo-6 #...
0x0dea (D.E. Akers)
03:59 PM Bug #11621 (Rejected): Date.- and Date.+ methods inconsistencies
I noticed today some inconsistencies when using `-` and `+` methods of the `Date` class, that makes the whitespace re... andreionut (Andrei Balcanasu)
03:41 PM Bug #11620: Logger throws "ArgumentError: argument out of range" with weekly rotation when switch to standard time (DST) and last day of the week is 1st of next month
Local timezone is CET (Europe/Germany/Berlin) emrox (Stefan Bauckmeier)
12:58 PM Bug #11620 (Feedback): Logger throws "ArgumentError: argument out of range" with weekly rotation when switch to standard time (DST) and last day of the week is 1st of next month
What timezone are you using? nobu (Nobuyoshi Nakada)
11:49 AM Bug #11620 (Closed): Logger throws "ArgumentError: argument out of range" with weekly rotation when switch to standard time (DST) and last day of the week is 1st of next month
We discovered a bug within the Ruby Logger. Having 'weekly' as Argument for shift_age in this year (2015) when return... emrox (Stefan Bauckmeier)
02:51 PM Revision 6160e4b9 (git): logger.rb: exact matching
* lib/logger.rb ({next,previous}_rotate_time): dispatch by exact
matching shift_age instead of regexp matching.
gi...
nobu (Nobuyoshi Nakada)
02:51 PM Revision aeb88f01 (git): logger.rb: freeze constants
* lib/logger.rb: freeze constant strings and array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52291 b2dd03c8...
nobu (Nobuyoshi Nakada)
01:58 PM Feature #11537: Introduce "Safe navigation operator"
Yehuda Katz wrote:
> As shorthand for:
>
> ~~~
> u && u.profile && u.profile.thumbnails && u.profile.thumbnails....
rosenfeld (Rodrigo Rosenfeld Rosas)
01:28 PM Feature #11537: Introduce "Safe navigation operator"
What does sole `.profile` do?
If it requires `&&` just before it, a space should not be between them.
nobu (Nobuyoshi Nakada)
12:25 PM Feature #11537: Introduce "Safe navigation operator"
Yukihiro Matsumoto wrote:
> I like the idea. My remaining concern is ".?" is too similar to "?." which is chosen by ...
wycats (Yehuda Katz)
05:10 AM Feature #11537: Introduce "Safe navigation operator"
Yukihiro Matsumoto wrote:
> I like the idea. My remaining concern is ".?" is too similar to "?." which is chosen by ...
trans (Thomas Sawyer)
01:43 PM Revision 0a74709e (git): Add string argument test cases
* test/ruby/test_module.rb (test_method_defined): Add test cases
for `public/protected/private _method_defined?`
...
nobu (Nobuyoshi Nakada)
01:43 PM Revision 4a6dff84 (git): Replace tab with 8 spaces [Fix GH-1068]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:23 PM Revision 05bf12f7 (git): Grammatical fixes [ci skip]
* lib/racc/rdoc/grammar.en.rdoc: Grammatical errors fixed.
[Fix GH-1070]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
01:10 PM Misc #11548 (Closed): FileUtils#remove_tailing_slash is a poor method name
hsbt (Hiroshi SHIBATA)
09:38 AM Revision 9b425061 (git): * vm_method.c(rb_method_entry_make):
[DOC] [ci skip] Remove a needless space from comment
[Fixes GH-1069] Patch by @yui-knk
git-svn-id: svn+ssh://ci.ru...
sorah (Sorah Fukumori)
08:47 AM Revision 727f2971 (git): clear https_proxy
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:30 AM Revision d7908f9a (git): * lib/fileutils.rb: rename tailing to trailing.
[Misc #11548]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
08:11 AM Revision 506e50b4 (git): parse.y: fix ripper
* parse.y (call_op, call_op2): fix values on ripper. [Feature #11537]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
07:05 AM Revision 59093eb3 (git): fix commit miss [ci skip]
* ChangeLog: remove duplicated entry, caused by a conflict.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52283 ...
nobu (Nobuyoshi Nakada)
03:55 AM Revision 603b000d (git): parse.y: call_op2
* parse.y (call_op2): separate from call_op and also allow "::",
while dot_or_colon should not allow ".?". [Featur...
nobu (Nobuyoshi Nakada)

10/25/2015

04:08 PM Revision 42a0bf55 (git): * 2015-10-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:07 PM Revision f2d679c7 (git): * thread_pthread.c: fix compile erros when
USE_SLEEPY_TIMER_THREAD is disabled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52280 b2dd03c8-39d4-4d8f-98ff...
Rei Odaira
02:34 PM Bug #11619 (Closed): IO documentation typo
Applied in changeset r52279.
----------
io.c: fix typo [ci skip]
* io.c (io_readpartial): fix typo, "later" to "lat...
nobu (Nobuyoshi Nakada)
06:27 AM Bug #11619 (Closed): IO documentation typo
IO documentation has the phrase "The later means that readpartial...".
typo: later -> latter
jeremywohl (Jeremy Wohl)
02:34 PM Revision 67c4c4a0 (git): io.c: fix typo [ci skip]
* io.c (io_readpartial): fix typo, "later" to "latter".
[ruby-core:71181] [Bug #11619]
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
07:54 AM Revision 55e68f0e (git): test_io.rb: assert_separately
* test/ruby/test_io.rb (test_dup_many, test_set_lineno): use
assert_separately for more descriptive messages.
git-...
nobu (Nobuyoshi Nakada)
07:47 AM Revision 7d95b96e (git): fix conditions to setrlimit
* test/ruby/test_io.rb (test_dup_many): limit FD only if possible.
* test/ruby/test_process.rb (assert_fail_too_long...
nobu (Nobuyoshi Nakada)
01:12 AM Revision 1a98528c (git): symbol.c: dotq in ripper
* symbol.c (op_tbl): add DOTQ for ripper. [Feature #11537]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52276 ...
nobu (Nobuyoshi Nakada)
12:43 AM Revision 898fd2ed (git): use rb_check_arity [ci skip]
* ext: use rb_check_arity and rb_error_arity to raise
ArgumentError. [Feature #9025]
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
12:39 AM Revision 94bdb010 (git): update document [ci skip]
* error.c (ArgumentError): [DOC] update document following
[Feature #9025]
* proc.c (proc_call, proc_curry): [DOC]...
nobu (Nobuyoshi Nakada)

10/24/2015

06:21 PM Revision b78b66a9 (git): use rlimit_nproc other than Windows
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:36 PM Revision a5301722 (git): * 2015-10-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:36 PM Revision 7ef4dccc (git): 0.1 second is not enough for FreeBSD
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:51 PM Feature #11599: Dump entries of hash in ObjectSpace
What is the status of the patch? Is this ok? something to fix? yosiat (Yosi Attias)
03:17 PM Bug #11618: Safe call syntax with aref or aset is
I am not going to add safe navigation for aref and aset.
Maybe you can use `a.?[](x)` (method call of an operator).
...
matz (Yukihiro Matsumoto)
07:21 AM Bug #11618 (Rejected): Safe call syntax with aref or aset is
This test pass
```ruby
# ruby -v: ruby 2.3.0dev (2015-10-24 trunk 52128) [x86_64-darwin14]
# test/ruby/test_call...
yui-knk (Kaneko Yuichiro)
01:51 PM Revision 5d5315ad (git): * configure.in: fixed build failure of Haiku.
[fix GH-984] Patch by @kallisti5
* ext/socket/getaddrinfo.c: ditto.
* ext/socket/getnameinfo.c: ditto.
* ext/socket/r...
hsbt (Hiroshi SHIBATA)
12:16 PM Revision 96ff94c9 (git): relax error message format
* test/fileutils/test_fileutils.rb (test_uptodate): relax error
message format. [Feature #9025], [ruby-core:71178]...
nobu (Nobuyoshi Nakada)
12:14 PM Bug #9760 (Open): mkmf does not allow for linking against custom libraries when a system library is present
Reverted r45640 at r52267. Hmm... sorah (Sorah Fukumori)
12:11 PM Bug #9760 (Closed): mkmf does not allow for linking against custom libraries when a system library is present
Applied in changeset r52267.
----------
* lib/mkmf.rb: Revert r45640 because it may lead to link
with different li...
sorah (Sorah Fukumori)
12:11 PM Revision 623403fa (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:10 PM Revision d9bf31cc (git): * lib/mkmf.rb: Revert r45640 because it may lead to link
with different libruby. [Bug #9760]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52267 b2dd03c8-39d4-4d8f-98ff-...
sorah (Sorah Fukumori)
07:35 AM Revision 136b5b75 (git): vm_method.c: remove common code
* vm_method.c (rb_undef): remove code almost common to proc.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@522...
nobu (Nobuyoshi Nakada)
06:42 AM Bug #11617 (Closed): Fix tests for Feature 9025
Applied in changeset r52265.
----------
relax error message format
* bootstraptest/test_method.rb: relax error mess...
nobu (Nobuyoshi Nakada)
03:49 AM Bug #11617 (Closed): Fix tests for Feature 9025
I tried to fix the tests for this, too, but I didn't find them anywhere, sorry. Or just tell me where they are, so th... duerst (Martin Dürst)
06:42 AM Revision e0ed0012 (git): relax error message format
* bootstraptest/test_method.rb: relax error message format.
* test/ruby/test_arity.rb (err_mess): ditto.
[Feature #...
nobu (Nobuyoshi Nakada)
03:48 AM Feature #9025 (Closed): Clarify the error message when calling a method with the wrong number of arguments
Applied in changeset r52264.
----------
vm_insnhelper.c: improved error message for "wrong number
of arguments", dis...
duerst (Martin Dürst)
03:47 AM Revision 927e18b3 (git): vm_insnhelper.c: improved error message for "wrong number
of arguments", distinguishing given and expected argument
numbers clearly. [Feature #9025]
git-svn-id: svn+ssh://ci...
duerst (Martin Dürst)
03:01 AM Revision 05b18ac1 (git): * vm_insnhelper.c: remove the typedef redeclaration of
vm_call_handler.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)

10/23/2015

11:54 PM Revision 880f7151 (git): common.mk: remove extra slash
* common.mk (incs): remove extra slash before
vm_call_iseq_optimized.inc. as nmake vpath syntax includes a
separ...
nobu (Nobuyoshi Nakada)
11:37 PM Revision a8b56b9e (git): common.mk: vm_call_iseq_optimized.inc
* common.mk (incs): generate vm_call_iseq_optimized.inc too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52261...
nobu (Nobuyoshi Nakada)
10:41 PM Revision 11ec42e3 (git): parse.y: canonical name
* parse.y (parser_magic_comment): intern canonical name.
InstructionSequence.compile_options are case-sensitive whi...
nobu (Nobuyoshi Nakada)
10:29 PM Bug #11616 (Closed): Forwardable fails to adjust backtrace when Forwardable is not reachable from the target class
Applied in changeset r52259.
----------
forwardable.rb: full qualify names
* lib/forwardable.rb (def_instance_deleg...
nobu (Nobuyoshi Nakada)
10:29 PM Bug #11616: Forwardable fails to adjust backtrace when Forwardable is not reachable from the target class
I think that backtrace cleanup should be removed as well as delegate.rb, [Bug #11461]. nobu (Nobuyoshi Nakada)
09:17 PM Bug #11616 (Closed): Forwardable fails to adjust backtrace when Forwardable is not reachable from the target class
as follows:
```
$ cat t.rb
require "forwardable"
class Foo < BasicObject
extend ::Forwardable
def_del...
wanabe (_ wanabe)
10:29 PM Revision 4e1ee809 (git): forwardable.rb: full qualify names
* lib/forwardable.rb (def_instance_delegator, def_single_delegator):
match backtraces against ::Forwardable in case...
nobu (Nobuyoshi Nakada)
07:13 PM Revision 92d5da52 (git): * iseq.c (make_compile_option_value): include frozen_string_literal*
in a made option value.
* vm_opts.h: forgot to add OPT_FROZEN_STRING_LITERAL_DEBUG
at last commit.
git-svn-id:...
ko1 (Koichi Sasada)
07:02 PM Revision 54716fe7 (git): * ruby.c: introduce --enable-frozen-string-literal-debug option.
If this option is enabled, the modify error will be:
can't modify frozen String (RuntimeError) =>
can't modif...
ko1 (Koichi Sasada)
05:53 PM Revision 31f21aed (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:53 PM Revision 593cf11a (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:53 PM Revision f9697c56 (git): * vm_insnhelper.c: introduce new call handler for simple ISeqs.
vm_call_iseq_setup_normal_0start() is simple, however it has
some loops/conditions depends on ISeq::param.size and
...
ko1 (Koichi Sasada)
05:00 PM Revision 1e060032 (git): * vm_core.h: define vm_call_handler.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:57 PM Revision 9e1b06e1 (git): * vm_core.h, vm_insnhelper.h: move definition of VMDEBUG
from vm_insnhelper.h to vm_core.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52252 b2dd03c8-39d4-4d8f-98ff...
ko1 (Koichi Sasada)
04:53 PM Revision 1b5dce5a (git): * NEWS: [DOC] In the new safe call syntax, arguments are evaluated
only if a call is made.
* doc/syntax/calling_methods.rdoc: Fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
Akinori MUSHA
03:41 PM Bug #11615 (Closed): Forwardable fails to adjust backtrace when Exception is defined in the target class
Applied in changeset r52249.
----------
* lib/forwardable (def_instance_delegator, def_single_delegator):
rescue :...
shugo (Shugo Maeda)
03:36 PM Bug #11615 (Closed): Forwardable fails to adjust backtrace when Exception is defined in the target class
Forwardable fails to adjust backtrace when Exception is defined in the target class as follows:
```
$ cat t.rb
r...
shugo (Shugo Maeda)
03:41 PM Revision 4daa1cf7 (git): * 2015-10-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:41 PM Revision 8c8e17d4 (git): * lib/forwardable (def_instance_delegator, def_single_delegator):
rescue ::Exception instead of Exception in case Exception is
defined under the target class.
[ruby-core:71175] [R...
shugo (Shugo Maeda)
02:27 PM Revision f8a83d85 (git): error.c: use fake string
* error.c (name_err_mesg_to_str): use fake string as rb_str_format
does not require T_STRING to be cannonical VALUE...
nobu (Nobuyoshi Nakada)
12:10 PM Revision 5bf61f45 (git): error.c: separate class names
* error.c (name_err_mesg_to_str): separate class names from the
receiver description.
* vm_eval.c (make_no_method_e...
nobu (Nobuyoshi Nakada)
10:12 AM Bug #11596 (Closed): Getting [BUG] rb_vm_get_cref: unreachable
sorry i missed #1 comment written by wanabe-san.
if it can be reproduced yet, please reopen this ticket.
ko1 (Koichi Sasada)
09:36 AM Bug #7758: Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
Has this patch been applied?
Because I'm getting pretty much the same crash on 32bit 2.1.7p400 running on Win7 64x...
arcandros (Vassilis Rizopoulos)
09:10 AM Revision e3b07883 (git): * .gitignore: ignored environmantal wrapper files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:55 AM Revision 00d8b1a8 (git): * lib/irb.rb: Ignored assignment of STDOUT.sync = true
when irb.rb loaded. It's affected to IDE such as Jetbrain.
[fix GH-864] Patch by @os97673
git-svn-id: svn+ssh://ci...
hsbt (Hiroshi SHIBATA)
07:35 AM Bug #11513 (Closed): IPAddr should reject invalid formats
Applied in changeset r52244.
----------
* lib/ipaddr.rb, test/test_ipaddr.rb: Reject invalid address contained
EOL...
hsbt (Hiroshi SHIBATA)
07:35 AM Revision 2cd1f852 (git): * lib/ipaddr.rb, test/test_ipaddr.rb: Reject invalid address contained
EOL string. Patch by @kachick [fix GH-942][Bug #11513]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52244 b2dd0...
hsbt (Hiroshi SHIBATA)
07:07 AM Revision 2697fb49 (git): ChangeLog: adjust indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:03 AM Revision 5fdee2f8 (git): * file.c: fix indent style. [fix GH-977]
* test/ruby/test_string.rb: indent. [fix GH-975]
[ci skip] These patches are contributed from @yui-knk
git-svn-id: s...
hsbt (Hiroshi SHIBATA)
06:46 AM Revision 26cd2da7 (git): * string.c: Added method signature to include hash. It's inconsistency
with `gsub` method signature.
[ci skip][fix GH-1023] Patch by @danielevans
git-svn-id: svn+ssh://ci.ruby-lang.org/...
hsbt (Hiroshi SHIBATA)
06:29 AM Revision e0ea5e90 (git): * lib/net/imap.rb: remove an empty comment line and -*-.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
06:23 AM Revision 3eabc555 (git): * lib/net/ftp.rb (gettextfile, getbinaryfile): use the safe
navigation operator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
04:51 AM Revision 1d3c0763 (git): test_call.rb: add tests
* test_call.rb (test_safe_call): Add test cases for safe
navigation operator assignment. [Fix GH-1064]
Validate:...
nobu (Nobuyoshi Nakada)
03:58 AM Feature #11537: Introduce "Safe navigation operator"
Thanks for the thoughtful replies guys! That definitely helps clarify the `.?` operator
Matthew Kerwin wrote:
> On ...
treznick (Tom Reznick)
02:58 AM Revision ae8f8fdd (git): compile.c: optimize method chain
* compile.c (iseq_peephole_optimize): optimize lengthy safe
navigation method chain. [Feature #11537]
git-svn-id:...
nobu (Nobuyoshi Nakada)
02:09 AM Revision 4f9ded5c (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:09 AM Revision d07ce082 (git): * lib/matrix/eigenvalue_decomposition.rb (tridiagonalize): fix
indentation to avoid a warning when the command line option -w of
ruby is specified.
* lib/matrix/eigenvalue_decom...
shugo (Shugo Maeda)
01:49 AM Revision 0b7d4737 (git): safe navigation attrset
* compile.c (iseq_compile_each): support safe navigation of simple
attribute assignment. [Feature #11537]
* parse....
nobu (Nobuyoshi Nakada)
01:47 AM Revision 7e730322 (git): compile.c: just insert
* compile.c (compile_massign_lhs): just insert topn insn instead
of popping and adding. [Feature #11537]
git-svn-...
nobu (Nobuyoshi Nakada)

10/22/2015

11:48 PM Feature #9025: Clarify the error message when calling a method with the wrong number of arguments
On 23 October 2015 at 07:51, <[email protected]> wrote:

> Issue #9025 has been updated by Martin Dürst.
>
...
phluid61 (Matthew Kerwin)
09:51 PM Feature #9025: Clarify the error message when calling a method with the wrong number of arguments
Matthew Kerwin wrote:
> duerst (Martin Dürst) wrote:
> > Ruby is all about making it easier for the programmer. E...
duerst (Martin Dürst)
09:11 AM Feature #9025: Clarify the error message when calling a method with the wrong number of arguments
"(expected: 1, provided: 0)" is excellent. This is a big usability issue. Python's message is similar, and includes t... robb (Robb Shecter)
11:42 PM Revision 418fa65d (git): NEWS: add a space
* NEWS: fix wording, "Active Support" has a space in between the
words, not ActiveSupport.
https://github.com/rub...
nobu (Nobuyoshi Nakada)
10:25 PM Revision d4fd2fb0 (git): test/io/wait/test_io_wait.rb (test_wait_eof): test return value
I wrote some code which relies on this nowadays, but Ruby <=2.2
and earlier behaved differently...
git-svn-id: svn+s...
Eric Wong
09:28 PM Feature #11537: Introduce "Safe navigation operator"
On 23/10/2015 2:46 AM, <[email protected]> wrote:
>
> Issue #11537 has been updated by Jeremy Evans.
...
phluid61 (Matthew Kerwin)
04:45 PM Feature #11537: Introduce "Safe navigation operator"
Tom Reznick wrote:
> Hi,
>
> I think we may have found some unexpected behavior with the `.?` operator.
>
> If...
jeremyevans0 (Jeremy Evans)
04:34 PM Feature #11537: Introduce "Safe navigation operator"
I know this is already decided and the commit is out there, but since you are adding new syntax and a new feature to ... asterite (Ary Borenszweig)
04:29 PM Feature #11537: Introduce "Safe navigation operator"
Hi,
I think we may have found some unexpected behavior with the `.?` operator.
If I call the following:
...
treznick (Tom Reznick)
06:30 AM Feature #11537 (Closed): Introduce "Safe navigation operator"
Applied in changeset r52214.
----------
Safe navigation operator
* compile.c (iseq_peephole_optimize): peephole opt...
nobu (Nobuyoshi Nakada)
08:54 PM Feature #11614 (Closed): [RFC] use id_table for constant tables
ref: [ruby-core:71142] [ruby-core:71151]
I'm not sure if using rb_class_name in object.c is enough to prevent
bre...
normalperson (Eric Wong)
08:36 PM Revision d737d576 (git): NEWS: fix typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
05:55 PM Feature #11181: Add a line directive to Ruby
The pull request is now at https://github.com/ruby/ruby/pull/911 gam3 (Allen Morris)
04:55 PM Bug #11613 (Closed): test_aspawn_too_long_path creates too many processes
Applied in changeset r52229.
----------
Add rlimit_nproc to avoid to create many process [Bug #11613]
naruse (Yui NARUSE)
04:52 PM Bug #11613 (Closed): test_aspawn_too_long_path creates too many processes
At least on FreeBSD, spawn("echo|echo|echo|echo|echo|echo|echo| ...20000 times") success and create 20000 zombie proc... naruse (Yui NARUSE)
04:54 PM Revision 7b90b137 (git): Add rlimit_nproc to avoid to create many process [Bug #11613]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:54 PM Bug #11369 (Closed): Check length of selected NPN protocol
Applied in changeset r52227.
----------
* ext/openssl/ossl_ssl.c (ssl_npn_select_cb): explicitly raise error
in ex...
naruse (Yui NARUSE)
04:54 PM Revision b5f2b5e1 (git): ALPN also uses the same logic [Bug #11369]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:54 PM Revision d7d779b5 (git): * ext/openssl/ossl_ssl.c (ssl_npn_select_cb): explicitly raise error
in ext/openssl instead of OpenSSL itself because LibreSSL
silently truncate the selected protocol name by casting t...
naruse (Yui NARUSE)
03:51 PM Revision e4d925bf (git): * lib/un.rb (help): change the name of a block parameter to avoid
a warning when the command line option -w of ruby is specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52...
shugo (Shugo Maeda)
03:22 PM Revision bcc07ef4 (git): fix backslash [ci skip]
* string.c (rb_str_tr): [DOC] Escape backslash in String#tr
documentation. [Fix GH-1063]
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
03:19 PM Revision 77a952d1 (git): adjust spaces [ci skip]
* array.c (rb_ary_collect): [DOC] Fix space of code example of
Array#map. [Fix GH-1062]
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
03:00 PM Revision 439c3e23 (git): * 2015-10-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision b471c9d3 (git): limit the number of FDs in a process for stress test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:56 PM Revision 29a1905c (git): common.mk: showflags only once
* common.mk (showflags): do not show flags from recursive make.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52...
nobu (Nobuyoshi Nakada)
02:31 PM Bug #11604 (Rejected): Ruby's interpreting hash symbol keys as parts of Ruby syntax
Yes, it's your bug. nobu (Nobuyoshi Nakada)
01:19 PM Bug #11604: Ruby's interpreting hash symbol keys as parts of Ruby syntax
That is true but IMHO it should still be considered as a bug. maciej.mensfeld (Maciej Mensfeld)
11:43 AM Bug #11604 (Feedback): Ruby's interpreting hash symbol keys as parts of Ruby syntax
Maciej Mensfeld wrote:
> Cannot initialize hashes with some Ruby reserved keywords like: while, until, if, unless, d...
shugo (Shugo Maeda)
02:02 PM Revision be8a9db5 (git): colorize
* tool/generic_erb.rb: use VT100 sequence if tput does not work.
* tool/ifchange: ditto and add --color option.
git...
nobu (Nobuyoshi Nakada)
01:53 PM Bug #11611 (Closed): uncommon.mk:853: recipe for target '.revision.time' failed
Applied in changeset r52219.
----------
ifchange: ignore error
* tool/ifchange: do not exit by -e even if tput fail...
nobu (Nobuyoshi Nakada)
10:05 AM Bug #11611 (Open): uncommon.mk:853: recipe for target '.revision.time' failed
Reopened, because I still get an error, as follows:
~~~
$ make up; make install-nodoc
Updating '.':
At revision...
duerst (Martin Dürst)
08:56 AM Bug #11611 (Closed): uncommon.mk:853: recipe for target '.revision.time' failed
Applied in changeset r52215.
----------
generic_erb.rb: ignore error
* tool/generic_erb.rb: ignore error that tput ...
nobu (Nobuyoshi Nakada)
06:45 AM Bug #11611 (Closed): uncommon.mk:853: recipe for target '.revision.time' failed
When trying to compile Ruby trunk with
`make up; make install-nodoc`
I get the following errors:
~~~
$ make up;...
duerst (Martin Dürst)
01:53 PM Revision 35957b76 (git): ifchange: ignore error
* tool/ifchange: do not exit by -e even if tput failed.
[ruby-core:71143] [Bug #11611]
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
12:12 PM Feature #10181: New method File.openat()
Technorama Ltd. wrote:
> The proposed Dir api must provide a way to open both files and directories in order to be u...
shugo (Shugo Maeda)
10:53 AM Bug #10031: Net::IMAP idle can still block a thread forever.
I've added a new argument `timeout` for Net::IMAP#idle to solve this problem.
For example, the following code chec...
shugo (Shugo Maeda)
09:32 AM Bug #10031 (Closed): Net::IMAP idle can still block a thread forever.
Applied in changeset r52216.
----------
* lib/net/imap (idle): add a new argument timeout for keep-alive.
[ruby-co...
shugo (Shugo Maeda)
09:58 AM Feature #11498 (Closed): Kernel#loop: return the "result" value of StopIteration
Applied in changeset r52218.
----------
Kernel#loop returns the result value of a finished iterator
* vm_eval.c (rb...
knu (Akinori MUSHA)
09:58 AM Revision f4c48717 (git): Kernel#loop returns the result value of a finished iterator
* vm_eval.c (rb_f_loop): When a loop is stopped by a StopIteration
exception, return what the enumerator has return...
Akinori MUSHA
09:32 AM Revision 53d6e605 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:32 AM Revision 68fc350a (git): * lib/net/imap (idle): add a new argument timeout for keep-alive.
[ruby-core:63693] [Bug #10031]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52216 b2dd03c8-39d4-4d8f-98ff-823fe...
shugo (Shugo Maeda)
09:12 AM Misc #11295: Request for comments about error messages
See also "Clarify the error message when calling a method with the wrong number of arguments", https://bugs.ruby-lang... robb (Robb Shecter)
08:48 AM Misc #11295: Request for comments about error messages
Koichi Sasada wrote:
>
> If you have any idea, please tell us.
> We can consider about Ruby's error message APIs ...
robb (Robb Shecter)
08:42 AM Misc #11295: Request for comments about error messages
Thanks for starting this discussion!
> And some requests.
>
> * Reverse backtrace and show error messages at th...
robb (Robb Shecter)
08:56 AM Revision 30b839a0 (git): generic_erb.rb: ignore error
* tool/generic_erb.rb: ignore error that tput is not found.
[ruby-core:71143] [Bug #11611]
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
08:54 AM Feature #11612 (Closed): The default mode of Net::FTP should be passive
The default mode of Net::FTP is active for historical reasons, but it should be changed to passive
because active da...
shugo (Shugo Maeda)
06:30 AM Revision a356fe1c (git): Safe navigation operator
* compile.c (iseq_peephole_optimize): peephole optimization for
branchnil jumps.
* compile.c (iseq_compile_each): g...
nobu (Nobuyoshi Nakada)
06:25 AM Revision 5a599dde (git): generic_erb.rb: highlight
* tool/generic_erb.rb: highlight result messages too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52213 b2dd03...
nobu (Nobuyoshi Nakada)
04:16 AM Bug #11609 (Closed): Dir.glob brace expansion possible edge case
Applied in changeset r52212.
----------
dir.c: glob brace expansion [Fix GH-1061]
* dir.c (ruby_brace_expand): glob...
nobu (Nobuyoshi Nakada)
12:56 AM Bug #11609 (Closed): Dir.glob brace expansion possible edge case
I found an edge case of Dir.glob that don't work as i was expecting, and as my shell works.
It may happens on eve...
guilhermereiscampos (Guilherme Reis Campos)
04:16 AM Revision ff3288fe (git): dir.c: glob brace expansion [Fix GH-1061]
* dir.c (ruby_brace_expand): glob brace expansion edge case fix.
When there are closing braces '}' before a open br...
nobu (Nobuyoshi Nakada)
04:14 AM Bug #11610 (Closed): Segfault when assigning to ARGV
Applied in changeset r52211.
----------
io.c: check ARGV element type
* io.c (argf_next_argv): check ARGV element t...
nobu (Nobuyoshi Nakada)
01:17 AM Bug #11610 (Closed): Segfault when assigning to ARGV
This causes a segfault:
~~~
seq 3 | ruby -ne 'ARGV[$.]=$_'
~~~
These similar ones don't:
~~~
seq 3 | ruby...
josh.cheek (Josh Cheek)
04:13 AM Revision 66e41cbe (git): io.c: check ARGV element type
* io.c (argf_next_argv): check ARGV element type, and try
conversion if necessary. [ruby-core:71140] [Bug #11610]
...
nobu (Nobuyoshi Nakada)
02:21 AM Revision 23419d85 (git): * 2015-10-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:21 AM Revision 19110fe1 (git): * test/net/ftp/test_ftp.rb: add tests for getbinaryfile and
gettextfile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)

10/21/2015

11:33 PM Feature #11537: Introduce "Safe navigation operator"
Marc-Andre Lafortune wrote:
> Just to be clear, this will check only for `nil`, right?
I think so, and my implem...
nobu (Nobuyoshi Nakada)
07:29 PM Feature #11537: Introduce "Safe navigation operator"
Great!
Just to be clear, this will check only for `nil`, right?
nil.?foo # => nil
false.?foo # => NoM...
marcandre (Marc-Andre Lafortune)
10:20 AM Feature #11537: Introduce "Safe navigation operator"
Great news! Thanks! Is this going to be released on next minor or on Ruby 3 only? rosenfeld (Rodrigo Rosenfeld Rosas)
08:05 AM Feature #11537: Introduce "Safe navigation operator"
Oh, I made mistake. We will introduce `.?` (typo fixed already). matz (Yukihiro Matsumoto)
07:45 AM Feature #11537: Introduce "Safe navigation operator"
In several languages (Groovy Swift etc.), use `?.` but we cannot use it in Ruby, because `foo?` is a valid method nam... matz (Yukihiro Matsumoto)
08:38 PM Feature #11415: autoload with a Proc
[email protected] wrote:
> > I hate autoload. autoload is one of things I regret. I'm not positive about enhancing...
normalperson (Eric Wong)
12:53 PM Feature #11415: autoload with a Proc
> I hate autoload. autoload is one of things I regret. I'm not positive about enhancing something I hate.
-- matz in...
matz (Yukihiro Matsumoto)
12:48 PM Feature #11498: Kernel#loop: return the "result" value of StopIteration
I like the idea. If anything bad happens by the patch, I'd love to accept this.
Matz.
matz (Yukihiro Matsumoto)
09:34 AM Feature #8976 (Closed): file-scope freeze_string directive
Applied in changeset r52208.
----------
parse.y: magic comment w/o indicators
* parse.y (parser_magic_comment): all...
nobu (Nobuyoshi Nakada)
02:57 AM Feature #8976 (Assigned): file-scope freeze_string directive
Benoit Daloze wrote:
> Yusuke Endoh wrote:
> > Does nobu seriously require all Rubyists to write codes like this? ...
shugo (Shugo Maeda)
09:34 AM Revision a76fdea9 (git): parse.y: magic comment w/o indicators
* parse.y (parser_magic_comment): allow a sole magic comment without
indicators, neither other non-space comments. ...
nobu (Nobuyoshi Nakada)
08:06 AM Feature #11034 (Closed): Nil Conditional
We will introduce `.?` #11537 which address this proposal.
Matz.
matz (Yukihiro Matsumoto)
07:16 AM Revision 5fe69193 (git): Makefile.in: tty at reconfig
* aclocal.m4 (_COLORIZE_RESULT_PREPARE): force tty for reconfig.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5...
nobu (Nobuyoshi Nakada)
12:36 AM Revision 21494036 (git): * 2015-10-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:35 AM Revision de2d4510 (git): extconf.rb: strict_warnflags
* ext/date/extconf.rb: add strict warning flags same as ruby
itself for C99 option.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom