Project

General

Profile

Activity

From 07/15/2015 to 07/21/2015

07/21/2015

11:24 PM Revision 8c1a75a3 (git): follow r51064
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:24 PM Revision 30223e7f (git): suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:53 PM Bug #10037 (Closed): Since r46798 on Solaris, "[BUG] rb_vm_get_cref: unreachable" during make
Applied in changeset r51327.
----------
* make rb_iseq_t T_IMEMO object (type is imemo_iseq).
All contents of prev...
ko1 (Koichi Sasada)
10:52 PM Revision e4198a73 (git): * make rb_iseq_t T_IMEMO object (type is imemo_iseq).
All contents of previous rb_iseq_t is in rb_iseq_t::body.
Remove rb_iseq_t::self because rb_iseq_t is an object.
...
ko1 (Koichi Sasada)
10:19 PM Revision 6053426a (git): * ext/objspace/objspace.c (total_i): no need to skip singleton classes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:41 PM Revision 331fb4a2 (git): * vm_core.h: constify rb_call_info_t::kw_arg,
rb_control_frame_t::iseq and rb_control_frame_t::block_iseq.
* iseq.c (iseq_free): catch up this fix.
* vm.c: ditto.
...
ko1 (Koichi Sasada)
09:39 PM Revision 684c449c (git): fix ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:28 PM Revision 948bd807 (git): * vm_core.h: constify rb_call_info_t::blockiseq and rb_iseq_t::iseq.
* vm.c, vm_insnhelper.c: catch up this fix.
* iseq.c (iseq_data_to_ary): constify the first iseq parameter.
* vm_insn...
ko1 (Koichi Sasada)
09:19 PM Revision c5618920 (git): * method.h: constify rb_method_iseq_t::iseqptr.
* proc.c (rb_method_entry_min_max_arity): catch up this fix.
* vm_insnhelper.c (def_iseq_ptr): constify.
git-svn-i...
ko1 (Koichi Sasada)
07:07 PM Revision fd70f7c4 (git): * 2015-07-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:05 PM Bug #11360 (Closed): Singleton class doesn't appear by ObjectSpace.each_object
Applied in changeset r51320.
----------
* gc.c (internal_object_p): Now a singleton classes appear by
ObjectSpace....
ko1 (Koichi Sasada)
03:04 PM Bug #11360: Singleton class doesn't appear by ObjectSpace.each_object
It was intentional, since in the old days singleton classes are merely internal data structure. After intoduction of... matz (Yukihiro Matsumoto)
07:04 PM Revision 46215c1e (git): * gc.c (internal_object_p): Now a singleton classes appear by
ObjectSpace.each_object. [Bug #11360]
* test/ruby/test_objectspace.rb: add a test about it.
git-svn-id: svn+ssh://...
ko1 (Koichi Sasada)
03:27 PM Bug #11383 (Closed): Infinite loop in str_buf_cat triggered by str_gsub
I've got a Ruby program which reads some RSS/Atom feeds to load each of them into a relational database. It makes use... lfarcy (Laurent Farcy)
03:16 PM Bug #11380: Parser regression in 2.3?
I found out that this regression is caused by 50402 (https://github.com/ruby/ruby/commit/fd0e9d2580bf757071683581d343... yui-knk (Kaneko Yuichiro)
12:56 PM Bug #11380 (Closed): Parser regression in 2.3?
This code works with 2.2 but causes SyntaxError with 2.3.
~~~
def foo(pr, options, &blk)
p pr.call
end
foo...
matsuda (Akira Matsuda)
03:09 PM Bug #11382: Keyword arguments randomly nullified
My ruby version: "ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]" zogash (Milovan Zogovic)
03:03 PM Bug #11382: Keyword arguments randomly nullified
Actually, this has nothing to do with inheritance. Here is simplified example:
~~~
class Bug
def initialize(a:...
zogash (Milovan Zogovic)
02:29 PM Bug #11382 (Closed): Keyword arguments randomly nullified
Here is the example:
~~~
class Parent
def initialize(a: nil, b: nil, **properties)
puts("parent: { a: #{a...
zogash (Milovan Zogovic)
02:23 PM Bug #11381 (Closed): String のサブクラスをハッシュのキーに指定した時に hash メソッドが呼ばれない
String のサブクラスとして大文字小文字を同一視するようなクラスを作ろうとしましたが、
そのオブジェクトをハッシュのキーに指定しても期待通りに動作しませんでした。
どうやら hash メソッドが呼ばれていないようです。
...
tommy (Masahiro Tomita)
12:21 PM Revision 0fceffce (git): thread.c: refactor a loop
* thread.c (do_select): replace switch and goto with a loop to
suppress maybe-uninitialized warnings by gcc6.
* thr...
nobu (Nobuyoshi Nakada)
11:32 AM Revision 155f3845 (git): * test/ruby/test_range.rb: Add test for Range#hash
[fix GH-969] Patch by @yui-knk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51318 b2dd03c8-39d4-4d8f-98ff-823fe...
hsbt (Hiroshi SHIBATA)
11:29 AM Revision e9cb9d10 (git): Makefile.sub: UNREACHABLE
* win32/Makefile.sub (config.h): define UNREACHABLE by __assume.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5...
nobu (Nobuyoshi Nakada)
10:52 AM Revision 09389b47 (git): console.c: undefined vk
* ext/io/console/console.c (console_key_pressed_p): raise
undefined virtual key code.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
10:52 AM Revision 2deaf034 (git): cont.c: CreateFiberEx fallback
* cont.c (fiber_initialize_machine_stack_context): fallback
definition of CreateFiberEx for VC6.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
10:51 AM Revision 613d97c5 (git): win32.c: symlink constants fallback
* win32/win32.c (rb_w32_wreadlink): define symlink constants for
VC6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
10:51 AM Revision 42e36319 (git): ruby/missing.h: M_PI fallback definition
* include/ruby/missing.h (M_PI, M_PI_2): fallback definitions for
VC6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
10:51 AM Revision 6f869a57 (git): ruby/win32.h: include windows.h
* include/ruby/win32.h: include windows.h before winsock2.h,
because mswsock.h included by the former uses SOCKET d...
nobu (Nobuyoshi Nakada)
10:47 AM Revision c0c20ccb (git): * compile.c: constify the first parameter (iseq).
* iseq_add_mark_object()
* iseq_add_mark_object_compile_time()
* iseq.c, iseq.h (rb_iseq_add_mark_object): ditto.
...
ko1 (Koichi Sasada)
10:36 AM Bug #11379: Difference in `Array#sort_by` method between Ubuntu Linux and OS X
What do you mean that it's a stability issue? I understand that the order cannot be guaranteed but I would expect it ... pibako (Piotr Kowalski)
10:28 AM Bug #11379 (Rejected): Difference in `Array#sort_by` method between Ubuntu Linux and OS X
It *is* a stability issue.
`Enumerable#sort_by` compares only the results of the given block, so can't differentia...
nobu (Nobuyoshi Nakada)
10:13 AM Bug #11379 (Open): Difference in `Array#sort_by` method between Ubuntu Linux and OS X
Sorry, it is not a stability issue. nobu (Nobuyoshi Nakada)
10:06 AM Bug #11379 (Rejected): Difference in `Array#sort_by` method between Ubuntu Linux and OS X
Not a bug.
`Array#sort_by` is not stable sort.
nobu (Nobuyoshi Nakada)
09:37 AM Bug #11379 (Rejected): Difference in `Array#sort_by` method between Ubuntu Linux and OS X
The sort order (for the same objects) is different depending on the operating system. It looks like the Linux version... pibako (Piotr Kowalski)
10:04 AM Bug #11378 (Rejected): Syntax error when passing Array boolean logic into method
It's irrelevant to array, but a precedence problem.
An expression of `and` keyword can't be an argument without pare...
nobu (Nobuyoshi Nakada)
07:54 AM Bug #11378 (Rejected): Syntax error when passing Array boolean logic into method
Passing Array boolean logic into a method is yielding a syntax error when the opening parenthesis is not separated fr... v0dro (Sameer Deshmukh)
08:38 AM Bug #11364: Use smaller buffer for sendmsg
Jeremy Evans <[email protected]> wrote:
> This turns out to be a bug in the lower levels of the OpenBSD kernel,
...
normalperson (Eric Wong)
12:08 AM Bug #11364: Use smaller buffer for sendmsg
Jeremy Evans <[email protected]> wrote:
> Looks like my initial analysis was partially wrong. OpenBSD's default...
normalperson (Eric Wong)
08:17 AM Revision 04b7a801 (git): test/socket/test_nonblock.rb: increase buffer sizes to OpenBSD limits
* test/socket/test_nonblock.rb: increase buffer sizes to
OpenBSD limits. Thanks to Jeremy Evans <code@jeremyevans....
Eric Wong
07:09 AM Revision e3af9cea (git): load.c (ruby_dln_librefs): make static
This isn't used outside of load.c, so there appears to be no
reason to expose it to other modules.
git-svn-id: svn+s...
Eric Wong
04:36 AM Revision ec1d232f (git): fix typo in OptionParser#complete docs [ci skip]
* lib/optparse.rb (complete): [DOC] fix typo. [Fix GH-973]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51308 ...
nobu (Nobuyoshi Nakada)
04:28 AM Revision 65273e90 (git): test_process.rb: split a test
* test/ruby/test_process.rb (test_execopts_popen): split into 3
tests, no other redirections, stdio, and other fds....
nobu (Nobuyoshi Nakada)

07/20/2015

11:05 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
As I wrote in https://github.com/ruby/ruby/pull/644#issuecomment-123082639, I closed the pull-request for the present... mrkn (Kenta Murata)
10:48 PM Bug #11364: Use smaller buffer for sendmsg
[email protected] wrote:
> Bug #11364: Use smaller buffer for sendmsg
> https://bugs.ruby-lang.org/iss...
normalperson (Eric Wong)
08:35 PM Revision f3dbd84f (git): * 2015-07-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:34 PM Feature #11377 (Closed): [PATCH] IO.copy_stream uses poll on Linux
Applied in changeset r51305.
----------
io.c: IO.copy_stream uses poll on Linux
poll and ppoll have a superior API ...
Anonymous
08:22 PM Feature #11377 (Closed): [PATCH] IO.copy_stream uses poll on Linux
poll and ppoll have a superior API which doesn't require the
kernel to scan a potentially large bitmap to find a hig...
normalperson (Eric Wong)
08:33 PM Revision f7c3b6ff (git): io.c: IO.copy_stream uses poll on Linux
poll and ppoll have a superior API which doesn't require the
kernel to scan a potentially large bitmap to find a high...
Eric Wong
08:18 AM Bug #11336: TestProcess#test_exec_fd_3_redirect failed on Solaris 10
Eric Wong <[email protected]> wrote:
> I started working on this patch which causes pipes to always
> be close...
normalperson (Eric Wong)
02:48 AM Bug #11336: TestProcess#test_exec_fd_3_redirect failed on Solaris 10
[email protected] wrote:
> With the patch, when exec system call fails, signals that are sent
> after stopping...
normalperson (Eric Wong)
06:05 AM Revision 8754f619 (git): parse.y (parser_initialize): avoid redundant zero-ing
TypedData_Make_Struct already initializes fields to zero by default,
so there's no need to waste code re-zeroing them...
Eric Wong
03:27 AM Revision 12652453 (git): parse.y (ripper_initialize): fixup r51302
Missed eofp bitfield change in ripper_initialize in r51302 :x
("parse.y (struct parser_params): pack to 4 cache lines...
Eric Wong
03:22 AM Feature #11371 (Closed): [PATCH] parse.y (struct parser_params): pack to 4 cache lines on x86-64
Applied in changeset r51302.
----------
parse.y (struct parser_params): pack to 4 cache lines on x86-64
This reduce...
Anonymous
03:21 AM Revision 3114f4a2 (git): parse.y (struct parser_params): pack to 4 cache lines on x86-64
This reduces the struct from 256 (from 288) bytes on my x86-64
system, allowing the struct to fit cleanly into 4 cach...
Eric Wong
03:18 AM Feature #11375: Decreased Object Allocation in Pathname.rb
Looks like you sent a backwards patch. We will need to use -R with
patch/git-apply to apply the patch.

Relying ...
normalperson (Eric Wong)
12:39 AM Bug #11376 (Assigned): Stop using SSLv3 methods
zzak (zzak _)
12:11 AM Revision d8d91485 (git): thread.c: reuse tag
* thread.c (rb_thread_terminate_all): reuse the tag pushed before
a loop, instead of pushing/popping same tag repea...
nobu (Nobuyoshi Nakada)
12:08 AM Revision 1b8ff4f7 (git): ruby_vm_throw_flags
* vm_core.h (ruby_vm_throw_flags): constants for throw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51300 b2dd...
nobu (Nobuyoshi Nakada)

07/19/2015

08:54 PM Bug #11376 (Closed): Stop using SSLv3 methods
If openssl is compiled using the OPENSSL_NO_SSL3_METHOD you can't compile ruby anymore since it will still try to use... kroeckx (Kurt Roeckx)
08:44 PM Feature #11375 (Closed): Decreased Object Allocation in Pathname.rb
Pathname.rb has many string literals that are not mutated while being called. We can reduce object allocation and inc... schneems (Richard Schneeman)
03:21 PM Revision 46b70c8d (git): * 2015-07-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:21 PM Revision 747129ae (git): thread.c: fix timeout limit
* thread.c (ppoll): fix the limit, timeout argument of poll(2) is
an int but not a time_t.
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
01:37 PM Feature #11361: proposal for easy method to nil-guard for generated variable name.
Isn't this simpler (and easier to read):
@cache ||= {}
@cache[id] ||= User.find(1)
I can't recall ever...
marcandre (Marc-Andre Lafortune)
11:27 AM Bug #11336: TestProcess#test_exec_fd_3_redirect failed on Solaris 10
With the patch, when exec system call fails, signals that are sent after stopping the timer thread before re-starting... ngoto (Naohisa Goto)
09:59 AM Feature #11371: [PATCH] parse.y (struct parser_params): pack to 4 cache lines on x86-64
I think it's OK if intended, and you may want to remove all 0-assignment lines before this commit. nobu (Nobuyoshi Nakada)
08:18 AM Feature #11371: [PATCH] parse.y (struct parser_params): pack to 4 cache lines on x86-64
[email protected] wrote:
> Why remove this line?
>
> > - parser->parser_in_defined = 0;

Oops, I was going...
normalperson (Eric Wong)
01:02 AM Feature #11371: [PATCH] parse.y (struct parser_params): pack to 4 cache lines on x86-64
Why remove this line?
> ~~~diff
> - parser->parser_in_defined = 0;
nobu (Nobuyoshi Nakada)
09:15 AM Bug #11374: crash when using Thread.new{Tk.mainloop}
When set $DEBUG, sometimes crash and sometimes exit without an abort message.
I add logs of both cases.
nagai (Hidetoshi Nagai)
09:01 AM Bug #11374: crash when using Thread.new{Tk.mainloop}
I add the crash-log of serverTk2.rb on Linux x86_64 (Vine Linux 6.3) + ActiveTcl8.6.2.0.
nagai (Hidetoshi Nagai)
04:50 AM Bug #11374: crash when using Thread.new{Tk.mainloop}
serverTk2.rb just existed silently, on OSX 10.10.
Couldn't you show the dump message?
nobu (Nobuyoshi Nakada)
01:49 AM Bug #11374 (Feedback): crash when using Thread.new{Tk.mainloop}
What's your platform and tcltk's version? nobu (Nobuyoshi Nakada)
05:29 AM Revision 28c389c6 (git): pty.c: fix example typo [ci skip]
* ext/pty/pty.c: [DOC] fix example typo, an old name at move from
PTY.open. [Fix GH-972]
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
12:26 AM Revision ce6ee740 (git): * 2015-07-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:25 AM Revision 34e61ca9 (git): eval.c: check tag value
* eval.c (rb_jump_tag): paranoiac check of tag value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51295 b2dd03...
nobu (Nobuyoshi Nakada)

07/18/2015

08:16 PM Bug #11374 (Closed): crash when using Thread.new{Tk.mainloop}
ServerTk2.rb crashed and core dumped when running this program
clientForkTk1.rb tested ok
please help
tmbartaw (Tarek Bartaw)
03:38 PM Bug #11366: Don't force SSLv3 in test, as it is insecure and may not be supported
> I think this change may require #11367 to work correctly.
You were right. This patch alone fails:
~~~
1) ...
jeremyevans0 (Jeremy Evans)
12:21 PM Bug #11366: Don't force SSLv3 in test, as it is insecure and may not be supported
This was reported as #10046, but I am not sure if this patch actually works everywhere ... vo.x (Vit Ondruch)
03:33 PM Bug #11363: Fix tests for String#crypt so they pass on OpenBSD
Well, the tests fail on OpenBSD regardless of the patch, as OpenBSD crypt(3) does not support the historical, insecur... jeremyevans0 (Jeremy Evans)
12:01 PM Bug #11363: Fix tests for String#crypt so they pass on OpenBSD
Do the tests cause any actual issue? Failed on OpenBSD?
Ruby's tests are not conformance test. They should inclu...
mame (Yusuke Endoh)
02:47 PM Revision f10eb2c3 (git): load.c: use TAG_RETURN
* load.c (rb_require_internal): use TAG_RETURN not a magic number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
02:28 PM Feature #11373 (Open): Add command line option to query valid values for --dump
mx4492 (Manav Rathi)
12:29 PM Revision 22f75c30 (git): thread.c: gather common statements
* thread.c (vm_check_ints_blocking): gather common statements at
the end, and prefer LIKELY for Visual C optimizati...
nobu (Nobuyoshi Nakada)
11:44 AM Revision 1998039e (git): load.c: reduce EXEC_TAGs
* load.c (rb_load_internal0): do not raise any exceptions but
return the result tag state.
* load.c (rb_load_protec...
nobu (Nobuyoshi Nakada)
11:17 AM Misc #11372 (Rejected): Confusing a+b=9 ... unintented behavior, valid statement
Hi,
Although I can understand how you feel, the change will break millions of Ruby programs.
There could be milde...
matz (Yukihiro Matsumoto)
10:21 AM Misc #11372: Confusing a+b=9 ... unintented behavior, valid statement
Just small error: Number 11 is wrong, 7 is right. :) kozel (Dug Dough)
10:18 AM Misc #11372 (Rejected): Confusing a+b=9 ... unintented behavior, valid statement
Hello, I found that when = is written instead of ==, it can cause unintended effects and it is hard to notice this ty... kozel (Dug Dough)
10:52 AM Revision e9e08a5b (git): gc.c: reduce EXEC_TAGs
* gc.c (run_finalizer): set and restore safe level here to reduce
nested EXEC_TAGs.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
09:45 AM Revision ca5cfbe1 (git): eval.c: extra conversion of exit status
* eval.c (ruby_cleanup): error_handle() returns exit status to the
system, not internal error state, do not convert...
nobu (Nobuyoshi Nakada)
07:17 AM Feature #11371 (Closed): [PATCH] parse.y (struct parser_params): pack to 4 cache lines on x86-64
parse.y (struct parser_params): pack to four cache lines on x86-64
This reduces the struct from 256 (from 288) byt...
normalperson (Eric Wong)
03:48 AM Bug #11336: TestProcess#test_exec_fd_3_redirect failed on Solaris 10
I started working on this patch which causes pipes to always
be closed during timer thread shutdown.

http://80x2...
normalperson (Eric Wong)
01:29 AM Revision 3661dae1 (git): test/ruby/test_process.rb: test thread+sigs work after failed exec
Preparation for possible upcoming changes to timer thread. We need
to ensure signal handling and thread scheduling w...
Eric Wong

07/17/2015

10:21 PM Bug #11364 (Closed): Use smaller buffer for sendmsg
Applied in changeset r51288.
----------
test/socket/test_nonblock: use smaller buffer for sendmsg
OpenBSD's limit i...
Anonymous
09:32 PM Bug #11364 (Closed): Use smaller buffer for sendmsg
OpenBSD's limit is less than 128. jeremyevans0 (Jeremy Evans)
10:21 PM Revision 1d9cf30d (git): test/socket/test_nonblock: use smaller buffer for sendmsg
OpenBSD's limit is less than 128.
* test/socket/test_nonblock: use smaller buffer for sendmsg
Patch-by: Jeremy Eva...
Eric Wong
10:08 PM Revision a3dca0f5 (git): signal.c (trap_handler): cleanup to use RSTRING_GETMEM + memcmp
strncmp is unnecessary since the switch/case statement already
checks length of the string; so use memcmp.
This make...
Eric Wong
09:40 PM Bug #11370 (Closed): Use slightly less strict test for heap_eden_pages
On OpenBSD a delta of 1 leads to occassional test failures:
1) Failure:
TestGc#test_expand_heap [/home/jeremy/c...
jeremyevans0 (Jeremy Evans)
09:39 PM Bug #11369 (Closed): Check length of selected NPN protocol
This fixes a failure when running on LibreSSL, where an exception
wouldn't be raised if the callback returned a sele...
jeremyevans0 (Jeremy Evans)
09:38 PM Bug #11368 (Closed): Fix LocalJumpErrors being raised in OpenSSL tests
In many cases in the test suite, server_connect is being called
without a block inside an assert_raises block. This...
jeremyevans0 (Jeremy Evans)
09:37 PM Bug #11367 (Closed): Use OP_NO_TICKET when testing SSL session cache callbacks
This fixes the test when using LibreSSL and possibly some
configurations of OpenSSL.
jeremyevans0 (Jeremy Evans)
09:36 PM Bug #11366 (Closed): Don't force SSLv3 in test, as it is insecure and may not be supported
LibreSSL disables SSLv3 by default, and there's no reason this code
should require SSLv3.
jeremyevans0 (Jeremy Evans)
09:34 PM Feature #11365 (Closed): Change Webrick to support SHA htpasswd files
This changes Webrick to default to creating SHA htpasswd files.
It also changes Webrick to support reading SHA htpas...
jeremyevans0 (Jeremy Evans)
09:31 PM Bug #11363 (Closed): Fix tests for String#crypt so they pass on OpenBSD
The String#crypt documentation states "the format and the result
are system and implementation dependent", so the te...
jeremyevans0 (Jeremy Evans)
07:48 PM Bug #11362: [PATCH] ensure Process.kill(:STOP, $$) is resumable
And I forget we probably need to deal with SYSTEM_DEFAULT, too.
Ugh. I almost favor my alternative patch to use sc...
normalperson (Eric Wong)
10:18 AM Bug #11362: [PATCH] ensure Process.kill(:STOP, $$) is resumable
Alternative patch, but I relying on sched_yield() may be unreliable.
Anyways, both patches are hacky; but so is the ...
normalperson (Eric Wong)
10:05 AM Bug #11362 (Closed): [PATCH] ensure Process.kill(:STOP, $$) is resumable
make Process.kill(:STOP, $$) resumable
Self-inflicted signals are delivered immediately. This is fine
for most s...
normalperson (Eric Wong)
06:03 PM Feature #11358 (Closed): [PATCH] ARGF.read_nonblock should support `exception: false'
Applied in changeset r51285.
----------
io.c (argf_read_nonblock): support `exception: false'
This is a preparation...
Anonymous
06:03 PM Revision f2feaafe (git): * 2015-07-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:02 PM Revision d4454d01 (git): io.c (argf_read_nonblock): support `exception: false'
This is a preparation for [ruby-core:69892]
("io.c: avoid kwarg parsing in C API")
since I noticed ARGF.read_nonblock...
Eric Wong
03:08 PM Feature #11356: Add ECDH support to OpenSSL wrapper
@Nobu,
Thanks for the feedback! I've attached a new patch that refactors those parts.
tenderlovemaking (Aaron Patterson)
02:51 PM Revision ab742d9d (git): vm_eval.c: safe level 4
* vm_eval.c (rb_eval_cmd): $SAFE=4 has been deprecated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51284 b2dd...
nobu (Nobuyoshi Nakada)
01:18 PM Revision 67f5f947 (git): compile.c: use ruby_tag_type
* compile.c (iseq_compile_each): use enum ruby_tag_type names.
* vm_core.h (ruby_tag_type): move from eval_intern.h f...
nobu (Nobuyoshi Nakada)
01:15 PM Revision 2731b91d (git): compile.c: remove unused big
* compile.c (iseq_compile_each): remove unused big flag, `while`
loop always leaves a result on the stack.
git-svn...
nobu (Nobuyoshi Nakada)
09:43 AM Bug #11360: Singleton class doesn't appear by ObjectSpace.each_object
Koichi Sasada wrote:
> From Ruby 1.6, singleton classes are not appeared.
> Is it intentional?
I guess the reaso...
Eregon (Benoit Daloze)
05:45 AM Bug #11360: Singleton class doesn't appear by ObjectSpace.each_object
From Ruby 1.6, singleton classes are not appeared.
Is it intentional?
ko1 (Koichi Sasada)
05:20 AM Bug #11360 (Closed): Singleton class doesn't appear by ObjectSpace.each_object
Singleton class doesn't appear by ObjectSpace.each_object.
The following is reproducible code.
```ruby
class C...
ko1 (Koichi Sasada)
08:31 AM Feature #11361 (Open): proposal for easy method to nil-guard for generated variable name.
It's easy to 'nil-guard' for normal variable.
~~~
def user
@user ||= User.find(1)
end
~~~
but it's no...
masarakki (masaki yamada)
07:28 AM Revision df62161d (git): RUBY_VM_CHECK_INTS: eval the argument only once
* vm_core.h (RUBY_VM_CHECK_INTS): evaluate the argument only once
to get rid of inadvertent side effects.
git-svn-...
nobu (Nobuyoshi Nakada)
07:28 AM Revision ce7fdcf0 (git): RUBY_VM_CHECK_INTS_BLOCKING: move to thread.c
* thread.c (RUBY_VM_CHECK_INTS_BLOCKING): move from vm_core.h for
the static function rb_threadptr_pending_interrup...
nobu (Nobuyoshi Nakada)
07:28 AM Revision 01962439 (git): EXEC_EVENT_HOOK_ORIG: eval the arguments only once
* vm_core.h (EXEC_EVENT_HOOK_ORIG): evaluate each arguments only
once to get rid of inadvertent side effects. fix ...
nobu (Nobuyoshi Nakada)
06:39 AM Revision 137d08de (git): encoding.h: ENC_CODERANGE_CLEAN_P
* include/ruby/encoding.h (ENC_CODERANGE_CLEAN_P): predicate that
tells if the coderange is clean, that is 7bit or ...
nobu (Nobuyoshi Nakada)
06:37 AM Revision 13b3abb2 (git): test_range.rb: add Range#new test
* test/ruby/test_range.rb (test_first_last): Add test for
`Range.new`. [Fix GH-971]
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
06:36 AM Revision e2a87e8b (git): test_range.rb: add Range#last assertions
* test/ruby/test_range.rb (test_first_last): Add assertions to
test of `Range#last` with exclude_end true case. [F...
nobu (Nobuyoshi Nakada)
06:27 AM Bug #11336: TestProcess#test_exec_fd_3_redirect failed on Solaris 10
> Sorry, but I think rb_divert_reserved_fd seems a racy fix.
Yes, it might be. Comparison and replacement of the f...
ngoto (Naohisa Goto)
01:42 AM Revision 3ee156c7 (git): thread.c (rb_thread_alone): simplify
This function now also works in more places if ruby_current_thread
is unset.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
Eric Wong
12:59 AM Revision 3e5c21f7 (git): remove unnecessary enumerator requires
* lib/rinda/tuplespace.rb: remove enumerator require
* test/pathname/test_pathname.rb: ditto
Related to https://bugs...
Eric Wong

07/16/2015

09:28 PM Bug #11336: TestProcess#test_exec_fd_3_redirect failed on Solaris 10
Sorry, but I think rb_divert_reserved_fd seems a racy fix. I think the
correct fix is to allow single-threaded Rub...
normalperson (Eric Wong)
01:06 PM Bug #11336 (Closed): TestProcess#test_exec_fd_3_redirect failed on Solaris 10
Applied in changeset r51268.
----------
* process.c (redirect_dup2): when the new FD of dup2() coflicts
with one o...
ngoto (Naohisa Goto)
12:11 PM Bug #11336 (Open): TestProcess#test_exec_fd_3_redirect failed on Solaris 10
In r51265, I reverted r51209 because signals after stopping timer thread before entering exec(2) system call might be... ngoto (Naohisa Goto)
08:42 PM Revision 4fd24435 (git): avoid redundant GET_THREAD() calls
This reduces binary size slightly on my 32-bit system:
text data bss dec hex filename
2847705 12...
Eric Wong
08:26 PM Revision 5d59a808 (git): * 2015-07-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:26 PM Revision 08f23444 (git): thread.c (mutex_alloc): remove needless volatile
Allocation functions do not do anything non-obvious to the
compiler, so there's no reason for volatile here.
git-svn...
Eric Wong
05:30 PM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
matz, would you mind voicing your opinion of this proposal? 0x0dea (D.E. Akers)
03:34 PM Bug #11359 (Closed): scalar_scanner segmentation fault
While running `rspec` , I got `scalar_scanner.rb:40: [BUG] Segmentation fault at 0x00000000000000` (please see attac... castillobg (David Castillo)
01:29 PM Revision 020ff711 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:13 PM Revision c3e8cca9 (git): * vm_core.h: constify rb_iseq_t::parent_iseq.
rb_iseq_t::local_iseq is not constant data because
local_iseq::flip_cnt can be modified (commentted).
* compile.c: ...
ko1 (Koichi Sasada)
01:06 PM Bug #11350 (Closed): When Process.exec failed, redirections were still changed and not restored
Applied in changeset r51268.
----------
* process.c (redirect_dup2): when the new FD of dup2() coflicts
with one o...
ngoto (Naohisa Goto)
01:06 PM Revision f242e17f (git): * process.c (redirect_dup2): when the new FD of dup2() coflicts
with one of the timer thread FDs, the internal FD is diverted.
[Bug #11336] [ruby-core:69886] [Bug #11350] [ruby-co...
ngoto (Naohisa Goto)
12:50 PM Revision 7b08338a (git): * iseq.c (rb_iseq_disasm): rename rb_iseq_t *iseqdat to iseq
and VALUE *iseq to code.
* iseq.c (rb_iseq_disasm_insn): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
ko1 (Koichi Sasada)
12:29 PM Revision ffd76ff3 (git): string.c: remove redundant calls
* string.c (rb_str_enumerate_lines): do not check if a block is
given twice. RETURN_ENUMERATOR includes rb_block_g...
nobu (Nobuyoshi Nakada)
12:08 PM Revision db2fe4b8 (git): Revert r51209 because signals after stopping timer thread before
entering exec(2) system call may be lost.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51265 b2dd03c8-39d4-4d8...
ngoto (Naohisa Goto)
10:02 AM Feature #11358 (Closed): [PATCH] ARGF.read_nonblock should support `exception: false'
~~~
io.c (argf_read_nonblock): support `exception: false'
This is a preparation for [ruby-core:69892]
("io.c: av...
normalperson (Eric Wong)
09:18 AM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
On 2015/07/16 16:01, Eric Wong wrote:
>> > I'm okay to introduce (1) because it is easy and practical.
> OK, thank...
ko1 (Koichi Sasada)
07:08 AM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
SASADA Koichi <[email protected]> wrote:
> On 2015/07/16 4:41, Eric Wong wrote:
> > [email protected] wrote:
> >>...
normalperson (Eric Wong)
03:48 AM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
On 2015/07/16 4:41, Eric Wong wrote:
> [email protected] wrote:
>> Feature #11339: [PATCH] io.c: avoid kwarg p...
ko1 (Koichi Sasada)
08:06 AM Feature #11356: Add ECDH support to OpenSSL wrapper
> ~~~c
> static VALUE
> ossl_call_tmp_ecdh_callback(VALUE *args)
I think this argument should be a `VALUE` and c...
nobu (Nobuyoshi Nakada)
07:44 AM Bug #10902: require("enumerator") scans LOAD_PATH 2x on every invocation
It will disallow a library named "enumerator.rb". nobu (Nobuyoshi Nakada)
06:04 AM Bug #11357 (Rejected): Segmentation Fault encountered ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
hsbt (Hiroshi SHIBATA)
05:21 AM Bug #11357: Segmentation Fault encountered ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
that is a third party issue, as you can see:
4 libruby.2.0.0.dylib 0x000000010e24049f ruby_xmalloc + 17
somethi...
Hanmac (Hans Mackowiak)
05:35 AM Bug #11354 (Closed): Ruby Crash while
nobu (Nobuyoshi Nakada)
05:34 AM Revision b3e9fce0 (git): vm.c: fix mark with rewinding cfp
* vm.c (REWIND_CFP): keep the arguments region inside the valid
value stack. [ruby-core:69969] [Bug #11352]
git-s...
nobu (Nobuyoshi Nakada)
05:19 AM Bug #11352 (Closed): Sample code Garbage collection dies with an address is T_NONE
Applied in changeset r51263.
----------
vm.c: fix mark with rewinding cfp
* vm.c (m_core_hash_merge_ptr): copy the ...
nobu (Nobuyoshi Nakada)
01:17 AM Bug #11352: Sample code Garbage collection dies with an address is T_NONE
```
ruby -e 'puts "GC.stress = true; {", *(1..128).map {|i| "#{i} => 0," }, "129 => [],", "130 => [],", "131 => [],"...
wanabe (_ wanabe)
05:18 AM Revision aab3599d (git): vm.c: fix mark with rewinding cfp
* vm.c (m_core_hash_merge_ptr): copy the arguments to the machine
stack before rewinding the control frame pointer ...
nobu (Nobuyoshi Nakada)
02:39 AM Revision e981a61c (git): process.c (close_unless_reserved): declare type of `fd' arg
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
12:04 AM Feature #11331 (Closed): [PATCH] load.c: use fstring for loaded features and expanded load path
Applied in changeset r51261.
----------
load.c: use fstring for loaded features and expanded load path
Loaded featu...
Anonymous
12:03 AM Revision 3fc54599 (git): load.c: use fstring for loaded features and expanded load path
Loaded features is an obvious candidate for fstring since
feature paths of Ruby sources are included in iseq location...
Eric Wong

07/15/2015

11:58 PM Bug #10902: require("enumerator") scans LOAD_PATH 2x on every invocation
Ping? https://bugs.ruby-lang.org/issues/10902
I'd like to commit my second patch soon since this scan bothers me.
normalperson (Eric Wong)
09:17 PM Bug #11357 (Rejected): Segmentation Fault encountered ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
My development machine recently upgraded to ruby 2.2.1 -- and has had the misfortune of running into a nasty segmenta... jeffbowne (Jeff Bowne)
09:10 PM Feature #11356 (Closed): Add ECDH support to OpenSSL wrapper
FireFox wants to use ECDH on HTTP/2 connections, and there is no way to add it to the SSL context. This patch adds a... tenderlovemaking (Aaron Patterson)
07:48 PM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
[email protected] wrote:
> Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
> https://bugs.ruby-lang...
normalperson (Eric Wong)
06:11 PM Revision 5522e010 (git): thread.c (thread_initialize): avoid RSTRING_PTR and NUMT2INT
Favor passing VALUE args as-is and using PRisVALUE in format strings
to prevent premature GC. In this case, we are n...
Eric Wong
04:59 PM Misc #11355 (Open): Exceptions inheriting from Timeout::Error should behave the same way
Bug #8730 addressed a common issue when using Timeout#timeout [*], but I think that the current behaviour is at the v... astratto (Stefano Tortarolo)
04:42 PM Bug #11354 (Closed): Ruby Crash while
Hi there,
- Using rails 4.2.3
- Using Sorcery for authentication
- Running a THOR task during which creates the ...
nreza (Reza Naq)
04:39 PM Revision 66a36e9b (git): * test/ruby/test_process.rb (test_exec_close_reserved_fd): test for
[Bug #11353]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ngoto (Naohisa Goto)
04:39 PM Feature #11347: Errors with cause not reported properly to console
I rather think it is actually a bug because it hides very important information from the user. It's like showing your... akostadinov (Aleksandar Kostadinov)
04:11 PM Bug #9115: Logger traps all exceptions; breaks Timeout
Correction: providing an exception to Timeout#timeout would break it also in trunk.
It seems that by design inner ...
astratto (Stefano Tortarolo)
03:39 PM Revision 80025e95 (git): * 2015-07-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:39 PM Revision 19c41354 (git): * .gitignore: ignore version.i. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:44 PM Revision 7a1413a7 (git): * test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
use RUBY (= EnvUtil.rubybin)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51256 b2dd03c8-39d4-4d8f-98ff-823fe6...
ngoto (Naohisa Goto)
02:31 PM Feature #9390: Support for the ALPN TLS extension
> I think we need to keep ‘selected’ markable by GC as long as anything
> may use ‘out’ . Otherwise ‘out’ can refer ...
tenderlovemaking (Aaron Patterson)
03:08 AM Feature #9390: Support for the ALPN TLS extension
[email protected] wrote:
> ~~~diff
> +ssl_alpn_select_cb(SSL *ssl, const unsigned char **out, unsigned ch...
normalperson (Eric Wong)
02:07 AM Feature #9390: Support for the ALPN TLS extension
Hi, I've attached a patch that adds ALPN support. I'll apply in a week if no one has objections!
Thanks!!
tenderlovemaking (Aaron Patterson)
02:26 PM Bug #11353 (Closed): ASYNC BUG after failure of Process.exec when closing FD 3 (or 4 or 5)
Applied in changeset r51255.
----------
* process.c (redirect_close, parent_redirect_close): should not close
rese...
ngoto (Naohisa Goto)
02:23 PM Bug #11353 (Closed): ASYNC BUG after failure of Process.exec when closing FD 3 (or 4 or 5)
The following shows ASYNC BUG.
~~~
ruby -e 'Process.exec("/does_not_exist", "arg", {3=>:close})'
[ASYNC BUG] -e:...
ngoto (Naohisa Goto)
02:26 PM Revision d1bce9ec (git): * process.c (redirect_close, parent_redirect_close): should not close
reserved FD. It should be closed in the exec system call due to the
O_CLOEXEC or FD_CLOEXEC flag. [Bug #11353] [rub...
ngoto (Naohisa Goto)
01:27 PM Revision ae406d9e (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:52 AM Bug #11088: On Exception too expensive inspect is called on recursive object graph with 3000 elements in it, swallows memory and ultimately doesn't deliver exception
After your input and directing me to inspect, I did some more testing and found that marshal has absolutely nothing t... kaiserprogrammer (Jürgen Bickert)
09:32 AM Revision dab4d077 (git): remove redundant NULL checks after RUBY_VM_IFUNC_P
* proc.c (proc_mark): remove redundant check
* vm.c (env_mark): ditto
This doesn't change object code size, but the ...
Eric Wong
08:29 AM Revision a0908cb4 (git): remove redundant NULL check in mark functions
gc.c (gc_mark_children)only calls mark_func if the T_DATA ptr is
non-NULL, so avoid redundantly checking for that in ...
Eric Wong
07:55 AM Revision 28c42b4c (git): encoding.c: drop dummy encoding flag
* encoding.c (enc_autoload): drop dummy encoding flag from
the loaded encoding index. this flag is used only in th...
nobu (Nobuyoshi Nakada)
05:43 AM Revision e262b29e (git): * vm.c (vm_make_env_each): add comments about env layout.
Do not use `i' to specify `new_ep'.
* vm.c (rb_proc_create, rb_vm_make_proc_lambda): envval is not used.
git-svn-i...
ko1 (Koichi Sasada)
03:56 AM Revision daf7b1e4 (git): -test-/string: move
* ext/-test-/string/extconf.rb: move "-test-/string/string.so" to
"-test-/string.so".
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
01:29 AM Revision 4592e15e (git): string.c: remove redundant calls
* string.c (rb_str_enumerate_bytes, rb_str_enumerate_codepoints):
do not check if a block is given twice. RETURN_S...
nobu (Nobuyoshi Nakada)
01:02 AM Bug #11351 (Closed): Random chrash [BUG] object allocation during garbage collection phase
nobu (Nobuyoshi Nakada)
 

Also available in: Atom