Project

General

Profile

Activity

From 10/15/2015 to 10/21/2015

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)

10/20/2015

10:28 PM Feature #11607: [PATCH] fiddle: release GVL for ffi_call
v2 fixes a warning I did not notice before, interdiff:
~~~
--- a/ext/fiddle/closure.c
+++ b/ext/fiddle/closure.c
...
normalperson (Eric Wong)
05:14 PM Bug #11598: Ruby crash when I run calabash-android
Hello, clint.
Could you provide full error messages in your command prompt?
nagachika (Tomoyuki Chikanaga)
02:40 PM Bug #11608 (Closed): test -t without fd
Applied in changeset r52204.
----------
test -t
* aclocal.m4, tool/ifchange: make the fd explict.
[ruby-dev:49311...
nobu (Nobuyoshi Nakada)
01:30 PM Bug #11608 (Closed): test -t without fd
r52202 で fd 指定なしの test -t を使っていますが、
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html
の RATIONALE...
znz (Kazuhiro NISHIYAMA)
02:40 PM Revision 2bb1e93d (git): test -t
* aclocal.m4, tool/ifchange: make the fd explict.
[ruby-dev:49311] [Bug #11608]
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
12:42 PM Bug #11602: Compile error on CentOS: Segmentation fault after "linking miniruby"
Some additional information. Version 2.2.3 didn't compiled with the same error message. But Ruby from the stable snap... Ruben_r (Ruben Ambarcumyanc)
10:40 AM Bug #11602: Compile error on CentOS: Segmentation fault after "linking miniruby"
ruby-2.1.7 # gdb miniruby core.17835
GNU gdb (GDB) CentOS (7.0.1-45.el5.centos)
Copyright (C) 2009 Free Software Fo...
Ruben_r (Ruben Ambarcumyanc)
10:27 AM Bug #11602: Compile error on CentOS: Segmentation fault after "linking miniruby"
(gdb) backtrace
#0 0x00002b739984f0bb in reserve_stack (limit=0x7fff44a7b0c0 <Address 0x7fff44a7b0c0 out of bounds>...
Ruben_r (Ruben Ambarcumyanc)
10:07 AM Bug #11603: Count trace_running for internal event
assigning ko1 at here too, because he has self-assigned at GitHub PR sorah (Sorah Fukumori)
07:15 AM Revision 96003bc9 (git): missing.h: fix condition
* include/ruby/missing.h (bytesequence4_or_float): define by
configured result.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
07:15 AM Revision e4879592 (git): highlight configure
* aclocal.m4 (COLORIZE_RESULT): highlight result messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52202 b...
nobu (Nobuyoshi Nakada)
03:23 AM Bug #11606: Prime.prime? should throw error on invalid inputs
Totally agree. I hope you'll find my fix acceptable.
Thanks for creating the issue
marcandre (Marc-Andre Lafortune)
03:20 AM Bug #11606 (Closed): Prime.prime? should throw error on invalid inputs
Applied in changeset r52201.
----------
* lib/prime.rb: Add basic argument checking to Prime.prime?
[Bug #11606]
marcandre (Marc-Andre Lafortune)
03:19 AM Revision 48773664 (git): * lib/prime.rb: Add basic argument checking to Prime.prime?
[Bug #11606]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
03:18 AM Feature #10354 (Closed): Optimize Integer#prime?
Applied in changeset r52200.
----------
* lib/prime.rb: Optimize Integer#prime?
Patch by Nick Slocum [Bug #10354]
marcandre (Marc-Andre Lafortune)
03:18 AM Revision 8744d516 (git): * lib/prime.rb: Optimize Integer#prime?
Patch by Nick Slocum [Bug #10354]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52200 b2dd03c8-39d4-4d8f-98ff-82...
Marc-Andre Lafortune

10/19/2015

11:24 PM Revision 49efa668 (git): * configure.in: pthread_getattr_np is broken on AIX.
More specifically, the stack address and size returned are
not correct.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
Rei Odaira
09:46 PM Feature #11607 (Closed): [PATCH] fiddle: release GVL for ffi_call
Some external functions I wish to call may take a long time
and unnecessarily block other threads. This may lead to...
normalperson (Eric Wong)
09:46 PM Bug #11606 (Closed): Prime.prime? should throw error on invalid inputs
irb(main):003:0> Prime.prime?(1,3)
=> false
irb(main):004:0> Prime.prime?(1.3)
=> false
irb(main):005:0> Prime.pr...
chaitanyav (NagaChaitanya Vellanki)
08:56 PM Revision cfa2f954 (git): ext/fiddle/closure.c (callback): static function
The `callback' function is not used outside of closure.c and
should not be able to cause namespace conflicts in compi...
Eric Wong
06:49 PM Feature #11599: Dump entries of hash in ObjectSpace
Yosi Attias wrote:
> Nobuyoshi Nakada wrote:
> > That distinction makes no sense.
> > Non-special-const objects (i...
yosiat (Yosi Attias)
06:28 PM Feature #11599: Dump entries of hash in ObjectSpace
Nobuyoshi Nakada wrote:
> That distinction makes no sense.
> Non-special-const objects (including `String`) are alw...
yosiat (Yosi Attias)
06:52 AM Feature #11599: Dump entries of hash in ObjectSpace
That distinction makes no sense.
Non-special-const objects (including `String`) are always shown in pointer referenc...
nobu (Nobuyoshi Nakada)
05:28 AM Feature #11599: Dump entries of hash in ObjectSpace
Nobuyoshi Nakada wrote:
> Yosi Attias wrote:
> > and to make sure there are no confusion some one did some like thi...
yosiat (Yosi Attias)
01:50 AM Feature #11599: Dump entries of hash in ObjectSpace
Yosi Attias wrote:
> and to make sure there are no confusion some one did some like this:
>
> ~~~ruby
> h = {add...
nobu (Nobuyoshi Nakada)
05:17 PM Feature #11605: Ruby should raise on def(a='a', b) [optional param that can't be used]
Oh, thanks. I had no idea on how to try this. I've tried a(, 'required'). Actually, I was reading a method like a(req... rosenfeld (Rodrigo Rosenfeld Rosas)
05:12 PM Feature #11605 (Rejected): Ruby should raise on def(a='a', b) [optional param that can't be used]
Why did not you try actually?
~~~
irb(main):001:0> def a(opt='opt',required)
irb(main):002:1> p [opt, required...
usa (Usaku NAKAMURA)
04:49 PM Feature #11605 (Rejected): Ruby should raise on def(a='a', b) [optional param that can't be used]
Why doesn't Ruby complain when defining a method like this?
~~~
def a(opt='opt', required)
end
~~~
I believe...
rosenfeld (Rodrigo Rosenfeld Rosas)
04:29 PM Revision 603cdc27 (git): check INFINITY and NAN without C99 option
* configure.in: check INFINITY and NAN without an option for C99
so that rb_infinity and rb_nan are respectively av...
nobu (Nobuyoshi Nakada)
04:28 PM Revision 9949407f (git): suppress a warning
* ext/socket/raddrinfo.c (rsock_fd_family): suppress a
sign-compare warning.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
03:55 PM Revision 61d51d9d (git): * 2015-10-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:55 PM Revision dba4adb5 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:54 PM Revision dca182f2 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:35 PM Bug #11604 (Rejected): Ruby's interpreting hash symbol keys as parts of Ruby syntax
Cannot initialize hashes with some Ruby reserved keywords like: while, until, if, unless, do. Can with other like cla... maciej.mensfeld (Maciej Mensfeld)
02:47 PM Bug #11603 (Closed): Count trace_running for internal event
https://github.com/ruby/ruby/pull/1059
I want to fix a crash: https://gist.github.com/k0kubun/86fd9fbff32423bd4974...
k0kubun (Takashi Kokubun)
02:15 PM Bug #11602: Compile error on CentOS: Segmentation fault after "linking miniruby"
Can't you show gdb backtrace? nobu (Nobuyoshi Nakada)
02:09 PM Bug #11602 (Rejected): Compile error on CentOS: Segmentation fault after "linking miniruby"
Hi,
I can't to compile Ruby 2.1.7 on the one of our servers:
configure:
ruby-2.1.7 # ./configure
...
checking ...
Ruben_r (Ruben Ambarcumyanc)
12:10 PM Bug #11601 (Closed): error: implicit declaration of function ‘ENC_GET’
Applied in changeset r52192.
----------
file.c: fix typos
* file.c (rb_file_expand_path_internal): fix typos.
[ru...
nobu (Nobuyoshi Nakada)
08:50 AM Bug #11601 (Closed): error: implicit declaration of function ‘ENC_GET’
When trying to compile Ruby trunk with
make up; make install-nodoc
I get the following errors:
compiling fil...
duerst (Martin Dürst)
12:10 PM Revision a3ac9d0b (git): file.c: fix typos
* file.c (rb_file_expand_path_internal): fix typos.
[ruby-core:71111] [Bug #11601]
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
06:25 AM Revision c92322b5 (git): objspace_dump.c: special const
* ext/objspace/objspace_dump.c: support special constant objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
01:34 AM Bug #11600 (Closed): indeterministic failures on socket operations when running out of file descriptors
Applied in changeset r52190.
----------
init.c: glibc bug
* ext/socket/init.c (rsock_raise_socket_error): get rid o...
nobu (Nobuyoshi Nakada)
01:34 AM Bug #11600: indeterministic failures on socket operations when running out of file descriptors
Accurately, it is not a bug but an intentional crash.
Citing from [`libdispatch-442.1.4/src/source.c`](https://ope...
nobu (Nobuyoshi Nakada)
12:48 AM Bug #11600: indeterministic failures on socket operations when running out of file descriptors
Erkki Eilonen wrote:
> Happens on OSX (10.10.5) as well (on 2.2.3 and earlier, presumably on latest 2_2 as well)
...
nobu (Nobuyoshi Nakada)
01:33 AM Revision 7594a993 (git): init.c: glibc bug
* ext/socket/init.c (rsock_raise_socket_error): get rid of a glibc
bug. [ruby-core:71100] [Bug #11600]
git-svn-id...
nobu (Nobuyoshi Nakada)

10/18/2015

05:18 PM Feature #11599: Dump entries of hash in ObjectSpace
Nobuyoshi Nakada wrote:
> Are `is_{key,value}_address` necessary?
Yes, If the key/value are composite objects (no...
yosiat (Yosi Attias)
01:24 PM Feature #11599: Dump entries of hash in ObjectSpace
Are `is_{key,value}_address` necessary?
nobu (Nobuyoshi Nakada)
04:30 PM Revision 3ef4dfdc (git): * 2015-10-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:29 PM Revision a01dfd47 (git): * file.c (rb_file_identical_p): not necessary to compare the paths after
comparing the file indexes on Windows. designate by kosaki.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5218...
U.Nakamura
03:02 PM Bug #11600: indeterministic failures on socket operations when running out of file descriptors
Motohiro KOSAKI wrote:
> In my system, getaddrinfo() return -11(EAI_SYSTEM) and errno=0. That seems glibc's bug.
> ...
erkkie (Erkki Eilonen)
01:07 PM Bug #11600: indeterministic failures on socket operations when running out of file descriptors
In my system, getaddrinfo() return -11(EAI_SYSTEM) and errno=0. That seems glibc's bug.
I guess this is related to h...
kosaki (Motohiro KOSAKI)
12:36 PM Bug #11600: indeterministic failures on socket operations when running out of file descriptors
Managed to get the testcase slightly simpler with a guaranteed ruby crash. tarmo_t (Tarmo Tänav)
10:24 AM Bug #11600 (Closed): indeterministic failures on socket operations when running out of file descriptors
We've been getting indeterministic failures on socket operations when running out of file descriptors, instead of the... erkkie (Erkki Eilonen)
02:59 PM Revision 0bb6bf24 (git): * ruby/test_require.rb (loading_fifo): checking by defined? is meaningless about
notimplemented method. such methods are defined, but not respond_to?. this
fixes test failures introduced at r521...
U.Nakamura
12:17 PM Revision 89db37cf (git): * lib/open-uri.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:21 AM Revision 4eba615a (git): disable warnings unless optimized
* include/ruby/ruby.h (rb_data_object_{wrap,get}): move
declarations inside ifdef too.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
05:53 AM Revision 6094ac4c (git): disable warnings unless optimized
* include/ruby/ruby.h (rb_data_object_{wrap,get,make}): warn only
if optimized, as __builtin_choose_expr() does not...
nobu (Nobuyoshi Nakada)
05:51 AM Revision 503752b1 (git): random.c: comment [ci skip]
* random.c (fill_random_bytes_urandom): fix comment typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52183 b...
nobu (Nobuyoshi Nakada)
05:46 AM Revision 0751bc3f (git): Revert r52180
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
05:43 AM Revision 6c060b2b (git): * random.c (fill_random_bytes_urandom): add a comment why using
O_NONBLOCK and O_NOCTTY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
05:42 AM Revision 47f0a8f9 (git): * random.c (fill_random_bytes_syscall): don't use GRND_NONBLOCK.
It is meaningless. If SYS_getrandom(GRND_NONBLOCK) return
EAGAIN, we eventually call fill_random_bytes_urandom() an...
kosaki (Motohiro KOSAKI)
05:42 AM Revision a4c6ad1d (git): * random.c (fill_random_bytes_syscall): use ATOMIC_SET() for
updating try_syscall.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
05:41 AM Revision 0bdf13a1 (git): * include/ruby/backward/util.h: Good-by Borland-C.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
05:40 AM Revision 727ae6f8 (git): * common.mk: add a comment how to use "make test-all"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
05:40 AM Revision 75356fc8 (git): * common.mk: add comments how to use "make benchmark"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
04:22 AM Revision 1d1ee07f (git): ruby.c: disable nonblock only if nonblocking mode
* ruby.c (open_load_file): disable O_NONBLOCK only when opened in
non-blocking mode, to get rid of LoadError on Win...
nobu (Nobuyoshi Nakada)
03:58 AM Revision 3d61b259 (git): * lib/securerandom.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:07 AM Revision 61685c76 (git): test_require.rb: no guarantees to load FIFO
* test/ruby/test_require.rb (loading_fifo): loading from FIFO is
not guaranteed, it just should not block the whole...
nobu (Nobuyoshi Nakada)
02:40 AM Revision 7cb20b8f (git): test_require.rb: test conditions
* test/ruby/test_require.rb (loading_fifo): check by if FIFO is
available or not, instead of platform names.
git-s...
nobu (Nobuyoshi Nakada)
02:23 AM Revision 348d7b09 (git): * dln.c: remove defined(__WATCOMC__).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
02:17 AM Revision 3a49d353 (git): * lib/mkmf.rb: Good-by Borland-C (cont).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
02:11 AM Revision 5b9f32c2 (git): * append newline at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:10 AM Revision 3a48e126 (git): * numeric.c: Good-by Borland-C.
* include/ruby/backward/rubyio.h: ditto.
* include/ruby/backward/st.h: ditto.
* include/ruby/backward/util.h: ditto.
...
kosaki (Motohiro KOSAKI)
02:08 AM Revision e91baf56 (git): * dln.c: simplify #ifdef. _WIN32 and __CYGWIN__ are exclusive.
see include/ruby/defines.h
* gc.c: ditto.
* ext/sdbm/_sdbm.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
kosaki (Motohiro KOSAKI)
01:44 AM Revision a923a6f0 (git): * ruby.c (open_load_file): add a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
01:43 AM Revision 395dd786 (git): fix compile error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
01:30 AM Revision 3d7a5354 (git): file.c: fix compile error
* file.c (rb_file_s_rename): remove unmatched endif not removed at
r52161.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
01:19 AM Revision a857b11d (git): * file.c (rb_file_identical_p): simplify ifdefs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
01:18 AM Revision 64a08a54 (git): * append newline at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:18 AM Revision 4ad2057f (git): * ChangeLog: Good-bye OS/2.
* common.mk: ditto.
* configure.in: ditto.
* dln_find.c: ditto.
* ext/Setup.emx: ditto.
* ext/extmk.rb: ditto.
* ext/...
kosaki (Motohiro KOSAKI)
01:17 AM Revision 6803c4e2 (git): * include/ruby/defines.h (DOSISH): add comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
12:40 AM Revision a0a77c5b (git): re-commit r52152
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
12:33 AM Revision 21704f22 (git): * file.c (ruby_is_fd_loadable): this should be fail if st_mode is
not regular file nor FIFO.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:21 AM Revision 698f6648 (git): * ruby.c (open_load_file): use rb_thread_wait_fd() instead of reopen.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
12:13 AM Revision ff132bc0 (git): Revert r52154
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)

10/17/2015

11:59 PM Revision acc94eb9 (git): ruby.c: unnecessary variable
* ruby.c (open_load_file): remove unnecessary nested local
variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
11:43 PM Bug #11559: ビジーループの thread と YAML.parse を組み合わせたときの実行時間が 2.2.3 で遅くなっている
せっかくなので、 did_you_meanが入っても 2.2.0より早くなるよう、r52152で高速化パッチを入れました。Rubyではrequireの速度が超重要であることが経験的に分かっているので、IO.close処理にそれ用の最適... kosaki (Motohiro KOSAKI)
09:30 PM Bug #11559: ビジーループの thread と YAML.parse を組み合わせたときの実行時間が 2.2.3 で遅くなっている
調査してみたところ、今回のケースではGVLの所有権変更はすべてIO.closeを契機に行われており、
要するにopenの回数が変わっているのですが、それはなにかというと did_you_mean.
gem_prelude.rbから...
kosaki (Motohiro KOSAKI)
11:41 PM Revision d6379666 (git): file.c: set errno
* file.c (ruby_is_fd_loadable): set proper errno.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52154 b2dd03c8-3...
nobu (Nobuyoshi Nakada)
11:38 PM Revision d5cb997f (git): ruby.c: suppress warnings
* ruby.c (loadopen_func): suppress a warning, unused function.
* ruby.c (open_load_file): suppress warnings, results...
nobu (Nobuyoshi Nakada)
11:31 PM Revision 50024f9d (git): * io.c (fptr_finalize): don't release gvl if fptr is not writable.
writable fd may block on close(2) when it's on NFS. But readonly
fd doesn't. [Bug #11559]
result: make benchmark ...
kosaki (Motohiro KOSAKI)
09:38 PM Bug #11060: load(fifo) blocks whole process
修正メモ
r50887 はakrパッチにあったS_ISFIFO()のチェックが入っていないため、FIFOがemptyじゃなくなるまで待つが、待った後エラーになってしまいロードできていませんでした。
FIFOから正常にロードでき...
kosaki (Motohiro KOSAKI)
09:09 PM Bug #11060 (Closed): load(fifo) blocks whole process
Applied in changeset r52151.
----------
* ruby.c (open_load_file): reset O_NONBLOCK after open.
Even if S_ISREG() ...
kosaki (Motohiro KOSAKI)
09:09 PM Revision bc8687ac (git): * ruby.c (open_load_file): reset O_NONBLOCK after open.
Even if S_ISREG() is true, the file may be file on FUSE filesystem
or something. We can't assume O_NONBLOCK is safe...
kosaki (Motohiro KOSAKI)
04:40 PM Revision 9ec8d4ef (git): * 2015-10-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:39 PM Revision 058ba6ce (git): * ChangeLog: remove duplicated entry of r52147. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
12:06 PM Feature #11599 (Assigned): Dump entries of hash in ObjectSpace
Hi,
*This is my first c code contribution :)*
I am helping developing heap-analyzer (github.com/tenderlove/heap...
yosiat (Yosi Attias)
05:01 AM Revision eb4dc179 (git): test_const.rb: suppress warnings
* test/ruby/test_const.rb (test_redefinition_memory_leak):
suppress warnings instead of redirecting to null device....
nobu (Nobuyoshi Nakada)
04:55 AM Revision 78baa98e (git): string.c: rb_str_cat_conv_enc_opts
* file.c (rb_file_expand_path_internal): concatenate converted
string to the result instead of making converted str...
nobu (Nobuyoshi Nakada)
04:31 AM Revision c72ddc44 (git): file.c: prefer encoding index as possible
* file.c (rb_str_encode_ospath): prefer encoding index as possible
until rb_encoding is needed.
* file.c (rb_file_...
nobu (Nobuyoshi Nakada)
04:19 AM Revision c1a6fdc8 (git): ruby.c: unify nested code
* ruby.c (load_file): unify each preparations and clean-ups by
merging load_file_internal and load_file_internal2, ...
nobu (Nobuyoshi Nakada)
04:07 AM Revision f63ad355 (git): vm_insnhelper.c: suppress a warning
* vm_insnhelper.c (vm_yield_with_cfunc): cast to suppress a
warning by VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
04:03 AM Revision 4bc884c4 (git): ruby.c: conflicting O_NONBLOCK
* ruby.c (load_file_internal): do not use O_NONBLOCK when
conflicting with O_ACCMODE.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
12:30 AM Bug #11596: Getting [BUG] rb_vm_get_cref: unreachable
Reproduced.
```
$ ruby -v -I lib:test test/cases/scoping/default_scoping_test.rb -n test_default_scope_select_ign...
wanabe (_ wanabe)

10/16/2015

11:24 PM Revision 34b877e4 (git): ruby.c: fd leak
* ruby.c (load_file_internal): fix potential fd leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52142 b2dd03...
nobu (Nobuyoshi Nakada)
08:36 PM Revision 7a8a49d9 (git): * 2015-10-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:35 PM Revision 251b6628 (git): * test/ruby/test_symbol.rb (test_symbol_fstr_leak): add a warm-up
code and check RSS to avoid false positive on AIX and false
negative on Mac OS X. [Bug #10686]
git-svn-id: svn+ssh...
Rei Odaira
10:29 AM Bug #11598 (Closed): Ruby crash when I run calabash-android
Hi All,
I install the calabash-android. If the Chinese is included in the feature file, which is as below:
Featu...
[email protected] (clint ming)
07:18 AM Bug #11515 (Rejected): CreateProcessW() can cause "Invalid access to memory location"
`cmd` in `CreateChild()` is always allocated in heap.
win32/win32.c does not provide wchar-version `spawn` functions.
nobu (Nobuyoshi Nakada)
06:55 AM Bug #11559 (Closed): ビジーループの thread と YAML.parse を組み合わせたときの実行時間が 2.2.3 で遅くなっている
Applied in changeset r52139.
----------
file.c: non-blocking open
* file.c (rb_file_load_ok): open in non-blocking ...
nobu (Nobuyoshi Nakada)
06:54 AM Revision abf832f4 (git): file.c: non-blocking open
* file.c (rb_file_load_ok): open in non-blocking mode withoout
releasing GVL. don't care about others than regular...
nobu (Nobuyoshi Nakada)
03:21 AM Revision 6291c6ad (git): vm_args.c: symbol proc
* vm_args.c (vm_caller_setup_arg_block): store symbols instead of
ifuncs.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)
01:58 AM Bug #10892: Deadlock in autoload
Benoit Daloze <[email protected]> wrote:
> On Wed, Oct 14, 2015 at 9:56 PM, Eric Wong <[email protected]> wrot...
normalperson (Eric Wong)

10/15/2015

10:08 PM Feature #11597: Add Linux-specific setfsuid(2)/setfsgid(2)
Given Ruby already supports Kernel#syscall, I wonder if we should
support something a generated syscall.rb file in ...
normalperson (Eric Wong)
07:36 PM Feature #11597 (Open): Add Linux-specific setfsuid(2)/setfsgid(2)
I would be helpful if you add a binding to the Linux-specific syscalls
setfsuid(2)
setfsgid(2)
Their purpose i...
vihai (Daniele Orlandi)
04:06 PM Revision 2fda4a55 (git): proc.c: merge blocks
* proc.c (proc_binding): merge blocks in same condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52137 b2d...
nobu (Nobuyoshi Nakada)
03:54 PM Revision 59d0dfca (git): * 2015-10-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:54 PM Revision beeaef3d (git): proc.c: refine ifunc checks
* proc.c (IS_METHOD_PROC_IFUNC): separate from IS_METHOD_PROC_ISEQ
for vm_ifunc.
* proc.c (rb_proc_get_iseq): use ...
nobu (Nobuyoshi Nakada)
02:56 PM Revision 14b85304 (git): proc.c: void env
* proc.c (rb_sym_to_proc): make void env.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52134 b2dd03c8-39d4-4d8f...
nobu (Nobuyoshi Nakada)
02:37 PM Revision 4951f3b5 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:48 AM Bug #10892: Deadlock in autoload
On Wed, Oct 14, 2015 at 9:56 PM, Eric Wong <[email protected]> wrote:

> Fwiw, I mentioned in [ruby-core:70359...
Eregon (Benoit Daloze)
06:51 AM Revision 278ca4db (git): vm_dump.c: unused variable
* vm_dump.c (vm_stack_dump_each): remove never-used variable and
dead code for it.
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
06:34 AM Revision 1bcc7ebd (git): proc.c: iseq conditions
* proc.c (rb_block_min_max_arity, rb_mod_define_method): use
RUBY_VM_NORMAL_ISEQ_P() to check if iseq.
* proc.c (m...
nobu (Nobuyoshi Nakada)
04:44 AM Revision 7c4b03e7 (git): vm.c: simplify
* vm.c (env_mark): remove redundant conditions and mark block.iseq
simply unless null.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
04:37 AM Bug #11594 (Closed): A Proc call may corrupt a local variable
Applied in changeset r52129.
----------
proc.c: proc without env
* proc.c (rb_sym_to_proc): move from string.c and ...
nobu (Nobuyoshi Nakada)
04:37 AM Revision c2e8fb0f (git): proc.c: proc without env
* proc.c (rb_sym_to_proc): move from string.c and create a Proc
with no environments. [ruby-core:71088] [Bug #1159...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom