Project

General

Profile

Activity

From 09/30/2013 to 10/06/2013

10/06/2013

08:08 PM Feature #8636: Documentation hosting on ruby-lang.org
Here's my TODO:
* get README's working as RDoc index page for each version
* produce a global index page to link ...
zzak (zzak _)
09:13 AM Feature #8636: Documentation hosting on ruby-lang.org
I'm going to prepare docs.ruby-lang.org.
but I worried about doc.ruby-lang.org and docs.ruby-lang.org. doc is Japa...
hsbt (Hiroshi SHIBATA)
08:45 AM Feature #8636 (Feedback): Documentation hosting on ruby-lang.org
I have a build script setup on github. It needs an index page and to be tested before we can get the server and dns g... zzak (zzak _)
06:43 PM Revision e51c6245 (git): * 2013-10-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:43 PM Revision d0526760 (git): NEWS: timeout
* NEWS (Stdlib updates): uptdate of timeout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43159 b2dd03c8-39d4-4...
nobu (Nobuyoshi Nakada)
06:43 PM Revision cd006f08 (git): io.c: use local variables instead of struct members
* io.c (copy_stream_body): move src_io and dst_io back to top level
and use instead of stp->src and stp->dst.
git-...
nobu (Nobuyoshi Nakada)
01:52 PM Revision 99526d0f (git): io.c: suppress false uninitialized-variable warning
* io.c (io_ascii8bit_binmode): split from rb_io_ascii8bit_binmode() to
call with rb_io_t* directly.
* io.c (copy_s...
nobu (Nobuyoshi Nakada)
01:52 PM Revision 7f41aa5f (git): signal.c: get rid of system name
* signal.c (sighandler_t): get rid of clash with system provided name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
10:17 AM Bug #7445: strptime('%s %z') doesn't work
Also, if `'%s'` is used for UTC, then why do we get this?
~~~ruby
require 'time'
Time.strptime('0', '%s')
=> 19...
felipec (Felipe Contreras)
08:46 AM Bug #8990: please disable *context on hurd
1. Every workaroud patch should have a comment why it is needed any which version has a problem. Even though prior wo... kosaki (Motohiro KOSAKI)
06:48 AM Bug #8990 (Closed): please disable *context on hurd
This bug can be reproduced in Ruby 1.8 as well.
Attached patch disables *context use on hurd.
Hurd implementation...
gg0 (Gabriele Giacone)
08:32 AM Bug #8989 (Feedback): Ruby 2.1 unable to build because of problem with rdoc directory
Did you try "make distclean" first? zzak (zzak _)
03:14 AM Bug #8989: Ruby 2.1 unable to build because of problem with rdoc directory
Also, I have just tried to build Ruby 2.0.0-p247 on the same machine and have experienced the same problem. I have ne... AlamoZ (Adrien Lamothe)
02:59 AM Bug #8989 (Closed): Ruby 2.1 unable to build because of problem with rdoc directory
Trying to build ruby-2.1.0-preview1 and am receiving the following error when running make:
Generating RDoc docume...
AlamoZ (Adrien Lamothe)
12:58 AM Bug #8988 (Closed): [DOC] fix incorrect documentation for SizedQueue
The SizedQueue documentation was incorrect for both SizedQueue#pop and SizedQueue#num_waiting. This patch adds correc... jackdanger (Jack Danger)
12:38 AM Revision be903332 (git): test_tempfile.rb: fix test on Windows
* test/test_tempfile.rb (test_tempfile_finalizer_does_not_run_if_unlinked):
open file cannot be deleted on Windows....
nobu (Nobuyoshi Nakada)
12:28 AM Revision 21212fba (git): test_old_thread_select.rb: ignore short wait on Windows
* test/-ext-/old_thread_select/test_old_thread_select.rb
(test_old_select_signal_safe): ignore short wait on Window...
nobu (Nobuyoshi Nakada)
12:26 AM Feature #8987: map/collect extension which handles arguments
In case of commutative operations like `+`, you can do it like this:
~~~ruby
[1, 2, 3, 4].map(&4.method(:+))
# =...
sawa (Tsuyoshi Sawada)
12:22 AM Revision 803c3929 (git): test_sleep.rb: get rid of failure on Windows
* test/ruby/test_sleep.rb (test_sleep_5sec): relax bottom on Windows.
assert_operator should test on the receiver.
...
nobu (Nobuyoshi Nakada)
12:16 AM Revision 6d757c79 (git): test_thread.rb: ignore meaningless test
* test/ruby/test_thread.rb (test_blocking_mutex_unlocked_on_fork):
ignore meaningless test on platforms where fork(...
nobu (Nobuyoshi Nakada)

10/05/2013

11:39 PM Revision c55e4dd3 (git): * 2013-10-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:39 PM Revision 1dc1171f (git): * lib/webrick.rb: [DOC] fix grammar in WEBrick overview [Fixes GH-413]
Based on patch by @chastell https://github.com/ruby/ruby/pull/413
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
zzak (zzak _)
11:02 PM Feature #8987 (Open): map/collect extension which handles arguments
Please consider extending map/collect by allowing additional arguments to be passed to proc, like:
A: `[1,2,3,4].map...
sowieso (So Wieso)
08:34 PM Bug #8433: Mutexes held by background threads at fork not always released
Thank you for the quick response! Any chance this will be backported to 1.9.3? obrie (Aaron Pfeifer)
11:21 AM Bug #8433 (Closed): Mutexes held by background threads at fork not always released
This issue was solved with changeset r43148.
Ben, thank you for reporting this issue.
Your contribution to Ruby is gr...
nobu (Nobuyoshi Nakada)
12:44 AM Bug #8433: Mutexes held by background threads at fork not always released
I've submitted a proposed patch for this issue at https://github.com/ruby/ruby/pull/415 . This seems to have done th... obrie (Aaron Pfeifer)
10:53 AM Feature #8985: xwillfree - promise to free memory
(2013/10/04 21:38), funny_falcon (Yura Sokolov) wrote:
> Any way, I like idea with additional argument to function...
ko1 (Koichi Sasada)
06:00 AM Bug #8986 (Closed): test suite error: TestNetHTTP_v1_2_chunked#test_timeout_during_HTTP_session
=begin
Recently, I started to observe following test suite error quite often:
TestNetHTTP_v1_2_chunked#test_time...
vo.x (Vit Ondruch)
02:21 AM Revision 6950d366 (git): thread.c: fix some mutexes remaining locked after forking
* thread.c (terminate_atfork_i): fix locking mutexes not unlocked in
forks when not tracked in thread. [ruby-core:...
nobu (Nobuyoshi Nakada)
02:21 AM Revision 57b8687d (git): thread.c: fix some mutexes remaining locked after forking
* thread.c (terminate_atfork_i): fix locking mutexes not unlocked in
forks when not tracked in thread. [ruby-core:...
nobu (Nobuyoshi Nakada)
01:28 AM Bug #8616: Process.daemon messes up threads
... and r40534 to resolve conflict.
merged r40534,r 41886 r41903, r41910 to ruby_2_0_0 at r43142.
nagachika (Tomoyuki Chikanaga)
12:09 AM Bug #8616 (Closed): Process.daemon messes up threads
I'll backport r41886, r41903 and r41910 to ruby_2_0_0.
Thank you for your notice!
nagachika (Tomoyuki Chikanaga)
01:02 AM Revision a10c9a0e (git): common.mk: revert r43137 and r43145
* common.mk (sizes.c): revert r43137 and r43145, because the former
commit made sizes.c rebuild always each build.
...
nobu (Nobuyoshi Nakada)
12:18 AM Revision 7ea58635 (git): * 2013-10-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:18 AM Revision 156eb848 (git): common.mk: sizes.c depends on PREP now
* common.mk (sizes.c): now depends on PREP, which is miniruby if
native compile or fake.rb otherwise, to run MINIRU...
nobu (Nobuyoshi Nakada)

10/04/2013

09:53 PM Feature #8985: xwillfree - promise to free memory
(2013/10/04 21:30), SASADA Koichi wrote:
> Ah, it is synchronicity.

because we Heroku ruby team discussing ab...
ko1 (Koichi Sasada)
09:53 PM Feature #8985: xwillfree - promise to free memory
Ah, it is synchronicity.

I have another idea to approach for it.

how about another version of ruby_xfree()...
ko1 (Koichi Sasada)
09:38 PM Feature #8985: xwillfree - promise to free memory
SASADA Koichi wrote:
> Ah, it is synchronicity.
>
> I have another idea to approach for it.
>
> how about another v...
funny_falcon (Yura Sokolov)
08:38 PM Feature #8985 (Closed): xwillfree - promise to free memory
This patch changes semantic of RUBY_GC_MALLOC_LIMIT.
Instead of being "periodical trigger" it becomes more like "saf...
funny_falcon (Yura Sokolov)
09:23 PM Bug #8122 (Closed): [patch] gc: GC.stat improvements and related cleanup
tmm1 (Aman Karmani)
08:07 PM Bug #8984 (Closed): ObjectSpace.memsize_of(obj) should return with sizeof(RVALUE)
Now, ObjectSpace.memsize_of(obj) return without sizeof(RVALUE).
For example, ObjectSpace.memsize_of('foo') returns 0...
ko1 (Koichi Sasada)
07:53 PM Feature #8981: Suggestion for CreateProcess flags with rubyw on windows
I would just open a ticket, this will give you a much better chance at feedback.


On Oct 2, 2013, at 5:35 PM, Ja...
zzak (zzak _)
07:47 PM Bug #8944: Error in example code of DL::CFunc
Thanks! I'll write a patch for this soon <3 zzak (zzak _)
12:24 PM Bug #8944 (Assigned): Error in example code of DL::CFunc
nagachika (Tomoyuki Chikanaga)
07:32 PM Bug #8673: User rest-client PUT request core dumped
the version is:
"OpenSSL 1.0.1c 10 May 2012"
gabrielwei (Hao Wei)
07:05 PM Bug #8983 (Closed): [PATCH] GC.stat[:heap_free_num] returns number of unused slots on heap
This issue was solved with changeset r43138.
Aman, thank you for reporting this issue.
Your contribution to Ruby is g...
tmm1 (Aman Karmani)
12:44 PM Bug #8983: [PATCH] GC.stat[:heap_free_num] returns number of unused slots on heap
Actually we already have heap.final_num. Is this the same as zombie_num? tmm1 (Aman Karmani)
10:53 AM Bug #8983: [PATCH] GC.stat[:heap_free_num] returns number of unused slots on heap
> (2) count zombie_num
>
> (objspace->heap.limit -
> (objspace_live_num(objspace) - zombie_num)
I like t...
tmm1 (Aman Karmani)
10:29 AM Bug #8983: [PATCH] GC.stat[:heap_free_num] returns number of unused slots on heap
(2013/10/04 10:09), tmm1 (Aman Gupta) wrote:
> I understand the slot is removed, but `objspace_live_num` includes ...
ko1 (Koichi Sasada)
10:09 AM Bug #8983: [PATCH] GC.stat[:heap_free_num] returns number of unused slots on heap
I understand the slot is removed, but `objspace_live_num` includes unfinalized objects so I included them in `heap_li... tmm1 (Aman Karmani)
08:53 AM Bug #8983: [PATCH] GC.stat[:heap_free_num] returns number of unused slots on heap
(2013/10/03 18:29), naruse (Yui NARUSE) wrote:
> https://github.com/tmm1/ruby/compare/gc-stat-free-num.patch

...
ko1 (Koichi Sasada)
07:38 AM Bug #8983: [PATCH] GC.stat[:heap_free_num] returns number of unused slots on heap
ko1-san, if you agree with this patch I can commit it. tmm1 (Aman Karmani)
05:30 PM Revision 514878d1 (git): merge revision(s) 43112,43114,43117,43118: [Backport #8980]
* io.c (rb_io_close_read): keep fptr in write_io to be discarded, to
fix freed pointer access when it is in...
nagachika (Tomoyuki Chikanaga)
05:13 PM Revision 3cfa0074 (git): merge revision(s) 43090,43091: [Backport #8966]
* vm_method.c (rb_undef): raise a NameError if the original method
of a refined method is not defined.
...
nagachika (Tomoyuki Chikanaga)
04:25 PM Revision ea2c9da9 (git): merge revision(s) 40534,41886,41903,41910: [Backport #8616]
process.c: rb_daemon should not raise
* process.c (rb_daemon): should not raise exceptions, since
proc_dae...
nagachika (Tomoyuki Chikanaga)
03:38 PM Feature #8977: String#frozen that takes advantage of the deduping
@nobu
You can implement a separate string pool in 2.0 using like so:
~~~ruby
require 'weakref'
class Pool
...
sam.saffron (Sam Saffron)
02:36 PM Feature #8977: String#frozen that takes advantage of the deduping
> I have seen the suggestion around of having String#freeze amend the object id on the current string, so for example... Anonymous
02:33 PM Feature #8977: String#frozen that takes advantage of the deduping
@hedius
I have seen the suggestion around of having String#freeze amend the object id on the current string, so fo...
sam.saffron (Sam Saffron)
09:59 AM Feature #8977: String#frozen that takes advantage of the deduping
(2013/10/04 9:35), nobu (Nobuyoshi Nakada) wrote:
> It differs from the original proposal, which is called explici...
ko1 (Koichi Sasada)
09:35 AM Feature #8977: String#frozen that takes advantage of the deduping
It differs from the original proposal, which is called explicitly by applications/libraries.
I think such pooled str...
nobu (Nobuyoshi Nakada)
09:29 AM Feature #8977: String#frozen that takes advantage of the deduping
(2013/10/04 9:14), nobu (Nobuyoshi Nakada) wrote:
> I don't think it needs a new method nor class.
>
> ~~~rub...
ko1 (Koichi Sasada)
09:14 AM Feature #8977: String#frozen that takes advantage of the deduping
I don't think it needs a new method nor class.
~~~ruby
frozen_pool = Hash.new {|h, s| h[s.freeze] = s}
3.times...
nobu (Nobuyoshi Nakada)
02:22 PM Bug #8616: Process.daemon messes up threads
I'll check r41910 to be backported later.
This ticket can be closed (for trunk)?
nagachika (Tomoyuki Chikanaga)
01:31 PM Bug #8968: Baseruby is required after patching configure.in
nobu (Nobuyoshi Nakada) wrote:
> Not only sizes.c, you need BASERUBY to generate some source files after touching te...
vo.x (Vit Ondruch)
09:05 AM Bug #8968: Baseruby is required after patching configure.in
Not only sizes.c, you need BASERUBY to generate some source files after touching template files.
It's your responsib...
nobu (Nobuyoshi Nakada)
12:16 PM Feature #8939 (Closed): symbol / string invariance (for hashes)
nagachika (Tomoyuki Chikanaga)
12:14 PM Bug #8925: Traversing a tree of files/catalogues produces a segmentation fault in find.rb
Hello,
Thank you for your report.
Could you reproduce this issue with trunk?
nagachika (Tomoyuki Chikanaga)
10:56 AM Revision 80153973 (git): * ext/dbm/dbm.c: [DOC] Fix wrong constant name in DBM by @edward
[Fixes GH-409] https://github.com/ruby/ruby/pull/409
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43141 b2dd03...
zzak (zzak _)
10:52 AM Revision 8d9e3cd9 (git): gc.c: rename heap.free_num to heap.swept_num
* gc.c: rename heap.free_num as heap.swept_num to clarify meaning and
avoid confusion with objspace_free_num().
gi...
tmm1 (Aman Karmani)
10:05 AM Revision 907a03fe (git): gc.c: add objspace_free_num and make GC.stat[:heap_free_num] use it
* gc.c (objspace_free_num): new method for available/free slots on
heap. [ruby-core:57633] [Bug #8983]
...
tmm1 (Aman Karmani)
10:05 AM Revision a24705cf (git): gc.c: add rb_objspace.limit
* gc.c: add rb_objspace.limit to keep accurate count of total heap
slots [ruby-core:57633] [Bug #8983]
git...
tmm1 (Aman Karmani)
09:32 AM Feature #8929 (Closed): CSV.foreach(filename) without block returns failing Enumerator
This issue was solved with changeset r43135.
Martin, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
02:13 AM Feature #8929: CSV.foreach(filename) without block returns failing Enumerator
another sample where the difference is shown:
CSV.foreach('test.csv').with_index { |csv,i| p i } #<< fails
CSV.to...
Hanmac (Hans Mackowiak)
07:36 AM Revision 0f8032ba (git): common.mk: make sizes.c with MINIRUBY
* common.mk (sizes.c): use MINIRUBY because Init_sizes() for miniruby
is defined in miniinit.c and miniruby does no...
nobu (Nobuyoshi Nakada)
12:32 AM Revision 06583e1f (git): * 2013-10-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:32 AM Revision 28204c67 (git): csv.rb: foreach enumerator
* lib/csv.rb (CSV.foreach): support enumerator. based on a patch by
Hanmac (Hans Mackowiak) at [ruby-core:57643]. ...
nobu (Nobuyoshi Nakada)
12:12 AM Feature #8976: file-scope freeze_string directive
enebo (Thomas Enebo) wrote:
> naruse (Yui NARUSE) wrote:
> > enebo (Thomas Enebo) wrote:
> > > I think having a pr...
enebo (Thomas Enebo)
12:10 AM Feature #8976: file-scope freeze_string directive
naruse (Yui NARUSE) wrote:
> enebo (Thomas Enebo) wrote:
> > I think having a pragma at the top of the file will be...
enebo (Thomas Enebo)

10/03/2013

11:51 PM Feature #8976: file-scope freeze_string directive
I am mildly in favour of it so +1
As it is compatible with older ruby I see little harm in it. But please don't fo...
shevegen (Robert A. Heiler)
07:49 PM Feature #8976: file-scope freeze_string directive
duerst (Martin Dürst) wrote:
> From a more general perspective, it feels to me that introducing all
> these fro...
headius (Charles Nutter)
01:53 PM Feature #8976: file-scope freeze_string directive
On 2013/10/03 2:27, brixen (Brian Shirai) wrote:
>
> Issue #8976 has been updated by brixen (Brian Shirai).

...
duerst (Martin Dürst)
12:16 PM Feature #8976: file-scope freeze_string directive
enebo (Thomas Enebo) wrote:
> I think having a pragma at the top of the file will be much more error prone than the ...
naruse (Yui NARUSE)
02:44 AM Feature #8976: file-scope freeze_string directive
Brian since I have been able to infer you dislike both M17n and refinements that you agree with Charlie and I that th... enebo (Thomas Enebo)
02:36 AM Feature #8976: file-scope freeze_string directive
brixen (Brian Shirai) wrote:
> For consistency sake, it should be noted that, in fact, this is exactly what the exis...
headius (Charles Nutter)
02:26 AM Feature #8976: file-scope freeze_string directive
> It would be a very bad idea to have a directive that completely changes the meaning of code from one file to anothe... brixen (Brian Shirai)
01:38 AM Feature #8976: file-scope freeze_string directive
I agree with Tom here. I think it's going to be almost useless to have a full-file "freeze-string" directive.
* Fr...
headius (Charles Nutter)
10:36 PM Bug #8979 (Assigned): gem のプロキシ認証情報に @ を含むとエラー
kou (Kouhei Sutou)
10:36 PM Bug #8979: gem のプロキシ認証情報に @ を含むとエラー
RubyGemsのmasterではそこらへんのコードが変わっているので、いい感じにして直しておきます! kou (Kouhei Sutou)
12:56 AM Bug #8979 (Closed): gem のプロキシ認証情報に @ を含むとエラー
gem 実行時に認証が必要なプロキシを通す場合、プロキシの認証IDまたはパスワードに「@」を含んでいるとエラーになってしまいます。
----
% http_proxy=http://localhost:8080 http_pr...
tommy (Masahiro Tomita)
08:21 PM Feature #8977: String#frozen that takes advantage of the deduping
headius (Charles Nutter) wrote:
> I ran this in a loop and the object_id eventually stabilizes. I am not sure why.
...
headius (Charles Nutter)
08:18 PM Feature #8977: String#frozen that takes advantage of the deduping
sam.saffron (Sam Saffron) wrote:
> the request is all about exposing:
>
> VALUE
> rb_fstring(VALUE str)
...
> ...
headius (Charles Nutter)
10:11 AM Feature #8977: String#frozen that takes advantage of the deduping
@hedius
the request is all about exposing:
~~~C
VALUE
rb_fstring(VALUE str)
{
st_data_t fstr;
if (...
sam.saffron (Sam Saffron)
03:07 AM Feature #8977: String#frozen that takes advantage of the deduping
After thinking a bit, I guess what your'e asking for is a method that gives you the VM-level object that would be ret... headius (Charles Nutter)
02:58 AM Feature #8977: String#frozen that takes advantage of the deduping
How is this not just a symbol table of another sort? When do these pooled strings get GCed? Do they ever get GCed? Wh... headius (Charles Nutter)
07:42 PM Bug #8968: Baseruby is required after patching configure.in
naruse (Yui NARUSE) wrote:
> You should suggest acceptable plan.
> You know such way is not acceptable.
I know, ...
vo.x (Vit Ondruch)
06:04 PM Bug #8968 (Rejected): Baseruby is required after patching configure.in
You should suggest acceptable plan.
You know such way is not acceptable.
naruse (Yui NARUSE)
05:32 PM Bug #8968 (Third Party's Issue): Baseruby is required after patching configure.in
nobu (Nobuyoshi Nakada)
07:39 PM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
naruse: Within what group do I need to get consensus? All ruby-core committers? headius (Charles Nutter)
07:34 AM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
Ok I have been talked out of the allowing changing contents of the literal. Without guaranteeing the values never ch... enebo (Thomas Enebo)
07:20 AM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
My take on this proposal is that deep and shallow freezing is not as important as knowing that the 'f' (which I think... enebo (Thomas Enebo)
04:55 AM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
I have started a wiki page for the proposal: https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/Frozen_Array_and_Has... headius (Charles Nutter)
04:42 AM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
naruse (Yui NARUSE) wrote:
> headius (Charles Nutter) wrote:
> > Also, FWIW, ko1 told me to mark the bugs I was int...
headius (Charles Nutter)
06:29 PM Bug #8983 (Assigned): [PATCH] GC.stat[:heap_free_num] returns number of unused slots on heap
naruse (Yui NARUSE)
06:25 PM Bug #8983 (Closed): [PATCH] GC.stat[:heap_free_num] returns number of unused slots on heap
In ruby 1.9 and 2.0, gc_stat() used to call rest_sweep() so heap_free_num always equals the number of free slots (Obj... tmm1 (Aman Karmani)
06:20 PM Feature #8201 (Closed): Turn off builded colorizing
This issue was solved with changeset r43131.
Denis, thank you for reporting this issue.
Your contribution to Ruby is ...
nobu (Nobuyoshi Nakada)
05:33 PM Bug #8535 (Rejected): web secure
No reply. nobu (Nobuyoshi Nakada)
03:23 PM Bug #8982 (Closed): NoMethodError#message produces surprising output when #inspect is defined on an anonymous class
=begin
Given the following script:
def raise_no_method_error_for_anonymous_class_with_inspect(&block)
klass ...
myronmarston (Myron Marston)
01:43 PM Bug #8971 (Closed): 'make check' broken
This issue was solved with changeset r43129.
Vit, thank you for reporting this issue.
Your contribution to Ruby is gr...
nobu (Nobuyoshi Nakada)
01:17 PM Revision 6c4387b4 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:41 AM Revision fd3cdb5e (git): test_io.rb: fix typo
* test/ruby/test_io.rb (test_pid_after_close_read): fix typo. pointed
out by Peter Suschlik.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
11:08 AM Bug #8975: Confusing code sample for assert_send
To be honest, it's not so much a "legacy app" issue as a "legacy programmer" issue.
I started programming back in ...
agrimm (Andrew Grimm)
09:23 AM Revision c4553aba (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:20 AM Revision 886e3bb1 (git): win32.c: disable console colorizing
* win32/win32.c (console_emulator_p, constat_handle): disable built-in
console colorizing when console-emulator-lik...
nobu (Nobuyoshi Nakada)
09:03 AM Revision fa105e6c (git): * gc.c: define gc_profile_record::allocated_size if
CALC_EXACT_MALLOC_SIZE is true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43130 b2dd03c8-39d4-4d8f-98ff-82...
ko1 (Koichi Sasada)
08:12 AM Bug #7984 (Closed): Severe speed issues in 2.0.0 compiled with Clang
ko1 (Koichi Sasada)
02:46 AM Bug #7984: Severe speed issues in 2.0.0 compiled with Clang
With 2.0.0-p247 I get:
11.540000 0.010000 11.550000 ( 11.561841)
So apparently whatever the issue was got fixed...
jcole1989 (James Coleman)
06:52 AM Feature #8961: Synchronizable module to easily wrap methods in a mutex
tobiassvn (Tobias Svensson) wrote:
> I suppose if this is being added to MonitorMixin it should probably be in Mutex...
headius (Charles Nutter)
04:42 AM Revision 870dc209 (git): common.mk: use RUNRUBY for test-sample
* common.mk (yes-test-sample): use RUNRUBY instead of MINIRUBY to set
runtime library path and run the built ruby. ...
nobu (Nobuyoshi Nakada)
04:38 AM Feature #6647: Exceptions raised in threads should be logged
ko1 (Koichi Sasada) wrote:
> Sorry, it is not same, but we can consier that.
>
> BTW, I think it true as default ...
headius (Charles Nutter)
03:54 AM Feature #8568: Introduce RbConfig value for native word size, to avoid Fixnum#size use
Almost of those names are defined by C standard or POSIX, so they won't change.
I think what names are included is *...
nobu (Nobuyoshi Nakada)
03:38 AM Feature #8568: Introduce RbConfig value for native word size, to avoid Fixnum#size use
Ok...so hopefully we have tests for those names and we can consider them "spec".
BTW, I'm asking because we'll wan...
headius (Charles Nutter)
02:05 AM Feature #8568: Introduce RbConfig value for native word size, to avoid Fixnum#size use
Sorry that it's unclear.
It means that type names come from a distributed file, configure.in, so they are invarian...
nobu (Nobuyoshi Nakada)
02:34 AM Feature #8981: Suggestion for CreateProcess flags with rubyw on windows
Incorporated.
Please attach your patch here.
nobu (Nobuyoshi Nakada)
02:32 AM Feature #8981 (Feedback): Suggestion for CreateProcess flags with rubyw on windows
Hi,

I've spent some time looking into the feasibility of using rubyw in my code and at first glance it looks id...
jfrench (James French)
01:37 AM Revision 09c96a78 (git): thread_pthread.c: set thread name
* thread_pthread.c (thread_timer): set timer thread name on OSX too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
nobu (Nobuyoshi Nakada)
12:54 AM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
Just a reminder, this fix is not not yet in 2.1.0 rc1.
https://github.com/ruby/ruby/blob/v2_1_0_preview1/lib/xmlrpc/...
bbuchalter (Brian Buchalter)
12:43 AM Revision 0b991b65 (git): * hash.c (env_update): [DOC] fix expected output, should be 0 instead
of 10. Patch by @yakko. [GH-411]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43127 b2dd03c8-39d4-4d8f-98ff-823...
Charlie Somerville
12:10 AM Feature #8840: Yielder#state
akr (Akira Tanaka) wrote:
> Would you explain the incompleteness concretely?
Sure. With your code above:
e...
marcandre (Marc-Andre Lafortune)

10/02/2013

11:36 PM Feature #8976: file-scope freeze_string directive
I think having a pragma at the top of the file will be much more error prone than the f-syntax. As a file grows, the... enebo (Thomas Enebo)
09:18 PM Feature #8976: file-scope freeze_string directive
Maybe I'm too late but why not use the same object when calling String#freeze?
I mean, currently this:
> "som...
sobrinho (Gabriel Sobrinho)
03:18 PM Feature #8976: file-scope freeze_string directive
> I forgot to mention Akira Matsuda's presentation at RubyShift 2013:
> http://sssslide.com/speakerdeck.com/a_matsud...
Anonymous
03:08 PM Feature #8976: file-scope freeze_string directive
akr (Akira Tanaka) wrote:
> There are several problems for f-suffix:
>
> * The notation is ugly.
I forgot to ...
akr (Akira Tanaka)
01:23 PM Feature #8976: file-scope freeze_string directive
(2013/10/02 13:18), sam.saffron (Sam Saffron) wrote:
> Can we also have a global switch to enable this everywhere ...
ko1 (Koichi Sasada)
01:18 PM Feature #8976: file-scope freeze_string directive
Can we also have a global switch to enable this everywhere (for debugging), it can make it simple to isolate the spot... sam.saffron (Sam Saffron)
12:41 PM Feature #8976: file-scope freeze_string directive
coupled with this I strongly feel we need a more usable way of using the deduping elsewhere.
Currently string#freez...
sam.saffron (Sam Saffron)
11:03 AM Feature #8976: file-scope freeze_string directive
https://github.com/nobu/ruby/tree/frozen_string_pragma nobu (Nobuyoshi Nakada)
10:49 AM Feature #8976 (Closed): file-scope freeze_string directive
Yesterday, we had a face-to-face developer meeting.
https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting2...
akr (Akira Tanaka)
10:15 PM Feature #8961: Synchronizable module to easily wrap methods in a mutex
I suppose if this is being added to MonitorMixin it should probably be in Mutex_m as well? tobiassvn (Tobias Svensson)
02:13 AM Feature #8961: Synchronizable module to easily wrap methods in a mutex
nobu (Nobuyoshi Nakada) wrote:
> headius (Charles Nutter) wrote:
> > Maybe. I don't like the idea of exposing this ...
headius (Charles Nutter)
10:12 PM Feature #8977: String#frozen that takes advantage of the deduping
ko1 and I discussed this in IRC and decided that #frozen would be too easily confused with #freeze. An idea that came... Anonymous
02:30 PM Feature #8977: String#frozen that takes advantage of the deduping
@nobu
"html.erb" is very unlikely to be shared cause it is a result of a parse. "base64" and "IANA" are coming fro...
sam.saffron (Sam Saffron)
02:22 PM Feature #8977: String#frozen that takes advantage of the deduping
Won't those strings be shared with frozen string literal? nobu (Nobuyoshi Nakada)
02:00 PM Feature #8977: String#frozen that takes advantage of the deduping
I would love to see this feature in 2.1.
These are the top duplicated strings in an app I work on:
~~~ruby
irb...
Anonymous
01:12 PM Feature #8977 (Closed): String#frozen that takes advantage of the deduping
During memory profiling I noticed that a large amount of string duplication is generated from non pre-determined stri... sam.saffron (Sam Saffron)
10:05 PM Bug #8978 (Closed): Fiddle possibly misuses mprotect
Hello Aaron,
Coverity Scan found a possible bug in "initialize" function of ext/fiddle/closure.c:
> result = ff...
mame (Yusuke Endoh)
09:19 PM Bug #8975 (Assigned): Confusing code sample for assert_send
zzak (zzak _)
09:18 PM Bug #8975: Confusing code sample for assert_send
Thanks for the report Andrew!
I'm really glad we got a doc bug reported for TestUnit, this confirms my suspicion t...
zzak (zzak _)
07:48 AM Bug #8975 (Closed): Confusing code sample for assert_send
Test::Unit::Assertsions#assert_send has the code sample
assert_send([[1, 2], :member?, 1]) # -> pass
asse...
agrimm (Andrew Grimm)
06:37 PM Revision b4f7bf86 (git): rbinstall.rb: reorder
* tool/rbinstall.rb: install default targets (:local, :ext) first,
very time consuming tasks later.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
06:20 PM Revision 13e60f2b (git): * ext/thread/thread.c (ALIAS_GLOBAL_CONST): fix typo, GLOBCAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:20 PM Revision cb2b5980 (git): * ext/thread/thread.c (Init_thread): move outer module condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:13 PM Feature #6647: Exceptions raised in threads should be logged
Sorry, it is not same, but we can consier that.
BTW, I think it true as default is good idea.
IMO, inter-thread...
ko1 (Koichi Sasada)
05:05 PM Feature #6647: Exceptions raised in threads should be logged
FYT:
On pthread, there is pthread_detach() which declares nobody join on this thread.
In other words, pthread_detac...
ko1 (Koichi Sasada)
02:30 PM Feature #6647: Exceptions raised in threads should be logged
akr (Akira Tanaka) wrote:
> In the yesterday's meeting,
> https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersM...
headius (Charles Nutter)
11:05 AM Feature #6647: Exceptions raised in threads should be logged
In the yesterday's meeting,
https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20131001Japan
we discuss...
akr (Akira Tanaka)
03:25 PM Revision 6bb3105d (git): * 2013-10-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:25 PM Revision 42b72a08 (git): * misc/ruby-additional.el: Properly quote the body. An unquoted
body given to eval-after-load is evaluated immediately!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43122 b2dd...
Akinori MUSHA
02:37 PM Feature #8096: introduce Time.current_timestamp
headius (Charles Nutter) wrote:
> It would not be hard, given the guarantee that CLOCK_REALTIME works across platfor...
naruse (Yui NARUSE)
02:33 PM Feature #8096: introduce Time.current_timestamp
It would not be hard, given the guarantee that CLOCK_REALTIME works across platforms, to provide a #timestamp that is... headius (Charles Nutter)
01:39 PM Feature #8096: introduce Time.current_timestamp
headius (Charles Nutter) wrote:
> This is now provided by #8658 in 2.1, but according to matz in the developer meeti...
naruse (Yui NARUSE)
07:31 AM Feature #8096: introduce Time.current_timestamp
I can not decide Ruby's specification. akr (Akira Tanaka)
05:03 AM Feature #8096: introduce Time.current_timestamp
This is now provided by #8658 in 2.1, but according to matz in the developer meeting notes linked there, Process::clo... headius (Charles Nutter)
02:35 PM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
headius (Charles Nutter) wrote:
> Also, FWIW, ko1 told me to mark the bugs I was interested in as 2.1, which is why ...
naruse (Yui NARUSE)
03:12 AM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
Also, FWIW, ko1 told me to mark the bugs I was interested in as 2.1, which is why I set this bug for 2.1. headius (Charles Nutter)
03:11 AM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
Has this already been excluded from 2.1.0? May I ask why? We have not finished discussing it and most folks on this i... headius (Charles Nutter)
02:32 PM Feature #8568: Introduce RbConfig value for native word size, to avoid Fixnum#size use
nobu (Nobuyoshi Nakada) wrote:
> =begin
> They are extracted from ((%configure.in%)) script automatically.
> And A...
headius (Charles Nutter)
09:52 AM Feature #8568: Introduce RbConfig value for native word size, to avoid Fixnum#size use
=begin
They are extracted from ((%configure.in%)) script automatically.
And ANSI/ISO C standard requires stringize op...
nobu (Nobuyoshi Nakada)
03:16 AM Feature #8568: Introduce RbConfig value for native word size, to avoid Fixnum#size use
nobu (Nobuyoshi Nakada) wrote:
> r42685
Thanks! I do have one question, though.. are the names of the types (acqu...
headius (Charles Nutter)
01:29 PM Feature #8658: Process.clock_gettime
akr (Akira Tanaka) wrote:
> 2013/10/2 headius (Charles Nutter) <[email protected]>:
>
> > I HAVE A QUESTION, ...
naruse (Yui NARUSE)
07:29 AM Feature #8658: Process.clock_gettime
2013/10/2 headius (Charles Nutter) <[email protected]>:

> I HAVE A QUESTION, however... what about Windows? T...
akr (Akira Tanaka)
05:13 AM Feature #8658: Process.clock_gettime
Implementation in JRuby: https://github.com/jruby/jruby/commit/8c066241bd847b68d8d7255893edbad2d6c311d2 headius (Charles Nutter)
04:02 AM Feature #8658: Process.clock_gettime
JRuby issue for this feature: https://github.com/jruby/jruby/issues/1056
Windows information for JVM:
System.cu...
headius (Charles Nutter)
03:48 AM Feature #8658: Process.clock_gettime
I missed the discussion on this, but here's the summary of JRuby/JVM case:
If monotonic clock is available at OS l...
headius (Charles Nutter)
12:41 PM Revision a6ae6a8b (git): * ext/socket/ifaddr.c (rsock_getifaddrs): fix possible memory leak.
When a system had no interface, this function used xmalloc for root
but did not return any reference to it. This p...
mame (Yusuke Endoh)
12:41 PM Revision e7f484d4 (git): * random.c (make_seed_value): a local array declaration was accessed
out of scope. Coverity Scan found this bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43120 b2dd03c8-39d4-4...
mame (Yusuke Endoh)
11:46 AM Feature #8840: Yielder#state
marcandre (Marc-Andre Lafortune) wrote:
>
> The proposition of `with_state` is interesting, but I personally find ...
akr (Akira Tanaka)
10:31 AM Feature #8840: Yielder#state
I'm sorry for my late reply, I'm way back on many things I want to do.
The proposition of `with_state` is interest...
marcandre (Marc-Andre Lafortune)
10:15 AM Feature #7854: New method Symbol[string]
This was set to "next minor" a LONG time ago, but I don't see it in 2.1. ??? This would aid security in a couple of... Student (Nathan Zook)
09:56 AM Revision 8c0033a7 (git): * gc.c: relax GC condition due to malloc_limit.
* gc.c (GC_MALLOC_LIMIT_MAX): change default value
(256MB -> 512MB) and permit zero to ignore max value.
* gc.c (vm...
ko1 (Koichi Sasada)
07:48 AM Revision a2d21de1 (git): test_io.rb: add test
* test/ruby/test_io.rb (tesst_pid_after_close_read): test for r43117.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
07:41 AM Feature #8956: Allow hash members delimited by \n inside of {}
I also thought that maybe you can go one step further and allow any sequence of white characters as delimiters when t... sawa (Tsuyoshi Sawada)
07:31 AM Feature #8956: Allow hash members delimited by \n inside of {}
Another case where similar syntax might be relevant is `| |` inside a block. Whether you want to do this:
~~~ruby
...
sawa (Tsuyoshi Sawada)
05:08 AM Feature #8956: Allow hash members delimited by \n inside of {}
I should also mention that this patch does not apply to method definitions, so these still require commas (at least, ... adamdunson (Addie Drake)
04:47 AM Feature #8956: Allow hash members delimited by \n inside of {}
Sorry, the previous patch was incorrect (add-method-arg-support.patch). Please use the attached version instead. adamdunson (Addie Drake)
04:05 AM Feature #8956: Allow hash members delimited by \n inside of {}
Adding a patch for method argument support. For example, this allows the following syntaxes:
~~~ruby
Hash[
:fo...
adamdunson (Addie Drake)
07:26 AM Revision bda5eac1 (git): io.c: wait child process after close_read
* io.c (rb_io_close_read): duplex IO should wait its child process
even after close_read.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
06:50 AM Revision d748f5b6 (git): * vm_core.h: use __has_attribute() instead of __clang__major__ because
clang says "Note that marketing version numbers should not be used
to check for language features, as different ven...
naruse (Yui NARUSE)
06:14 AM Feature #8259: Atomic attributes accessors
Trying to wake this one up in hopes of getting it into 2.1. Is there any chance?
Forgive me if I'm breaking proces...
headius (Charles Nutter)
06:07 AM Revision c1c45c1c (git): Add NEWS about RbConfig::SIZEOF
https://bugs.ruby-lang.org/issues/8568
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43115 b2dd03c8-39d4-4d8f-98...
naruse (Yui NARUSE)
05:20 AM Revision f0d8be4e (git): io.c: get rid of race condition
* io.c (rb_io_close_write): detach tied IO for writing before closing
to get rid of race condition. [ruby-list:495...
nobu (Nobuyoshi Nakada)
05:19 AM Revision 145ecb68 (git): * 2013-10-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:19 AM Revision a9eca1b2 (git): io.c: keep fptr read-closed
* io.c (rb_io_close_read): keep fptr in write_io to be discarded, to
fix freed pointer access when it is in use by ...
nobu (Nobuyoshi Nakada)
03:12 AM Feature #8556: MutexedDelegator as a trivial way to make an object thread-safe
naruse (Yui NARUSE) wrote:
> ko1 will write objection.
I look forward to reading that objection :-)
headius (Charles Nutter)

10/01/2013

11:08 PM Bug #8972: TestMkmf::TestConfig#test_dir_config fails on x86_64
It works now. Thank you! vo.x (Vit Ondruch)
08:36 PM Bug #8972 (Closed): TestMkmf::TestConfig#test_dir_config fails on x86_64
This issue was solved with changeset r43106.
Vit, thank you for reporting this issue.
Your contribution to Ruby is gr...
nobu (Nobuyoshi Nakada)
05:34 PM Bug #8972 (Closed): TestMkmf::TestConfig#test_dir_config fails on x86_64
=begin
It might be due to my configuration options, but I observe following test failure:
TestMkmf::TestConfig#t...
vo.x (Vit Ondruch)
10:12 PM Bug #8971: 'make check' broken
This is my configuration command:
$ ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --p...
vo.x (Vit Ondruch)
09:56 PM Bug #8971 (Feedback): 'make check' broken
How did you run `configure`? nobu (Nobuyoshi Nakada)
04:32 PM Bug #8971 (Closed): 'make check' broken
=begin
$ make check 'TESTS=-v '
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O2 -g -pipe -Wall -Wp...
vo.x (Vit Ondruch)
10:04 PM Bug #8768 (Closed): [PATCH] tempfile: undefine finalizer on unlink
This issue was solved with changeset r43110.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
09:41 PM Bug #8973 (Open): Allow to configure archlibdir for multiarch
In Ruby 2.0, when using "--with-multiarch" together with "--with-rubyarchprefix", it used ${libdir} for libruby.so li... vo.x (Vit Ondruch)
09:03 PM Bug #8973 (Feedback): Allow to configure archlibdir for multiarch
Was it possible ever? nobu (Nobuyoshi Nakada)
07:15 PM Bug #8973 (Feedback): Allow to configure archlibdir for multiarch
Since r39347, there is impossible to configure placement of rubylib.so when build is configured with "--with-multiarc... vo.x (Vit Ondruch)
09:28 PM Bug #8358: TestSprintf#test_float test failure
I observe the same issue on Fedora Rawhide i386.
$ ruby -v
ruby 2.1.0dev (2013-09-22 trunk 43011) [i686-linux]
vo.x (Vit Ondruch)
08:54 PM Feature #8050 (Closed): struct stat to VALUE should be accessable from the C-API
This issue was solved with changeset r43107.
Hans, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
05:49 PM Feature #8050: struct stat to VALUE should be accessable from the C-API
this is nobu's issue because this is C API. naruse (Yui NARUSE)
08:22 PM Feature #8331 (Closed): Update config.guess and config.sub for AArch64 (ARM64)
Actually, it seems to be resolved by r41293. vo.x (Vit Ondruch)
08:11 PM Feature #8331: Update config.guess and config.sub for AArch64 (ARM64)
Could this be merged for 2.1 please? It would allow Fedora to carry one less patch. Thanks. vo.x (Vit Ondruch)
07:59 PM Bug #8623: Make stable Gem::Specification.files in default .gemspecs
Not sure why I did not attached patch, so here it is. vo.x (Vit Ondruch)
07:32 PM Bug #8974: TestTracepointObj#test_tracks_objspace_events
Thank you for your report.
I'm seeking a reason of this issue, too.
And I can't find out it now.
Helps are ver...
ko1 (Koichi Sasada)
07:21 PM Bug #8974 (Closed): TestTracepointObj#test_tracks_objspace_events
=begin
I did a few test build of Ruby package for Fedora 21 and suddenly TestTracepointObj#test_tracks_objspace_even...
vo.x (Vit Ondruch)
06:04 PM Feature #8953: `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
Could you check it? ko1 (Koichi Sasada)
05:56 PM Feature #8840: Yielder#state
Need marcandre's reply naruse (Yui NARUSE)
05:56 PM Feature #8919: Queue as embedded class
Matz, how about it?
(no compatibility issue, we have an implementation)
ko1 (Koichi Sasada)
05:18 PM Feature #8882 (Rejected): rb_obj_is_mutex() into include/ruby/intern.h
Maybe you want to use it for CV to make it fast.
However, we are not recommend CV because it is difficult primitive....
ko1 (Koichi Sasada)
05:12 PM Feature #8849 (Rejected): Thread#throw
ユースケースとして弱い・本来剣呑である非同期割り込みを増やしたくない、という理由で reject とさせて下さい。
ko1 (Koichi Sasada)
05:10 PM Feature #8788 (Feedback): use eventfd on newer Linux instead of pipe for timer thread
I'm negative because it causes code complex unless it has performance improvement. naruse (Yui NARUSE)
05:08 PM Feature #8781: Use require_relative() instead of require() if possible
No conclusion. ko1 (Koichi Sasada)
05:05 PM Feature #8573 (Feedback): Add String#format method(not an alias of String#%)
Show concrete use case. naruse (Yui NARUSE)
05:05 PM Feature #8573: Add String#format method(not an alias of String#%)
Do you mean this?
```ruby
def format(*args)
sprintf(self, *args)
end
```
or
```ruby
def format(*args)...
nobu (Nobuyoshi Nakada)
05:00 PM Bug #6514 (Rejected): Abort trap: 6 running rspec on rdf.rb
Closing this due to no feedbacks. sorah (Sorah Fukumori)
05:00 PM Feature #8536 (Assigned): Implement is_numeric? family of methods
naruse (Yui NARUSE)
04:58 PM Feature #8158 (Assigned): lightweight structure for loaded features index
nobu (Nobuyoshi Nakada)
04:55 PM Feature #8556 (Assigned): MutexedDelegator as a trivial way to make an object thread-safe
ko1 will write objection. naruse (Yui NARUSE)
08:02 AM Feature #8556: MutexedDelegator as a trivial way to make an object thread-safe
I implemented this and a simple test in https://github.com/ruby/ruby/pull/405
If approved, I can merge that or com...
headius (Charles Nutter)
07:23 AM Feature #8556: MutexedDelegator as a trivial way to make an object thread-safe
On Mon, Sep 30, 2013 at 5:13 PM, headius (Charles Nutter) <
[email protected]> wrote:

> and the code should...
avdi (Avdi Grimm)
06:13 AM Feature #8556: MutexedDelegator as a trivial way to make an object thread-safe
SynchronizedDelegator is a better name, and the code should use Monitor instead of Mutex so it can be reentrant. I'll... headius (Charles Nutter)
04:54 PM Feature #8257: Exception#cause to carry originating exception along with new one
I'm positive about this feature.
Matz, what do you think about?
ko1 (Koichi Sasada)
02:45 PM Revision d60c6c86 (git): * vm_core.h: use __attribute__((unused)) in UNINTIALIZED_VAR on clang
4.0+ instead of just on 4.2. Clang has supported the unused attribute
since before version 4, so this should be saf...
Charlie Somerville
02:03 PM Feature #8970: Array.zip and Array.product
akr, The difference between `Array#transpose` and `Array.zip` is just the same as with `Array#transpose` and `Array#... sawa (Tsuyoshi Sawada)
09:53 AM Feature #8970: Array.zip and Array.product
2013/10/1 sawa (Tsuyoshi Sawada) <[email protected]>:
> Feature #8970: Array.zip and Array.product
> http...
akr (Akira Tanaka)
03:57 AM Feature #8970 (Open): Array.zip and Array.product
=begin
Most of the time when I use `Array#zip` or `Array#product`, I feel cumbursome that I have to take out the fir...
sawa (Tsuyoshi Sawada)
01:51 PM Feature #6308: Eliminate delegation from WeakRef
nobu (Nobuyoshi Nakada) wrote:
> My opinion is still unchanged.
> "It should be another new class".
In case my o...
headius (Charles Nutter)
11:49 AM Feature #6308: Eliminate delegation from WeakRef
My opinion is still unchanged.
"It should be another new class".
nobu (Nobuyoshi Nakada)
09:57 AM Feature #6308: Eliminate delegation from WeakRef
Put my patch into an updated pull request: https://github.com/ruby/ruby/pull/406 headius (Charles Nutter)
01:03 PM Revision ec2db8de (git): tempfile.rb: undefine finalizer on unlink
* lib/tempfile.rb (Tempfile#unlink): finalizer is no longer needed
after unlinking. patched by by normalperson (Er...
nobu (Nobuyoshi Nakada)
12:00 PM Revision 57c7de44 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:57 AM Revision 85ab5379 (git): file/stat.c: fix commit miss
* ext/-test-/file/stat.c: extension library to test [Feature #8050].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
nobu (Nobuyoshi Nakada)
11:54 AM Revision c07c33b2 (git): file.c: export rb_stat_new
* file.c (stat_new_0): constify.
* file.c (rb_stat_new): constify and export. based on a patch by
Hanmac (Hans Mac...
nobu (Nobuyoshi Nakada)
11:36 AM Revision f09b772d (git): test_config.rb: fix library path
* test/mkmf/test_config.rb (test_dir_config): fix expected library
path. [ruby-core:57535] [Bug #8972]
git-svn-id...
nobu (Nobuyoshi Nakada)
10:23 AM Feature #6309: Add a reference queue for weak references
Put my patch plus a test in a PR: https://github.com/ruby/ruby/pull/408
Unfortunately the test doesn't pass, and I...
headius (Charles Nutter)
09:59 AM Feature #8568 (Closed): Introduce RbConfig value for native word size, to avoid Fixnum#size use
r42685 nobu (Nobuyoshi Nakada)
09:37 AM Feature #8839: Class and module should return the class or module that was opened
avdi (Avdi Grimm) wrote:
> That said, if you really wanted to preserve the ability to return something
> other fr...
headius (Charles Nutter)
09:00 AM Bug #7445: strptime('%s %z') doesn't work
tadf (tadayoshi funaba) wrote:
> I will give written in Japanese English because I heard not hold water .
I've us...
felipec (Felipe Contreras)
07:27 AM Revision 1dc02091 (git): test_regexp.rb, test_string.rb: suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:27 AM Revision d4ef0b47 (git): test_regexp.rb, test_string.rb: use assert_separately
* test/ruby/test_regexp.rb (test_eq_tilde_can_be_overridden): use assert_separately
to suppress a warning.
* test/r...
nobu (Nobuyoshi Nakada)
07:03 AM Revision fa4c2133 (git): ruby.h: export ruby_safe_level_4_warning
* include/ruby/ruby.h (ruby_safe_level_4_warning): needed by extension
libraries which check safe level 4. [ruby-d...
nobu (Nobuyoshi Nakada)
05:53 AM Feature #8956: Allow hash members delimited by \n inside of {}
I've attached a patch for array support (only between square brackets). I've also renamed the `assoc_seperator` rule ... adamdunson (Addie Drake)
05:49 AM Revision c4be7faa (git): * 2013-10-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:48 AM Revision 23742417 (git): test_regexp.rb, test_string.rb: suppress warnings
* test/ruby/test_regexp.rb (test_eq_tilde_can_be_overridden): suppress
a warning.
* test/ruby/test_string.rb (test_...
nobu (Nobuyoshi Nakada)

09/30/2013

11:53 PM Feature #8556: MutexedDelegator as a trivial way to make an object thread-safe
On Fri, Sep 27, 2013 at 6:59 AM, headius (Charles Nutter) <
[email protected]> wrote:

> I propose adding Mu...
avdi (Avdi Grimm)
11:53 PM Feature #8839: Class and module should return the class or module that was opened
On Sat, Sep 28, 2013 at 2:39 AM, shugo (Shugo Maeda)
<[email protected]>wrote:

> For example, bootstrapte...
avdi (Avdi Grimm)
10:20 PM Feature #8839: Class and module should return the class or module that was opened
shugo (Shugo Maeda) wrote:
> I did a quick hack to try this proposal and found that some test failed with it:
>
>...
headius (Charles Nutter)
11:37 PM Feature #6647: Exceptions raised in threads should be logged
Testing seems to indicate this is a pretty safe change, and it just makes the debug-logged exception output be logged... headius (Charles Nutter)
11:05 PM Feature #6647: Exceptions raised in threads should be logged
We do not currently log it, but the patch to do so is trivial.
https://gist.github.com/6764310
I'm running test...
headius (Charles Nutter)
12:23 PM Feature #6647: Exceptions raised in threads should be logged
(2013/09/27 20:18), headius (Charles Nutter) wrote:
> So, can we do this for 2.1? I have heard from many other use...
ko1 (Koichi Sasada)
07:53 AM Feature #6647: Exceptions raised in threads should be logged
This would indeed eliminate a huge amount of confusion for people getting
started with threads. Or for people year...
avdi (Avdi Grimm)
10:16 PM Feature #8960: Add Exception#backtrace_locations
JRuby has implementation but no tests. The test should look pretty much like Thread#backtrace_locations tests, though... headius (Charles Nutter)
11:51 AM Feature #8960: Add Exception#backtrace_locations
I'll try before preview-2.
JRuby already has a implementation and tests?
ko1 (Koichi Sasada)
08:25 PM Feature #8572 (Feedback): Fiber should be a Enumerable
Can I close it? ko1 (Koichi Sasada)
08:24 PM Feature #8639 (Feedback): Add Queue#each
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/56421
any comments?
ko1 (Koichi Sasada)
08:17 PM Feature #3944 (Feedback): Add Fiber#root? method
ko1 (Koichi Sasada)
08:16 PM Feature #3187 (Feedback): Allow dynamic Fiber stack size
Ruby 2.0 already has
RUBY_VM_FIBER_VM_STACK_SIZE
RUBY_FIBER_MACHINE_STACK_SIZE
is it enough?
ko1 (Koichi Sasada)
08:13 PM Feature #8823: Run trap handler in an independent thread called "Signal thread"
Now, Queue is trap-safe. ko1 (Koichi Sasada)
08:12 PM Feature #8761 (Closed): Binding#local_variable_get, set, defined?
Introduced r42464 and there are no objection.
Close this ticket as accepted feature.
ko1 (Koichi Sasada)
08:11 PM Feature #8725 (Feedback): Possibility to get a signal handler without changing it
ko1 (Koichi Sasada)
08:08 PM Bug #8968 (Rejected): Baseruby is required after patching configure.in
It sometimes happens, that during packaging Ruby, it is necessary to patch configure.in (we are doing so in Fedora, t... vo.x (Vit Ondruch)
05:25 PM Feature #8948: Frozen regex
ko1 (Koichi Sasada) wrote:
> 2.2 matter?
2.1 would make sense to me, so it goes along with other frozen literals....
Eregon (Benoit Daloze)
12:11 PM Feature #8948: Frozen regex
I like to freeze normal regexp literal that Eregon said.
2.2 matter?
Anyone set instance variable for each rege...
ko1 (Koichi Sasada)
03:28 PM Revision 210efb5c (git): merge revision(s) 42459: [Backport #8963]
* tool/make-snapshot: Fix order of priority for option parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc...
nagachika (Tomoyuki Chikanaga)
02:18 PM Feature #8967 (Open): add uninclude and unextend method
Can be add uninclude and unextend method to ruby core ?
That enable Klass include or prepend different module,
ma...
windwiny (wind winy)
02:15 PM Revision e1bb0710 (git): * ext/objspace/objspace.c: [DOC] Cleaned up many rdoc formatting
issues and several duplicate grammar bugs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43099 b2dd03c8-39d4-4d...
zzak (zzak _)
02:04 PM Revision bbf366ba (git): ChangeLog typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
02:02 PM Revision 8073bd79 (git): * ext/objspace/object_tracing.c: [DOC] Adjust rdoc formatting and fix
small grammar typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
08:29 AM Revision 1d4e3d48 (git): * ext/objspace/object_tracing.c: [DOC] add some nots for
ObjectSpace::trace_object_allocations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43096 b2dd03c8-39d4-4d8f-...
ko1 (Koichi Sasada)
08:17 AM Revision 1450e0b5 (git): * ext/objspace/object_tracing.c: add new 3 methods to control tracing.
* ObjectSpace::trace_object_allocations_start
* ObjectSpace::trace_object_allocations_stop
* ObjectSpace::trace_objec...
ko1 (Koichi Sasada)
08:06 AM Revision 6a1a08c9 (git): gc.c: suppress warnings
* gc.c (gc_before_sweep): use PRIuSIZE instead of "%zu" directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
07:07 AM Revision 3eef1b54 (git): configure.in: RUNRUBY_COMMAND
* configure.in, Makefile.in (RUNRUBY_COMMAND): separate from RUNRUBY,
to use options for runruby.rb.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
02:20 AM Revision 1d90d0ce (git): * gc.c (rb_gc_disable): do rest_sweep() before disable GC.
This fix may solve a failure of
TestTracepointObj#test_tracks_objspace_events
[test/-ext-/tracepoint/test_tracepo...
ko1 (Koichi Sasada)
02:18 AM Revision 7f25c651 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:49 AM Revision 59f5fa10 (git): * vm_method.c (rb_undef): raise a NameError if the original method
of a refined method is not defined.
* vm_insnhelper.c (rb_method_entry_eq): added NULL check to avoid SEGV.
* test/...
shugo (Shugo Maeda)
 

Also available in: Atom