Project

General

Profile

Activity

From 06/03/2012 to 06/09/2012

06/09/2012

09:48 PM Revision 99c71b1e (git): * process.c: split after_exec into async-signal-safe part and rest.
(after_exec_async_signal_safe): extracted from after_exec.
(after_exec_non_async_signal_safe): ditto.
(after_exec...
akr (Akira Tanaka)
09:36 PM Revision e6424f80 (git): * removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:24 PM Revision f1759187 (git): * NEWS: document new features of Ruby OpenSSL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e MartinBosslet (Martin Bosslet)
06:16 PM Revision 21f1af2e (git): * ext/openssl/ossl.c: Fix error in example. Patch by David Albert.
Add/extend existing documentation. Examples now also cover RSA
signatures and PBKDF2.
[ruby-core: 45154][ruby-tru...
MartinBosslet (Martin Bosslet)
06:12 PM Revision ef73b34c (git): merge revision(s) 32542:
* eval.c (ruby_setjmp): need to save the stack after r2 (the Table
of Contents on ppc64) is saved onto the ...
shyouhei (Shyouhei Urabe)
04:44 PM Revision 14ba7fab (git): * ext/openssl/ossl_ssl.c: Introduce SSLContext#renegotiation_cb and
remove SSLContext#disable_client_renegotiation and related
functionality introduced in r35797. The new callback app...
MartinBosslet (Martin Bosslet)
04:37 PM Revision f45eb451 (git): * process.c (rb_fork_internal): initialize exc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:25 PM Revision 18d03a9e (git): * 2012-06-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:25 PM Revision b11046a6 (git): * process.c: don't use non async-signal-safe functions in a child
process before exec, for invoking a command.
(rb_exec_atfork): call rb_exec_async_signal_safe only.
(retry_fork):...
akr (Akira Tanaka)
02:58 PM Revision 14ec2c80 (git): * process.c (rb_fork_err): rewrite a complex "if" statement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:45 PM Revision d074d0df (git): * process.c (before_exec_async_signal_safe): extracted from
before_exec.
(before_exec_non_async_signal_safe): ditto.
(before_exec): call before_exec_async_signal_safe and
...
akr (Akira Tanaka)
02:36 PM Revision a1d6532e (git): iseq.c: rb_id2str
* iseq.c (iseq_load, insn_operand_intern, rb_iseq_disasm)
(rb_iseq_parameters): use rb_id2str() instead of rb_id2na...
nobu (Nobuyoshi Nakada)
02:36 PM Revision f64e7c83 (git): string.c: rb_str_symname_p
* string.c (rb_str_symname_p): new function that checks if the string
is valid as a symbol name. split from sym_in...
nobu (Nobuyoshi Nakada)
02:23 PM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
Eric Hodel <[email protected]> wrote:
> On Jun 8, 2012, at 5:28 PM, Eric Wong <[email protected]> wrote:
...
normalperson (Eric Wong)
10:23 AM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
On Jun 8, 2012, at 5:28 PM, Eric Wong <[email protected]> wrote:

> I like Net::HTTP being able to inflate com...
drbrain (Eric Hodel)
09:29 AM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
"drbrain (Eric Hodel)" <[email protected]> wrote:
> Feature #6492: Inflate all HTTP Content-Encoding: deflate, ...
normalperson (Eric Wong)
06:47 AM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
This patch adds a comment to Net::HTTPResponse::Inflater#read discussing returning more bytes than clen and a link to... drbrain (Eric Hodel)
05:48 AM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
naruse (Yui NARUSE) wrote:
> drbrain (Eric Hodel) wrote:
> > naruse (Yui NARUSE) wrote:
> > > A user of net/http c...
drbrain (Eric Hodel)
01:28 PM Revision 7057face (git): * process.c (retry_fork): rewrite a complex "for" statement by
simple statements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:53 PM Feature #6440: 引数にIOを渡した場合のMarshal.loadにバッファを持たせたい
2012年5月17日 18:21 Tanaka Akira <[email protected]>:

> バッファがあると、読みすぎることがあるのではないでしょうか。
>
> 読みすぎたぶんを捨ててしまうと、
> mar...
akr (Akira Tanaka)
12:51 PM Revision 1ad3f4b0 (git): * process.c (retry_fork): extracted from rb_fork_err.
(send_child_error): ditto.
(recv_child_error): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35985 b2d...
akr (Akira Tanaka)
10:02 AM Feature #6546: Net::HTTP to check for HTTP_PROXY environment setting.
I did not add it to the patch, but if this patch is accepted should Net::HTTP.new be changed so that p_addr = :ENV by... drbrain (Eric Hodel)
10:00 AM Feature #6546: Net::HTTP to check for HTTP_PROXY environment setting.
Here is a patch, it is based on code from net-http-persistent.
It tries both http_proxy and HTTP_PROXY to support ...
drbrain (Eric Hodel)
08:42 AM Feature #6559 (Assigned): Set DoNotReverseLookup to true in Webrick
Here is a patch to disable reverse lookup by default.
I don't think this can be backported to ruby 1.9.3 since it ...
drbrain (Eric Hodel)
08:21 AM Revision 588d1018 (git): iseq.c: fix conversion
* iseq.c (iseq_load): type is a symbol, and invalid as ID in common.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
nobu (Nobuyoshi Nakada)
08:21 AM Feature #6522 (Closed): Migrate extconf.rb documentation from README.EXT to MakeMakefile
This issue was solved with changeset r35977.
Zachary, thank you for reporting this issue.
Your contribution to Ruby i...
drbrain (Eric Hodel)
08:17 AM Bug #6529 (Closed): missing words in description of =~ operator for Regexp
This issue was solved with changeset r35976.
Nathan, thank you for reporting this issue.
Your contribution to Ruby is...
drbrain (Eric Hodel)
05:41 AM Bug #6529 (Assigned): missing words in description of =~ operator for Regexp
drbrain (Eric Hodel)
08:09 AM Bug #6553 (Closed): confusing use of "p " in String#start_with? documentation
This issue was solved with changeset r35975.
Nathan, thank you for reporting this issue.
Your contribution to Ruby is...
drbrain (Eric Hodel)
07:57 AM Bug #6533: Benchmark documenation formatting bug and consistency
I also stripped out the emphasis for the "Generates:" lines entirely since the ri looks better that way, and re-wrapp... drbrain (Eric Hodel)
07:56 AM Bug #6533 (Closed): Benchmark documenation formatting bug and consistency
This issue was solved with changeset r35974.
Zachary, thank you for reporting this issue.
Your contribution to Ruby i...
drbrain (Eric Hodel)
07:47 AM Feature #6534: Delegator documentation for the bang operator
I added slashes to __getobj__ to escape the underlining. drbrain (Eric Hodel)
07:46 AM Feature #6534 (Closed): Delegator documentation for the bang operator
This issue was solved with changeset r35973.
Zachary, thank you for reporting this issue.
Your contribution to Ruby i...
drbrain (Eric Hodel)
07:40 AM Feature #6480 (Closed): [PATCH] Add HTTP status codes from RFC 6585
This issue was solved with changeset r35970.
Sangil, thank you for reporting this issue.
Your contribution to Ruby is...
drbrain (Eric Hodel)
07:23 AM Bug #6560 (Assigned): stdlib/ipaddr: IPSocket.valid? not defined as the documentation says
drbrain (Eric Hodel)
03:06 AM Bug #6560 (Closed): stdlib/ipaddr: IPSocket.valid? not defined as the documentation says
The stdlib documentation of "ipaddr" for Ruby 1.9.3 and 1.9.1 both say there's a method IPSocket.valid?. But that's n... paddor (Patrik Wenger)
07:20 AM Feature #6494: Send Accept-Encoding for all HTTP requests
Due to feedback from #6492 I have updated this patch to omit Accept-Encoding when Range is supplied in initheader.
...
drbrain (Eric Hodel)
04:47 AM Feature #6561: ?= operator
Related to #6023:
https://bugs.ruby-lang.org/issues/6023
rosenfeld (Rodrigo Rosenfeld Rosas)
04:32 AM Feature #6561 (Rejected): ?= operator
I have feature proposition to add new opearator ?= its like ||= but assigns only when variable is not defined
So it ...
slayer (Vlad Moskovets)
02:09 AM Revision a46bf824 (git): update async-signal-safe comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:57 AM Revision d410a38b (git): * process.c (rb_exec_async_signal_safe): extracted from rb_exec_err.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:40 AM Revision 4da82e58 (git): update async-signal-safe comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:07 AM Revision 4a9a7756 (git): * process.c: simplified because close_others option is always
enabled by default.
(rb_f_exec): don't need to set the option.
(rb_exec_arg_prepare): don't need to set the optio...
akr (Akira Tanaka)
12:18 AM Feature #6482: Add URI requested to Net::HTTP request and response objects
drbrain (Eric Hodel) wrote:
> naruse (Yui NARUSE) wrote:
> > and each response should have its own uri.
> >
> > ...
naruse (Yui NARUSE)
12:01 AM Revision 0ec4ae7c (git): * process.c (rb_proc_exec): call before_exec() here addition to
rb_exec_err.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)

06/08/2012

11:30 PM Revision c4c79e25 (git): thread_pthread.c: use stack info
* thread_pthread.c (ruby_init_stack): use stack info if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
11:21 PM Revision 5b2df41b (git): * README.EXT (prepare extconf.rb): Added note to see MakeMakefile for
documentation of extconf.rb functions. Patch by Zachary Scott.
[ruby-trunk - Feature #6522]
* README.EXT (Appendix...
drbrain (Eric Hodel)
11:17 PM Revision a60a58b1 (git): * doc/re.rdoc: Completed wording in the description of the =~ operator.
[ruby-trunk - Bug #6529]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
11:09 PM Revision 9fa6147b (git): * string.c (rb_str_start_with): Removed "p" from start_with? examples
to match other String method examples. [ruby-trunk - Bug #6553]
* string.c (rb_str_end_with): Updated end_with? to ...
drbrain (Eric Hodel)
11:07 PM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
drbrain (Eric Hodel) wrote:
> naruse (Yui NARUSE) wrote:
> > drbrain (Eric Hodel) wrote:
> > > Due to read_chunked...
naruse (Yui NARUSE)
09:48 AM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
naruse (Yui NARUSE) wrote:
> drbrain (Eric Hodel) wrote:
> > Due to read_chunked, and persistent connections I don'...
drbrain (Eric Hodel)
10:56 PM Revision b2b93d4b (git): * lib/benchmark.rb: Updated formatting of Benchmark documentation for
consistency. [ruby-trunk - Bug #6533]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35974 b2dd03c8-39d4-4d8f-9...
drbrain (Eric Hodel)
10:46 PM Revision 1d7798dc (git): * lib/delegate.rb: Added documentation for Delegator#!. Patch by
Zachary Scott. [ruby-trunk - Feature #6534]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35973 b2dd03c8-39d4-...
drbrain (Eric Hodel)
10:44 PM Revision 1102fd2f (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:41 PM Revision 7b5fb62b (git): Fix typo in RFC number
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
10:40 PM Revision 0d7a94e3 (git): * lib/net/http/responses.rb: Add RFC 6586 response codes. Patch by
Sangil Jung. [ruby-trunk - Feature #6480]
* lib/net/http/response.rb: ditto
* lib/net/http.rb: ditto
* lib/webrick...
drbrain (Eric Hodel)
10:14 PM Feature #6559 (Closed): Set DoNotReverseLookup to true in Webrick
I often find it annoying that it is too slow to test my web applications from VirtualBox because Webrick will try to ... rosenfeld (Rodrigo Rosenfeld Rosas)
10:06 PM Feature #4649: Adding parallel constructors to Ruby 2.0
If we're going to care about the results of the tasks, which I think it is a good idea, although it was really yours ... rosenfeld (Rodrigo Rosenfeld Rosas)
08:41 AM Feature #4649: Adding parallel constructors to Ruby 2.0
Received.
You want just Kernel#concurrently and Kernel#task?
And, Kernel#concurrently returns an array that conta...
mame (Yusuke Endoh)
03:22 AM Feature #4649: Adding parallel constructors to Ruby 2.0
Third wish! rosenfeld (Rodrigo Rosenfeld Rosas)
09:58 PM Feature #5011: Add Perl 6-like main method definition support: accept command-line arguments as method arguments
Not sure if it is that simple as I would need some way of extracting the argument names and default values from the m... rosenfeld (Rodrigo Rosenfeld Rosas)
08:30 AM Feature #5011: Add Perl 6-like main method definition support: accept command-line arguments as method arguments
Received.
Your proposal is interesting, but slightly vague.
I understand motivation, but not the detailed behavio...
mame (Yusuke Endoh)
09:51 PM Feature #4840: Allow returning from require
thanks for worrying, but I'll take the risk :) rosenfeld (Rodrigo Rosenfeld Rosas)
08:00 AM Feature #4840: Allow returning from require
Received. Thanks for quick action!
But, matz said "returning from outside of a method makes me so weird" once.
I...
mame (Yusuke Endoh)
09:46 PM Feature #6244 (Rejected): Removal of some unused functions from /ext/json/fbuffer/fbuffer.h
They are used by json generator. naruse (Yui NARUSE)
09:43 PM Feature #5588 (Feedback): add negation flag (v) to Regexp
naruse (Yui NARUSE)
09:19 PM Feature #6555: New comparison operators
=begin
I understand your hesitation in adding 8 more operators. It is not a little change. I am also aware that in R...
jEFF (Jean-François Berroyer)
01:11 AM Feature #6555: New comparison operators
One correction: you assume (a != b) being equal to !(a == b), but since 1.9, (a != b) calls != method.
I understan...
matz (Yukihiro Matsumoto)
01:05 AM Feature #6555: New comparison operators
=begin
Ok, il will try to explain my mind.
Imagine objects that are naturaly ordered like in a tree structure. Th...
jEFF (Jean-François Berroyer)
08:39 PM Bug #3796: make check fails on powerpc64 linux
Nobu, you are right, they are referring to the same RH bugzilla. So the r32542 should be the backported. Thank you. vo.x (Vit Ondruch)
05:46 PM Bug #3796 (Assigned): make check fails on powerpc64 linux
=begin
That reminds me.
Is this duplication of ((<[Bug#4411]|URL:https://bugs.ruby-lang.org/issues/4411>))?
Then bac...
nobu (Nobuyoshi Nakada)
04:02 PM Bug #3796: make check fails on powerpc64 linux
nobu (Nobuyoshi Nakada) wrote:
> I can't access https://brewweb.devel.redhat.com
I was looking at the patch attac...
shyouhei (Shyouhei Urabe)
12:03 AM Bug #3796: make check fails on powerpc64 linux
I can't access https://brewweb.devel.redhat.com nobu (Nobuyoshi Nakada)
04:29 PM Feature #2715: Optimization to avoid spawning shell in Kernel#system call should check for failure conditions
On Fri, Jun 8, 2012 at 3:21 AM, akr (Akira Tanaka) <[email protected]> wrote:
>
> Issue #2715 has been updated by akr (...
kosaki (Motohiro KOSAKI)
04:21 PM Feature #2715: Optimization to avoid spawning shell in Kernel#system call should check for failure conditions
> .... I realized IO.pid is crazy mistaken feature. It wouldn't work when using complex cmdline even if we will not r... akr (Akira Tanaka)
04:26 PM Revision 2fb032b7 (git): * process.c (rb_exec_err): before_exec() call moved from proc_exec_cmd
and proc_exec_sh.
(rb_proc_exec): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35969 b2dd03c8-39d4-4d...
akr (Akira Tanaka)
04:13 PM Revision bf4ecf1d (git): * 2012-06-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:13 PM Revision b9824fbb (git): * include/ruby/intern.h (rb_exec_arg_init): declaration changed to
return a value.
* process.c (rb_exec_arg_init): return a value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
akr (Akira Tanaka)
02:46 PM Revision 795c5f9b (git): * process.c: don't check the availability of FD_CLOEXEC. It should
be available if fork() is available.
* io.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35966 b2dd03...
akr (Akira Tanaka)
02:27 PM Feature #6552: Enumerator::Generator:select should return another Enumerator::Generator
You might be interested in Enumerator::Lazy that effectively solves you problem.
(123..Float::INFINITY).lazy.select{...
gregolsen (Innokenty Mikhailov)
01:50 PM Revision ba1c1786 (git): add comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:43 PM Revision 373a7d1a (git): * process.c (rb_fork_err): revert r35955. The condition needs !chfunc
to close ep[0] and ep[1]. The catched exception is re-raised
immediately after that if status is not NULL.
git-s...
akr (Akira Tanaka)
10:57 AM Revision c17c8ebb (git): * process.c (rb_exec_err): after_exec() call moved from proc_exec_cmd and
proc_exec_sh.
(rb_proc_exec): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35963 b2dd03c8-39d4-4d8f-...
akr (Akira Tanaka)
10:02 AM Revision 86c82ad6 (git): * process.c (ARGV_COUNT): unused macro removed.
(ARGV_SIZE): ditto.
(ALLOC_ARGV): ditto.
(ALLOC_ARGV_WITH_STR): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
akr (Akira Tanaka)
09:09 AM Bug #6558: Crash in garbage collection - using caller inside finalizer method
It does not crash for me using Ruby 1.9.3p0. I've also added a thread on top of the above script:... ibc (Iñaki Baz Castillo)
03:27 AM Bug #6558 (Rejected): Crash in garbage collection - using caller inside finalizer method
While debugging a hangup in a daemon, created the following program that crashes intermittently in 1.9.1 and 1.9.2 (d... wpaulson (Bill Paulson)
07:19 AM Revision 2696fb95 (git): test: realpath
* test/runner.rb (src_testdir): expand real path so that
TestGem#test_self_find_files does not fail by aliased load...
nobu (Nobuyoshi Nakada)
07:02 AM Bug #6553 (Assigned): confusing use of "p " in String#start_with? documentation
drbrain (Eric Hodel)
06:33 AM Feature #6557: Make rb_hash_clear() public
Well, I have a C extension (a reactor based on libuv) in which I would like to perform the "loop release" within a si... ibc (Iñaki Baz Castillo)
05:13 AM Feature #6557 (Feedback): Make rb_hash_clear() public
ibc (Iñaki Baz Castillo) wrote:
> Any reason for rb_hash_clear() not to be public C API?:
Because anyone hadn't r...
naruse (Yui NARUSE)
02:30 AM Feature #6557: Make rb_hash_clear() public
The same for rb_hash_size(). ibc (Iñaki Baz Castillo)
02:21 AM Feature #6557 (Closed): Make rb_hash_clear() public
Any reason for rb_hash_clear() not to be public C API?:... ibc (Iñaki Baz Castillo)
05:19 AM Bug #6556: ネストした配列の inspect で segv
ko1 (Koichi Sasada) wrote:
> (2012/06/08 0:36), naruse (Yui NARUSE) wrote:
> > ./miniruby -e'10000.times.inject(x=...
naruse (Yui NARUSE)
01:23 AM Bug #6556: ネストした配列の inspect で segv
(2012/06/08 0:36), naruse (Yui NARUSE) wrote:
>
> Issue #6556 has been reported by naruse (Yui NARUSE).
>
...
ko1 (Koichi Sasada)
12:36 AM Bug #6556 (Closed): ネストした配列の inspect で segv
./miniruby -e'10000.times.inject(x=[]){|a,|a<<(b=[]);b};x.inspect'
で segv します。
% ./miniruby -e'10000.times.inje...
naruse (Yui NARUSE)
05:12 AM Feature #4824: Provide method Kernel#executed?
I vote for `__MAIN__`.
I think "main" will resonate to a lot of people with different backgrounds to indicate the ...
fxn (Xavier Noria)
03:04 AM Revision 52c70364 (git): process.c: child process error state
* process.c (rb_fork_err): error state in the child process is prior
to exceptions in proc_syswait().
git-svn-id:...
nobu (Nobuyoshi Nakada)
02:26 AM Revision 182dc9d4 (git): process.c, ext/pty/pty.c: status on errors
* process.c (rb_fork_err): determine status on errors.
* ext/pty/pty.c (establishShell): reraise exception if somethi...
nobu (Nobuyoshi Nakada)
02:25 AM Revision bc81a19e (git): ext/pty/pty.c: status to protect
* ext/pty/pty.c (establishShell): now needs status to protect from
exceptions in rb_fork_err().
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
02:01 AM Bug #5780: test/fileutils/test_fileutils.rb:86: [BUG] Segmentation fault
Oh. hmmm.
I might be mistaken here; the Debian bug that is closed by the getcontext/setcontext fix is a crash in t...
Sledge (Steve McIntyre)
01:40 AM Revision 193681fb (git): * 2012-06-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:40 AM Revision dbcda636 (git): * thread_win32.c (native_thread_create): add a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
12:56 AM Feature #6480: [PATCH] Add HTTP status codes from RFC 6585
mame (Yusuke Endoh) wrote:
> Please commit it unless there is objection within a few days or a week.
> Thanks!
I...
naruse (Yui NARUSE)

06/07/2012

11:05 PM Feature #6555: New comparison operators
Tell us how useful those operators. Since all of these can be achieved by combination of other operators, I am not s... matz (Yukihiro Matsumoto)
09:03 PM Feature #6555 (Rejected): New comparison operators
=begin
x <=> y returns -1, 0, 1 or nil
(x <=> y) == -1 means "x less than y" and is the same as x < y
(x <=>...
jEFF (Jean-François Berroyer)
07:31 PM Bug #3796: make check fails on powerpc64 linux
I would also like to ask nobu to see if it is OK to call just_before_setjmp *after* calling getcontext(), which doesn... shyouhei (Shyouhei Urabe)
05:54 PM Bug #3796: make check fails on powerpc64 linux
This is not an issue for 1.9.3 as far as I know, so I would expect that trunk works as well. vo.x (Vit Ondruch)
05:18 PM Bug #3796: make check fails on powerpc64 linux
OK, this one applies cleanly to 1.8.7 branch, but not for trunk.
Should we move this issue to 1.8.7? Or is it sti...
shyouhei (Shyouhei Urabe)
04:51 PM Bug #3796: make check fails on powerpc64 linux
vo.x (Vit Ondruch) wrote:
> This issue is related to https://bugzilla.redhat.com/show_bug.cgi?id=628715 and there is...
naruse (Yui NARUSE)
03:38 PM Bug #3796: make check fails on powerpc64 linux
Hi,
This issue is related to https://bugzilla.redhat.com/show_bug.cgi?id=628715 and there is attached patch which ...
vo.x (Vit Ondruch)
04:32 PM Bug #6011 (Closed): ruby-1.9.3-p0/lib/webrick/utils.rb:184: [BUG] Segmentation fault
The build works with glibc-2.15-37.fc17 in F17. vo.x (Vit Ondruch)
04:21 PM Bug #5780: test/fileutils/test_fileutils.rb:86: [BUG] Segmentation fault
kosaki (Motohiro KOSAKI) wrote:
> Thank you. closed.
Could somebody more knowledgeable then me please invest some...
vo.x (Vit Ondruch)
04:23 AM Bug #5780 (Closed): test/fileutils/test_fileutils.rb:86: [BUG] Segmentation fault
Thank you. closed. kosaki (Motohiro KOSAKI)
02:38 PM Bug #6550: crash 1.9.3
Attaching my crash report for my test case (in case it's not the same issue as with your test case). You said you wer... mrbrdo (Jan Berdajs)
07:37 AM Bug #6550: crash 1.9.3
=begin
I have reproduced it and created a minimal test case (without rspec):
class TestClass
def self.tdef...
drbrain (Eric Hodel)
07:15 AM Bug #6550: crash 1.9.3
I cannot reproduce this crash with ruby 1.9.3p125 or ruby trunk r35913.
Can you show the output of your crash?
drbrain (Eric Hodel)
01:13 PM Revision 0d92aac6 (git): * process.c (rb_fork_err): Fix the conditoin to use rb_protect.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:41 PM Bug #6553 (Closed): confusing use of "p " in String#start_with? documentation
The three code samples given for the starts_with?() method (for the String class) all start with "p ". This is the o... nathanst (Nathan Stratton Treadway)
11:29 AM Revision 13edb951 (git): * include/ruby/intern.h: rb_exec_arg and related stuff moved back from
internal.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:05 AM Revision 15fbb87b (git): merge revision(s) 30993:
* ext/bigdecimal/bigdecimal.c (VpMemAlloc): Fixes a bug reported by Drew Yao <ayao at apple.com>
git-svn-id: svn+ss...
shyouhei (Shyouhei Urabe)
10:02 AM Feature #6482: Add URI requested to Net::HTTP request and response objects
naruse (Yui NARUSE) wrote:
> I'm still considering this, but current thought is
>
> The direction of this seems c...
drbrain (Eric Hodel)
04:35 AM Feature #6482: Add URI requested to Net::HTTP request and response objects
I'm still considering this, but current thought is
The direction of this seems correct.
On HTTP/1.1 requires Host...
naruse (Yui NARUSE)
09:29 AM Bug #6533: Benchmark documenation formatting bug and consistency
Hi Eric,
I've added a new patch with the change you requested for GC.start
Thanks for your feedback!
zzak (zzak _)
09:23 AM Feature #6534: Delegator documentation for the bang operator
I've added a new patch with a better description for ! from my discussion with Eric. zzak (zzak _)
09:07 AM Bug #6544: Broken links on lib/drb references documentation
Hello Seki-san,
I've added a new patch to remove the broken links and add a link to your book in drb's documentation.
zzak (zzak _)
07:56 AM Bug #6488: String#slice example has a syntax error
The references to the RDoc github commits don't show up as live links, so to save others the trouble of finding them,... nathanst (Nathan Stratton Treadway)
06:54 AM Revision 425b7890 (git): * 2012-06-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:54 AM Revision d556a475 (git): * .gdbinit: add function `trace_machine_instructions' to trace
in native machine assemble.
See https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/MachineInstructionsTraceWithGDB...
ko1 (Koichi Sasada)
06:47 AM Feature #6552 (Rejected): Enumerator::Generator:select should return another Enumerator::Generator
The current implementation of Enumerator:select fails when applied to an open ended Enumerator:Generator,
resulting ...
eike.rb (Eike Dierks)
05:23 AM Feature #2715: Optimization to avoid spawning shell in Kernel#system call should check for failure conditions
(6/5/12 3:55 PM), akr (Akira Tanaka) wrote:
>
> Issue #2715 has been updated by akr (Akira Tanaka).
>
>
>>...
kosaki (Motohiro KOSAKI)
04:08 AM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
drbrain (Eric Hodel) wrote:
> I've updated this patch. Upon working with the code again and looking at RFC 2616, I ...
naruse (Yui NARUSE)
03:51 AM Feature #6546 (Feedback): Net::HTTP to check for HTTP_PROXY environment setting.
I agree the concept, a patch is welcome. naruse (Yui NARUSE)

06/06/2012

09:38 PM Bug #5780: test/fileutils/test_fileutils.rb:86: [BUG] Segmentation fault
Seems that the #6011 was fixed by recent glibc-2.15-39.fc18 on Fedora Rawhide. Thank you Steve!
http://arm.koji.fedo...
vo.x (Vit Ondruch)
02:17 PM Bug #5780: test/fileutils/test_fileutils.rb:86: [BUG] Segmentation fault
We've found the solution to this problem in Debian. See
http://bugs.debian.org/652674
for more details. Basical...
Sledge (Steve McIntyre)
09:18 PM Feature #5617: Allow install RubyGems into dediceted directory
I am attaching updated patch with added !<verconf>! vo.x (Vit Ondruch)
03:11 PM Bug #6550 (Closed): crash 1.9.3
I was playing around and I got the 1.9.3 interpreter to crash.
Code: https://gist.github.com/2880210
Don't bother t...
mrbrdo (Jan Berdajs)
02:06 PM Bug #4960 (Feedback): Crash on start up using rubymine 107.315 build
Sorry for accidentally closing. this is only a mistake. usa (Usaku NAKAMURA)
01:29 PM Bug #4960 (Closed): Crash on start up using rubymine 107.315 build
This issue was solved with changeset r35937.
Pat, thank you for reporting this issue.
Your contribution to Ruby is gr...
usa (Usaku NAKAMURA)
02:04 PM Feature #4906 (Closed): rb_w32_add_socket / rb_w32_remove_socket
This issue was solved with changeset r35938.
Greg, thank you for reporting this issue.
Your contribution to Ruby is g...
usa (Usaku NAKAMURA)
01:35 PM Feature #4906: rb_w32_add_socket / rb_w32_remove_socket
Sorry to keep you waiting for a long time.
I've added rb_w32_wrap_io_handle() and rb_w32_unwrap_io_handle().
Alth...
usa (Usaku NAKAMURA)
01:10 PM Revision 7e0c93b0 (git): fix a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:34 PM Revision 7f83b7e1 (git): remove wrong comments.
earg is processed by surrounding rb_run_exec_options_err call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35...
akr (Akira Tanaka)
12:33 PM Revision 3c3b5632 (git): * process.c (proc_exec_cmd) renamed from proc_exec_v.
(proc_exec_sh): renamed from rb_proc_exec_e.
(proc_spawn_cmd_internal): renamed from proc_spawn_v.
(proc_spawn_cm...
akr (Akira Tanaka)
12:20 PM Revision ee011f7b (git): * process.c (try_with_sh): please take care of the macro defined by
you.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:11 PM Revision 78d7def6 (git): add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:58 AM Revision aaf6bde9 (git): update async-signal-safe comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:49 AM Revision 70232e40 (git): * process.c (proc_exec_v): don't call dln_find_exe_r here because it
is not async-signal-safe and proc_exec_v is called in a child
process.
command_abspath field of rb_exec_arg.
(r...
akr (Akira Tanaka)
11:09 AM Revision 76858374 (git): * process.c (try_with_sh): take envp argument.
(exec_with_sh): ditto. use it for execve.
(proc_exec_v): provide envp for try_with_sh.
git-svn-id: svn+ssh://ci....
akr (Akira Tanaka)
10:13 AM Feature #6539: public and private for core methods
No comments, so I'm assigning to Matz.
There are more than 150 older issues assigned to Matz already.
marcandre (Marc-Andre Lafortune)
08:31 AM Feature #6503: Support for the NPN extension to TLS/SSL
Thanks, Ilya, for the links!
@mame: I just checked the Python patch and what OpenSSL already provides and what woul...
MartinBosslet (Martin Bosslet)
07:32 AM Feature #6503: Support for the NPN extension to TLS/SSL
If nobody has claimed this yet, I'm happy to take a crack at it over the next couple of days. I know the guy who wrot... davidbalbert (David Albert)
06:16 AM Revision d18b6537 (git): merge revision(s) 23432:
* eval.c (rb_thread_join), ext/thread/thread.c (wake_one): adjusts
targets of rest waiting threads to join....
shyouhei (Shyouhei Urabe)
05:47 AM Revision 1acfb033 (git): merge revision(s) 28324:
* bignum.c (rb_big2dbl), test/ruby/test_bignum.rb (test_to_f):
A negative Bignum out of Float range should ...
shyouhei (Shyouhei Urabe)
05:34 AM Revision 996e9cf4 (git): @nobu you must run make test-all _before_ you check in.
reverting revision r34920 because it fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@35940 b...
shyouhei (Shyouhei Urabe)
05:20 AM Revision 69883b3e (git): merge revision(s) 33611:
* lib/webrick/utils.rb: fix fcntl call.
* lib/drb/unix.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
shyouhei (Shyouhei Urabe)
05:04 AM Revision 96b96832 (git): * ChangeLog: typo. [Feature #4906]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:55 AM Feature #2715: Optimization to avoid spawning shell in Kernel#system call should check for failure conditions
> As akr-san described, some shells have tail invocation optimization. Thus, even if ruby doesn't have shell invocati... akr (Akira Tanaka)
01:40 AM Feature #2715: Optimization to avoid spawning shell in Kernel#system call should check for failure conditions
Hmm...
As akr-san described, some shells have tail invocation optimization. Thus, even if ruby doesn't have shell ...
kosaki (Motohiro KOSAKI)
04:29 AM Revision f047b1f0 (git): * win32/win32.c, include/ruby/win32.h (rb_w32_wrap_io_handle): new API.
this API wraps an I/O handle (HANDLE or SOCKET) and returns fd.
the second parameter should be combination of O_*, ...
U.Nakamura
04:18 AM Revision 4c3e402c (git): * win32/win32.c (rb_w32_close): of course, console handle is not socket.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:39 AM Revision 494d0141 (git): * process.c (rb_run_exec_options_err): allocate a temporary buffer for
run_exec_dup2() for restoring fds on non-fork environments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35935...
U.Nakamura
02:46 AM Bug #6548 (Closed): Rake doesn't ignore arguments after --
I've created this issue first in GitHub before I realized that Rake is now part of stdlib:
https://github.com/jimw...
rosenfeld (Rodrigo Rosenfeld Rosas)
12:46 AM Revision 5e1e5d04 (git): * test/dl/test_c_{struct_entry,union_entity}.rb: sorry, typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura

06/05/2012

11:43 PM Bug #6475: Fix decryption example in OpenSSL docs
davidbalbert (David Albert) wrote:
> Is there anything I can do to speed up this process a little bit? I'm trying to...
MartinBosslet (Martin Bosslet)
07:16 AM Bug #6475: Fix decryption example in OpenSSL docs
Is there anything I can do to speed up this process a little bit? I'm trying to learn how to contribute to Ruby, and ... davidbalbert (David Albert)
08:29 PM Revision a4ef2bbd (git): * process.c (rb_exec_fillarg): check use_shell field before accessing
a union field.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:10 PM Revision 1c4e6066 (git): Split one big test to seven tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:59 PM Revision c8d6b6e8 (git): * process.c (rb_spawn_process): prog variable is not used for Unix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:31 PM Revision 0acd09c9 (git): update async-signal-safe comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:24 PM Revision baf500dc (git): * 2012-06-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:24 PM Revision 3162e673 (git): * internal.h (rb_exec_arg_init): change return type to void.
* process.c (rb_exec_arg_init): don't return a value.
(rb_exec_arg_prepare): ditto.
(rb_spawn_process): don't tak...
akr (Akira Tanaka)
02:53 PM Revision 53b17a76 (git): * internal.h (rb_exec_arg): use union to represent command invocation
with/without shell.
* process.c: follow the rb_exec_arg change.
* io.c (pipe_open): ditto.
git-svn-id: svn+ssh:/...
akr (Akira Tanaka)
02:33 PM Revision 71e79353 (git): update async-signal-safe comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:36 PM Bug #6547 (Assigned): DateTime.new does not call #initialize
=begin
It's a standard behavior of (({Class.new})) to allocate an instance and call
initialize method on it, but (({D...
nobu (Nobuyoshi Nakada)
11:46 AM Bug #6547 (Rejected): DateTime.new does not call #initialize
Classes that extend DateTime don't appear to have their "initialize" instance method called from "new".
To reprodu...
lmc (Luke Mcildoon)
01:29 PM Revision a79bbdf6 (git): * internal.h: rb_exec_arg and related stuff moved from intern.h
* include/ruby/intern.h (rb_proc_exec_n): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35925 b2dd03c...
akr (Akira Tanaka)
01:08 PM Revision 60d5e14b (git): installation dependencies
* common.mk (do-install-{all,nodoc,arch}): fix installation
dependencies so build exts also.
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
12:59 PM Revision ad5bfed1 (git): * process.c (rb_exec_arg_fixup): allocate a temporary buffer for
run_exec_dup2 here because it should be async-signal-safe.
(run_exec_dup2): use the temporary buffer.
(run_exec_d...
akr (Akira Tanaka)
11:13 AM Revision 2073258a (git): obj_init_copy
* object.c (rb_obj_init_copy): should check if trusted too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35922 ...
nobu (Nobuyoshi Nakada)
10:59 AM Revision b1ae6e47 (git): * process.c (strtok): declaration removed because it is not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:35 AM Revision e3d68590 (git): * process.c (proc_spawn): don't detect simple command line here
because rb_exec_fillarg already did.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35920 b2dd03c8-39d4-4d8f-98f...
akr (Akira Tanaka)
10:21 AM Revision e58ec337 (git): * process.c (rb_exec_fillarg): bail out a loop eagerly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:16 AM Revision 5b13036f (git): * process.c: add comments about async-signal-safe.
* io.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:06 AM Feature #6546 (Closed): Net::HTTP to check for HTTP_PROXY environment setting.
@nahi suggested I request the OS environment HTTP_PROXY be honoured.
Open-uri checks for this environment setting ...
dekz (Jacob Evans)
07:14 AM Feature #6530: Improve Racc documentation coverage
Since this documentation was sourced from https://github.com/tenderlove/racc/tree/master/doc/en I think it's best to ... drbrain (Eric Hodel)
06:52 AM Bug #6533: Benchmark documenation formatting bug and consistency
Can you drop the ... drbrain (Eric Hodel)
05:04 AM Revision 93b187ff (git): merge revision(s) 35865:
* lib/ipaddr.rb: Inhibit zero-filled octets in an IPv4 address in
all platforms. [ruby-dev:45671]
...
Akinori MUSHA
01:29 AM Revision ff3b2cb1 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:37 AM Revision 5da6f554 (git): * 2012-06-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:37 AM Revision e1b230d5 (git): * io.c: Edited documentation for IO and File open and new and
Kernel#open for consistency and clarity.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35914 b2dd03c8-39d4-4d8f...
drbrain (Eric Hodel)

06/04/2012

10:34 PM Feature #2715: Optimization to avoid spawning shell in Kernel#system call should check for failure conditions
I wrote a patch to remove the optimization:
remove-shell-invocation-optimization.patch
However it was not good en...
akr (Akira Tanaka)
10:24 PM Bug #6538: Mutability of Rational and Complex
An alternative way is "marshal format compatibility layer". nobu (Nobuyoshi Nakada)
04:22 AM Bug #6538 (Rejected): Mutability of Rational and Complex
ok, it's unnecessary. tadf (tadayoshi funaba)
01:12 AM Bug #6538: Mutability of Rational and Complex
Hi,
nobu (Nobuyoshi Nakada) wrote:
> Marshal compatibilities for (({Complex})) and (({Rational})) are already bro...
marcandre (Marc-Andre Lafortune)
09:54 PM Bug #6535 (Closed): [MinGW] Unexpected close program dialog for TestRubyOptions#test_segv_test
This issue was solved with changeset r35913.
Luis, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
01:14 PM Bug #6535: [MinGW] Unexpected close program dialog for TestRubyOptions#test_segv_test
So, this is mingw issue, I guess. usa (Usaku NAKAMURA)
09:41 AM Bug #6535: [MinGW] Unexpected close program dialog for TestRubyOptions#test_segv_test
I saw similar blocking issues with the following tests while MinGW test-all, but mswin build doesn't have.
test_se...
h.shirosaki (Hiroshi Shirosaki)
08:57 PM Feature #4477 (Closed): Kernel:exec and backtick (`) don't work for certain system commands
The feature of shell, invoke /bin/sh after ENOEXEC, is implemented
at r33009 of Ruby.
So this example works now a...
akr (Akira Tanaka)
08:53 PM Feature #4477: Kernel:exec and backtick (`) don't work for certain system commands
#3856 is at RubyForge tracker:
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=3856&group_id=426
akr (Akira Tanaka)
05:37 PM Feature #6515: array.c: added method that verifies if an Array is part of another
Eregon (Benoit Daloze) wrote:
> as = a.to_set
> b.all? { |e| as.include?(e) }
>
> Which does not allocate an int...
Eregon (Benoit Daloze)
05:35 PM Feature #6515: array.c: added method that verifies if an Array is part of another
lellisga (Li Ellis Galardo) wrote:
> a = [1,2,3,4,5,6,7].to_set
> => #<Set: {1, 2, 3, 4, 5, 6, 7}>
> b = [1,2,3]...
Eregon (Benoit Daloze)
02:36 PM Feature #6515: array.c: added method that verifies if an Array is part of another
Sorry but i'm not sure what you are asking. In other words you really think it's easier to do this:
a = [1,2,3,4...
lellisga (Li Ellis Galardo)
03:39 PM Feature #6418 (Closed): Supporing a subset of ANSI escape code on Windows
This issue was solved with changeset r35907.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is ...
nobu (Nobuyoshi Nakada)
02:32 PM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
Activesupport gem seems to have a problem with this, too: https://github.com/rails/rails/issues/5355.
In short, if n...
Anonymous
01:29 PM Feature #6545 (Closed): inconvinient require order of DL
I found that test/dl/test_c_{struct,union}_entity.rb was broken when running
test-all with -j option.
The problem w...
usa (Usaku NAKAMURA)
12:54 PM Revision 07e222d7 (git): no windows dialog
* win32/win32.c (rb_w32_sysinit): let the system not display the
critical-error-handler message box and the Windows...
nobu (Nobuyoshi Nakada)
12:52 PM Revision 9ab2ce20 (git): don't exec in the test process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:13 AM Revision 993b4f39 (git): add comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:01 AM Revision 71fd73df (git): * process.c (rb_exec_fillarg): allocate one more element before
beginning in argv_str for try_with_sh.
* internal.h (ARGVSTR2ARGC): adjust for the above change.
(ARGVSTR2ARGV): d...
akr (Akira Tanaka)
10:19 AM Revision 41819dc4 (git): * internal.h (ARGVSTR2ARGC): defined.
(ARGVSTR2ARGV): defined.
* process.c (proc_exec_v): use ARGVSTR2ARGV.
(rb_spawn_process): use ARGVSTR2ARGC and ARG...
akr (Akira Tanaka)
08:14 AM Bug #6544 (Closed): Broken links on lib/drb references documentation
Hi seki, I've added a patch to remove the broken links in drb documentation. zzak (zzak _)
07:24 AM Revision 06513cc1 (git): * vm_insnhelper.h: remove magical code "lfp[0] & 0x02".
Current VM doesn't use this bit.
* vm_core.h (RUBY_VM_GET_BLOCK_PTR): added.
* eval.c (rb_block_given_p): use RUBY_VM...
ko1 (Koichi Sasada)
06:39 AM Revision 82aa4340 (git): win32: VT100 escape
* win32/win32.c (constat_apply): apply VT100 functions.
[ruby-core:44958] [Feature #6418]
* win32/win32.c (constat_...
nobu (Nobuyoshi Nakada)
05:46 AM Revision de8eb56e (git): merge definitions
* process.c (proc_exec_v, rb_proc_exec_e): merge definitions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3590...
nobu (Nobuyoshi Nakada)
05:46 AM Revision b89e9bf5 (git): unused parameter
* process.c (proc_spawn_n): remove unused parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35905 b2dd03c...
nobu (Nobuyoshi Nakada)
05:33 AM Revision a99d3a62 (git): unused variables
* io.c (pipe_open): argc and argv are not used on win32.
* process.c (rb_spawn_process): remove already useless vari...
nobu (Nobuyoshi Nakada)
05:06 AM Revision 9bb642d6 (git): * process.c (rb_exec_err): should preserve errno.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:02 AM Revision efebb5b1 (git): Suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:10 AM Revision 00e4c2e3 (git): * test/dl/test_c_{struct,union}_entity.rb: broken require.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:04 AM Revision 2e7c7696 (git): * test/ruby/test_backtrace.rb: fix test.
Windows path includes `:' character.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35900 b2dd03c8-39d4-4d8f-98...
ko1 (Koichi Sasada)
02:49 AM Revision bac9f65f (git): * vm_core.h (rb_location_t): fix type and field name.
(1) rename rb_location_t to rb_iseq_location_t.
(2) rename field names of rb_iseq_location_t to adjust
RubyVM::Ba...
ko1 (Koichi Sasada)
02:40 AM Revision 81a0c608 (git): compatible loader
* marshal.c (r_object0): also load TYPE_USRMARSHAL, TYPE_DATA using
compatible loader.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
02:36 AM Revision 2493e48d (git): * process.c (rb_run_exec_options_err): restore save_env() call for
non-fork environments.
* process.c (rb_exec_err): restore environments after the failure of
exec to fix [ruby-core...
U.Nakamura
01:44 AM Revision 859869e5 (git): * io.c (pipe_open): follow up changes in r35889.
* process.c (proc_spawn_n): now uses char ** instead of VALUE *.
* process.c (rb_spawn_process): prog is now VALUE o...
U.Nakamura
12:49 AM Feature #6483: parametric map
I've made a simple extension that allows one to use nested symbolic-procs like this:
```ruby
[[1,2,3],[4,5,6]].ma...
prijutme4ty (Ilya Vorontsov)

06/03/2012

11:55 PM Bug #6538: Mutability of Rational and Complex
i thought it first.
but it is cheap trick too (or nils filled instead).
i doubt about this issue.
really need?
tadf (tadayoshi funaba)
11:27 PM Bug #6538 (Assigned): Mutability of Rational and Complex
=begin
What about adding "uninitialized (just allocated) flag" and checking
if it is set in (({marshal_load})) method...
nobu (Nobuyoshi Nakada)
11:19 PM Bug #6538: Mutability of Rational and Complex
=begin
Marshal compatibilities for (({Complex})) and (({Rational})) are already broken,
since the time they were buil...
nobu (Nobuyoshi Nakada)
07:29 PM Bug #6538: Mutability of Rational and Complex
class IM
def initialize(s) @s = s end
attr :s
end
i = IM.new(1)
i.s #=> 1
i.instance_eval{@s = 100}
i.s ...
tadf (tadayoshi funaba)
12:41 PM Bug #6538 (Open): Mutability of Rational and Complex
I see that this trick won't work if it's frozen after your commit, but the the freeze part was just more fun, sorry. ... marcandre (Marc-Andre Lafortune)
10:32 AM Bug #6538 (Closed): Mutability of Rational and Complex
anyway forbade it.
this is not a magic.
but this trick seems also effective to others.
> r = Random.new
#=> #<R...
tadf (tadayoshi funaba)
09:35 AM Bug #6538 (Assigned): Mutability of Rational and Complex
nobu (Nobuyoshi Nakada)
07:20 AM Bug #6538 (Rejected): Mutability of Rational and Complex
I hesitated to report this, but there is a "hole" in the immutability of Rational & Complex:
r = Rational(0) #...
marcandre (Marc-Andre Lafortune)
10:08 PM Bug #6328 (Closed): Incorrect FSF addres in GPL license file
This issue was solved with changeset r35888.
Vit, thank you for reporting this issue.
Your contribution to Ruby is gr...
naruse (Yui NARUSE)
09:43 PM Feature #4146: Improvement of Symbol and Proc
I also propose to consider recursive application for a method in a style I've written in http://bugs.ruby-lang.org/is... prijutme4ty (Ilya Vorontsov)
09:13 PM Revision 436d819b (git): adjust indent
* marshal.c (r_object0): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35895 b2dd03c8-39d4-4d8f-...
nobu (Nobuyoshi Nakada)
09:12 PM Revision f392a8aa (git): remove old warning
* marshal.c (r_object0): remove old warning for _alloc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35894 b2d...
nobu (Nobuyoshi Nakada)
07:26 PM Revision eb6579e6 (git): * marshal.c: experimental test aborted.
* complex.c: ditto.
* rational.c: ditto.
* include/ruby/intern.h: ditto.
git-svn-id: svn+ssh://ci.r...
Tadayoshi Funaba
05:29 PM Bug #6249 (Closed): Process.exec doesn't restore the environment if it fails
This issue was solved with changeset r35882.
John, thank you for reporting this issue.
Your contribution to Ruby is g...
akr (Akira Tanaka)
03:45 PM Revision 6b348951 (git): * process.c (rb_spawn_process): fix for Windows. not tested.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:13 PM Revision 78713916 (git): * 2012-06-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:13 PM Revision 93e005d1 (git): * process.c (rb_proc_exec_e): don't use ISSPACE(). \f, \r and \v
are not word separator in Bourne shell.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35890 b2dd03c8-39d4-4d8f-...
akr (Akira Tanaka)
02:53 PM Revision 9ee4575e (git): * include/ruby/intern.h (rb_exec_arg): remove argc and argv fields.
add use_shell, argv_str and argv_buf fields.
* process.c (rb_proc_exec_e): don't split shell command line arguments
...
akr (Akira Tanaka)
01:07 PM Revision d70af743 (git): * GPL: update text of GPLv2. [ruby-core:44488] [Bug #6328]
http://www.gnu.org/licenses/gpl-2.0.txt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35888 b2dd03c8-39d4-4d8f-9...
naruse (Yui NARUSE)
12:25 PM Revision cb44ffc4 (git): * process.c (rb_exec_getargs): remove rb_exec_arg argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:21 PM Revision f5b06413 (git): * marshal.c: calls directly rb_{Complex,Rational}_marshal_load().
But now disabled. [experimental]
* complex.c: followed the above.
* rational.c: ditto.
* incl...
Tadayoshi Funaba
12:18 PM Revision 9977e1cb (git): * process.c (rb_check_argv): use rb_str_new_frozen instead of
rb_str_new4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:25 AM Feature #6481 (Rejected): Add exists? to Pathname GH #126
Ruby has a rule that method names should use a bare verb.
For example, matz described it in [ruby-dev:20735].
I'm...
akr (Akira Tanaka)
11:16 AM Bug #6541 (Closed): marshal_load discards frozen objects
https://bugs.ruby-lang.org/issues/6538#change-26982 nobu (Nobuyoshi Nakada)
11:15 AM Bug #6540 (Closed): marshal_load discards frozen objects
https://bugs.ruby-lang.org/issues/6538#change-26982 nobu (Nobuyoshi Nakada)
11:12 AM Revision 033e2187 (git): * process.c (rb_proc_exec_e): extended version of rb_proc_exec() to
call execle().
(rb_proc_exec): use rb_proc_exec_e().
(rb_exec_err): use rb_proc_exec_e().
git-svn-id: svn+ssh:/...
akr (Akira Tanaka)
10:47 AM Revision 190d319d (git): * thread.c (vm_living_thread_num): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:29 AM Revision f4f28bf7 (git): * use execve() to preserve environment variables when exec method is
failed. [ruby-core:44093] [ruby-trunk - Bug #6249]
* include/ruby/intern.h (rb_exec_arg): add envp_str and envp_buf...
akr (Akira Tanaka)
07:55 AM Feature #6539 (Closed): public and private for core methods
I feel there are inconsistencies in which methods are public and which are private.
For example:
```
obj = [...
marcandre (Marc-Andre Lafortune)
07:34 AM Revision 694035eb (git): use rb_marshal_{dump,load}
* marshal.c: revert r35879 "now marshal_{load|dump} are external."
* complex.c (nucomp_marshal__{dump,load}): should ...
nobu (Nobuyoshi Nakada)
05:17 AM Revision 5dc5a526 (git): modified tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
05:15 AM Revision d9dd6f5d (git): now marshal_{load|dump} are external.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
05:14 AM Revision 1ddb6f70 (git): * ext/date/date_core.c: checks whether the object is frozen or not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
05:05 AM Revision bdc55aa0 (git): * complex.c: wrote Complex#_dump and Complex::load. But now
disabled (due to compatibility) [experimental].
* rational.c: wrote Rational#_dump and Rational::load. ditto...
Tadayoshi Funaba
04:49 AM Feature #6532 (Rejected): More methods for Hash and Array: Hash#has_all_keys? and family, Array#delete_at for multiple arguments
I've written a short wiki on making feature requests: http://bugs.ruby-lang.org/projects/ruby/wiki/HowToRequestFeatur... marcandre (Marc-Andre Lafortune)
03:04 AM Feature #6532: More methods for Hash and Array: Hash#has_all_keys? and family, Array#delete_at for multiple arguments
You should have a look at #values_at about #selection.
I'm against has_*_keys?, because I think using any?,all?,.....
Eregon (Benoit Daloze)
01:43 AM Bug #6536 (Closed): Fix broken links for Programming Ruby book
I've added a patch to update the links in lib/drb and lib/observer to the Programming Ruby book. zzak (zzak _)
01:28 AM Bug #6535 (Closed): [MinGW] Unexpected close program dialog for TestRubyOptions#test_segv_test
=begin
Hello,
While running tests for MinGW-based build of trunk, I've found the mentioned test (test_segv_test) ...
luislavena (Luis Lavena)
01:26 AM Revision 89ae71d7 (git): * complex.c (nucomp_marshal_load): [ruby-core:45394]
* rational.c (nurat_marshal_load): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35876 b2dd03c8-39d4-4d8...
Tadayoshi Funaba
12:22 AM Feature #6418: Supporing a subset of ANSI escape code on Windows
Nobu, Usa,
Apply plans to apply this?
I've been using it locally with good results. Tools like Spinach, MiniTes...
luislavena (Luis Lavena)
12:02 AM Feature #6534 (Closed): Delegator documentation for the bang operator
I've added a patch to cover Delegator#!(), and fix a nodoc bug.
The nodoc bug may be a separate issue for rdoc, pl...
zzak (zzak _)
 

Also available in: Atom