Project

General

Profile

Activity

From 09/25/2013 to 10/01/2013

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)

09/29/2013

10:07 PM Bug #8965 (Closed): SEGV when a refined method is undefined by undef
I reported this issue to ruby-dev by accident, so refiled as #8966. shugo (Shugo Maeda)
09:57 PM Bug #8965 (Closed): SEGV when a refined method is undefined by undef
The following code causes SEGV:
module Foo
refine Object do
def foo
puts "foo"
end
...
shugo (Shugo Maeda)
08:04 PM Feature #6721: Object#yield_self

May I give a name suggestion?
Does "tap!" make sense in english?
~~~Ruby
2.tap {|x| x*2 } # => 2
2.tap! {...
abinoam (Abinoam P. Marques Jr.)
06:52 PM Bug #8964: [BUG](%p is T_NONE) occurs while marking VM stack
=begin
レビューありがとうございます。
とりあえず[ruby-dev:47730]のパッチでコミットしておきました。
=end
ktsj (Kazuki Tsujimoto)
06:50 PM Bug #8964 (Closed): [BUG](%p is T_NONE) occurs while marking VM stack
This issue was solved with changeset r43081.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is...
ktsj (Kazuki Tsujimoto)
11:53 AM Bug #8964: [BUG](%p is T_NONE) occurs while marking VM stack
(2013/09/29 9:08), nobu (Nobuyoshi Nakada) wrote:
> これでいいんじゃないでしょうか。

と思います。

> vm_callee_setup_arg_comple...
ko1 (Koichi Sasada)
09:08 AM Bug #8964: [BUG](%p is T_NONE) occurs while marking VM stack
これでいいんじゃないでしょうか。
vm_callee_setup_arg_complex()とvm_yield_setup_block_args()は共通化できるところも多そうですが。
nobu (Nobuyoshi Nakada)
08:28 AM Bug #8964: [BUG](%p is T_NONE) occurs while marking VM stack
=begin
不要な分岐を避けるために初期化処理はsetup_argでやったほうがよいのでないかと思い直したので、パッチを修正しました。
=end
ktsj (Kazuki Tsujimoto)
06:35 PM Feature #8948: Frozen regex
jwille,
My understanding with the case of string in your example is that the two strings would count as different ...
sawa (Tsuyoshi Sawada)
03:58 PM Revision 7eca2a43 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:56 PM Revision 98729749 (git): * 2013-09-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:56 PM Revision f694995c (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:51 PM Revision 92b0e5b2 (git): array.c: minor performance improvement
* array.c (sort_2): minor performance improvement by replacing
rb_funcall() with rb_funcallv.
* array.c (rb_ary_bs...
nobu (Nobuyoshi Nakada)
02:45 PM Revision 6496dc89 (git): parse.y: allow junk attrset
* parse.y (rb_id_attrset, intern_str): allow junk attrset ID for
Struct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
01:57 PM Revision 5a48805b (git): ChangeLog: remove duplicated entry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:56 PM Revision 771c8ed3 (git): parse.y: fix inconsistency with literals
* parse.y (rb_id_attrset): fix inconsistency with literals, allow
ID_ATTRSET and return it itself, but ID_JUNK cann...
nobu (Nobuyoshi Nakada)
09:50 AM Revision 3dab183c (git): * 2013-09-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:50 AM Revision 94f57871 (git): * vm_insnhelper.c (vm_callee_setup_arg_complex, vm_yield_setup_block_args):
clear keyword arguments to prevent GC bug which occurs
while marking VM stack.
[ruby-dev:47729] [Bug #8964]
* te...
ktsj (Kazuki Tsujimoto)

09/28/2013

10:39 PM Bug #8964 (Closed): [BUG](%p is T_NONE) occurs while marking VM stack
=begin
以下のコードで (({rb_gc_mark(): 0x00555555a1ff68 is T_NONE})) のような[BUG]となります。
def m(a: [])
end

GC.stress=...
ktsj (Kazuki Tsujimoto)
05:06 PM Misc #8962 (Closed): [DOC] add step to enable Generational GC merits in README.EXT*
=begin
Is there any chance to reap the benefit of new Generational GC merits for
C-extension library authors?
...
tad (Tadashi Saito)
03:39 PM Feature #8839: Class and module should return the class or module that was opened
I did a quick hack to try this proposal and found that some test failed with it:
https://gist.github.com/shugo/6...
shugo (Shugo Maeda)
08:41 AM Feature #8839: Class and module should return the class or module that was opened
headius (Charles Nutter) wrote:
> mame (Yusuke Endoh) wrote:
> > headius (Charles Nutter) wrote:
> > > One use:
>...
mame (Yusuke Endoh)
04:20 AM Feature #8839: Class and module should return the class or module that was opened
I agree that returning the class or module makes sense (to me).
I'd also like to see "`def foo`" return a (`Unbound`...
robertgleeson (Robert Gleeson)
03:39 AM Feature #8839: Class and module should return the class or module that was opened
mame (Yusuke Endoh) wrote:
> headius (Charles Nutter) wrote:
> > One use:
> >
> > ~~~ruby
> > my_class = class ...
headius (Charles Nutter)
02:25 PM Revision 202cc8e6 (git): math.c: fix for Bignum argument
* math.c (math_log, math_log2, math_log10): fix for Bignum argument.
numbits should be add only when right shifted....
nobu (Nobuyoshi Nakada)
01:04 PM Revision e5bcf05d (git): merge revision(s) 42542: [Backport #8910]
* random.c (rb_random_ulong_limited): coerce before check negative.
[Fixes GH-379]
git-svn-id: svn+ssh://...
nagachika (Tomoyuki Chikanaga)
11:10 AM Feature #8887: min(n), max(n), min_by(n), max_by(n)
slide updated akr (Akira Tanaka)
10:54 AM Feature #8887: min(n), max(n), min_by(n), max_by(n)
slide added akr (Akira Tanaka)
09:23 AM Feature #8961: Synchronizable module to easily wrap methods in a mutex
headius (Charles Nutter) wrote:
> Maybe. I don't like the idea of exposing this mutex/monitor, since it could be mod...
nobu (Nobuyoshi Nakada)
03:45 AM Feature #8961: Synchronizable module to easily wrap methods in a mutex
tobiassvn (Tobias Svensson) wrote:
> Having this as a method on Module directly would of course be ideal. However, I...
headius (Charles Nutter)
07:30 AM Bug #8797: Intermittent Segfault on 2.0.0-p247 when running 'bundle install'
Confirming I have the same error. Running `bundle install` a few times eventually succeeds. Can I provide anything to... avit (Andrew Vit)
05:47 AM Revision f450dede (git): Added ticket number
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
05:43 AM Revision 1a0eb89c (git): * test/dl/test_base.rb: {libc, libm} detection now handle GNU/Hurd
correctly. Patch by Gabriele Giacone ([email protected]).
* test/fiddle/helper.rb: ditto.
git-svn-id: svn+ssh://ci....
kosaki (Motohiro KOSAKI)
03:42 AM Feature #8556: MutexedDelegator as a trivial way to make an object thread-safe
Formatting issue... the "synchronized" proposal is in https://bugs.ruby-lang.org/issues/8961 headius (Charles Nutter)
01:15 AM Revision 9bfee9e9 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:26 AM Bug #8659 (Closed): Curses::Window#bkgdset does not handle color correctly
This issue was solved with changeset r43074.
Alex, thank you for reporting this issue.
Your contribution to Ruby is g...
shugo (Shugo Maeda)
12:12 AM Feature #8956: Allow hash members delimited by \n inside of {}
Thanks for the patch, nobu. That was easier than I thought it would be; I was looking in the wrong place entirely.
...
adamdunson (Addie Drake)

09/27/2013

11:33 PM Feature #8839: Class and module should return the class or module that was opened
headius (Charles Nutter) wrote:
> One use:
>
> ~~~ruby
> my_class = class Foo
> ...
> end
> ~~~
>
> We ca...
mame (Yusuke Endoh)
09:11 PM Feature #8839: Class and module should return the class or module that was opened
I see now. I really tried a few times to get something like your second example to work:
~~~ruby
class MyProcesso...
rosenfeld (Rodrigo Rosenfeld Rosas)
07:29 PM Feature #8839: Class and module should return the class or module that was opened
mame (Yusuke Endoh) wrote:
> How useful is this proposal?
> I think we should not change anything without considera...
headius (Charles Nutter)
04:22 AM Feature #8839: Class and module should return the class or module that was opened
Actually, I don't understand even why returning a symbol from method definition is useful... rosenfeld (Rodrigo Rosenfeld Rosas)
04:22 AM Feature #8839: Class and module should return the class or module that was opened
I've been wondering the same thing since I saw this ticket being created... rosenfeld (Rodrigo Rosenfeld Rosas)
10:50 PM Feature #8931: Update URL in REPORTBUG_MSG
I agree with zzak.
Linking to www.ruby-lang.org/whatever which redirects to bugs.ruby-lang.org/something_else soun...
stomar (Marcus Stollsteimer)
01:23 PM Feature #8931: Update URL in REPORTBUG_MSG
I don't think redirect is acceptable, we should correct the problem at the source. Please reconsider..

> On Sep 2...
zzak (zzak _)
10:35 AM Feature #8931 (Rejected): Update URL in REPORTBUG_MSG
If it is http://www.ruby-lang.org/bugreport.html, we can change redirect target if we want to change the target.
If ...
naruse (Yui NARUSE)
09:45 PM Feature #8961: Synchronizable module to easily wrap methods in a mutex
Having this as a method on Module directly would of course be ideal. However, I believe the mutex/monitor used should... tobiassvn (Tobias Svensson)
08:40 PM Feature #8961: Synchronizable module to easily wrap methods in a mutex
I would like to see this in 2.1, as a standard Module method. The fact that "def" returns the method name now makes t... headius (Charles Nutter)
08:23 PM Feature #8961 (Open): Synchronizable module to easily wrap methods in a mutex
=begin
I propose a Synchronizable mixin to easily wrap methods in a mutex which works together with Ruby 2.1's metho...
tobiassvn (Tobias Svensson)
08:35 PM Feature #8556: MutexedDelegator as a trivial way to make an object thread-safe
Similar in nature to the "synchronized" module method proposed in https://bugs.ruby-lang.org/issues/8961. I like that... headius (Charles Nutter)
08:13 PM Feature #8556: MutexedDelegator as a trivial way to make an object thread-safe
That would be a useful feature.
+1
simonx1 (Szymon Kurcab)
07:59 PM Feature #8556: MutexedDelegator as a trivial way to make an object thread-safe
Any comments here? This would be pretty easy to add to delegate.rb for 2.1. headius (Charles Nutter)
08:19 PM Feature #6309: Add a reference queue for weak references
I again request approval from matz to add this feature :-) Can we do it for 2.1, please? headius (Charles Nutter)
08:18 PM Feature #6647: Exceptions raised in threads should be logged
So, can we do this for 2.1? I have heard from many other users that really would like exceptions bubbling out of thre... headius (Charles Nutter)
08:17 PM Feature #6308: Eliminate delegation from WeakRef
I believe this is just waiting on approval by matz. Can we make this change in 2.1, please? headius (Charles Nutter)
08:15 PM Bug #8208 (Rejected): Raise cached exceptions for nonblocking IO to avoid allocation/stack-copying costs
https://bugs.ruby-lang.org/issues/5138 has been accepted in a slightly altered form, so I think perhaps this can be r... headius (Charles Nutter)
08:15 PM Feature #8948: Frozen regex
> but it would be difficult to tell which regexes are intended to be the same
i'm not sure i understand. how is
...
jwille (Jens Wille)
08:14 PM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Hah... I was just stopping by to suggest the keyword argument as a compromise form...and it turns out that's exactly ... headius (Charles Nutter)
08:12 PM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
I have filed https://bugs.ruby-lang.org/issues/8960 to get this feature added to MRI. It is already available in JRuby. headius (Charles Nutter)
08:11 PM Feature #8960 (Assigned): Add Exception#backtrace_locations
All parties agreed this would be useful to add in https://bugs.ruby-lang.org/issues/7895 and ko1 suggested I file a f... headius (Charles Nutter)
08:04 PM Feature #8257: Exception#cause to carry originating exception along with new one
Any further comments here? I might be able to do part of the implementation, but I don't know how to automatically st... headius (Charles Nutter)
08:02 PM Bug #8488 (Rejected): Refactor rbinstall.rb for maintenance, clarity, reuse
RubyGems 2.1 incorporated my new logic for default gems while still supporting the MRI 2.0 layout for default specs.
...
headius (Charles Nutter)
07:58 PM Feature #8570: Better mechanisms to safely load classes concurrently
normalperson (Eric Wong) wrote:
> So the insertion of a new class will need a namespace lock (just like
> creatin...
headius (Charles Nutter)
07:45 PM Feature #8568: Introduce RbConfig value for native word size, to avoid Fixnum#size use
In for 2.1? headius (Charles Nutter)
07:44 PM Feature #8088: Method#parameters (and friends) should provide useful information about core methods
Any possibility of getting this in for 2.1? headius (Charles Nutter)
07:41 PM Bug #8875: Select is not usable with SSLSocket
akr (Akira Tanaka) wrote:
> 2013/9/8 headius (Charles Nutter) <[email protected]>:
>
> > I would agree, excep...
headius (Charles Nutter)
03:26 PM Revision c77d56ff (git): * 2013-09-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:26 PM Revision 2328b4b2 (git): * ext/curses/extconf.rb: check the size of chtype.
* ext/curses/curses.c (NUM2CH, CH2NUM): use proper macros for
the size of chtype.
[ruby-core:56090] [Bug #8659]
g...
shugo (Shugo Maeda)
03:16 PM Feature #8956: Allow hash members delimited by \n inside of {}
If this proposal is going to be considered, then I think it should not be just for hashes, but also for arrays, and f... sawa (Tsuyoshi Sawada)
01:41 PM Feature #8956: Allow hash members delimited by \n inside of {}
Same about arrays, i guess? :) alexeymuranov (Alexey Muranov)
12:47 PM Feature #8956: Allow hash members delimited by \n inside of {}
Additional patch for labeled `assocs`.
~~~diff
diff --git a/parse.y b/parse.y
index b0a7cc4..63b4334 100644
---...
nobu (Nobuyoshi Nakada)
02:11 AM Feature #8956: Allow hash members delimited by \n inside of {}
I feel the need to mention that at this time, my changes do not include Ruby 1.9 style symbol hashes. These still req... adamdunson (Addie Drake)
03:06 PM Bug #8957 (Rejected): Ruby tk control variables for radiobutton menu radiobutton and menu checkbutton not working correctly.
It depends on bugs on the reporter's code.
--- test_control_variables.rb 2013-09-27 14:48:40.000000000 +0900
+++ ...
nagai (Hidetoshi Nagai)
10:52 AM Bug #8957 (Assigned): Ruby tk control variables for radiobutton menu radiobutton and menu checkbutton not working correctly.
nagachika (Tomoyuki Chikanaga)
03:50 AM Bug #8957 (Rejected): Ruby tk control variables for radiobutton menu radiobutton and menu checkbutton not working correctly.
The control variables for radiobutton menu radiobutton and menu checkbutton are not working correctly. In a starter p... rob (rob gow)
02:31 PM Revision 0e2f5210 (git): [DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:36 AM Revision 2c0d74b7 (git): * gc.c: add two GC tuning environment variables.
RUBY_GC_MALLOC_LIMIT_MAX and RUBY_GC_MALLOC_LIMIT_GROWTH_FACTOR.
See r43067 for details.
* gc.c (rb_gc_set_params):...
ko1 (Koichi Sasada)
08:45 AM Revision a31ff891 (git): * gc.c (GC_MALLOC_LIMIT): 8,000,000 -> 8 * 1,024 * 1,024.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
08:20 AM Revision 78a49728 (git): * gc.c (gc_before_sweep): cast to size_t to suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
08:14 AM Revision 3c5529f6 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:12 AM Revision 752cc234 (git): * gc.c: add some fine-grained profiling codes to tuning marking phase.
If you enable RGENGC_PRINT_TICK to 1, then profiling results by RDTSC
(on x86/amd64 environment) are printed at las...
ko1 (Koichi Sasada)
08:01 AM Revision f365cd2c (git): * gc.c: simplify threshold of GC caused by malloc_increase.
Now, malloc_limit is increased/decreased by mysterious logic.
This fix simplify malloc_limit increase/decrease logi...
ko1 (Koichi Sasada)
06:24 AM Feature #8959 (Assigned): Allow top level prepend
Since `include` works on top level, it's reasonable to enable top level
`prepend` as well.
I've already added a p...
kyrylo (Kyrylo Silin)
02:18 AM Revision 1ccdddb7 (git): .gdbinit: insert a colon
* .gdbinit (rp): insert a colon between type "SYMBOL" and ID value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
nobu (Nobuyoshi Nakada)
01:53 AM Feature #8953: `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
2013/9/27 ko1 (Koichi Sasada) <[email protected]>:
> Issue #8953 has been updated by ko1 (Koichi Sasada).

...
akr (Akira Tanaka)
01:23 AM Feature #8953: `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
(2013/09/27 1:13), ko1 (Koichi Sasada) wrote:
> And all of versions ignore the redefinition.
> I implemented 1.9...
ko1 (Koichi Sasada)
01:13 AM Feature #8953: `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
I checked previous behavior.
versions/install-tags_v1_6_5_/bin/ruby
versions/install-tags_v1_6_6_/bin/ruby
versi...
ko1 (Koichi Sasada)
12:59 AM Feature #8953 (Assigned): `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
nagachika (Tomoyuki Chikanaga)
01:07 AM Bug #8205 (Closed): Regexp.union behavior and Regexp.try_convert
This issue was solved with changeset r43061.
Alexander, thank you for reporting this issue.
Your contribution to Ruby...
zzak (zzak _)
01:02 AM Feature #7429: Provide options for core collections to customize behavior
Maybe combine it with https://bugs.ruby-lang.org/issues/8909
options = {klass:Hamster}
{ bug_number: 7429, status...
dsisnero (Dominic Sisneros)
01:01 AM Bug #8913: Unclear licensing terms on lib/gserver.rb
r42994 is backported to ruby_2_0_0 at r43060. nagachika (Tomoyuki Chikanaga)
12:56 AM Feature #8637: I18n documentation
Sutou-san has began implementation for this on rdoc tracker: https://github.com/rdoc/rdoc/pull/254 zzak (zzak _)
12:41 AM Bug #8936 (Closed): Improve explanation about passing more number of params to instance of Struct
This issue was solved with changeset r43058.
Prathamesh, thank you for reporting this issue.
Your contribution to Rub...
zzak (zzak _)
12:39 AM Misc #8905: Add documentation to semantics of method default arguments
It's defined as left-to-right order, always. nobu (Nobuyoshi Nakada)
12:35 AM Bug #8952 (Feedback): [DOC] required keyword arguments
@nobu did you see #8905? zzak (zzak _)
12:25 AM Bug #8889 (Feedback): Nodoc large parts of RSS
I like RSS, I think we should provide api-level documentation for things like Feed and Channel and Entry. The entity ... zzak (zzak _)
12:19 AM Bug #8812: RSS: document more constants
This patch is good, thank you! zzak (zzak _)
12:19 AM Bug #8821: Add documentation for Time#w3cdtf
I would just say "this method", instead of "the <name> method".
Otherwise, its good. Thank you!
zzak (zzak _)

09/26/2013

11:54 PM Feature #8956 (Rejected): Allow hash members delimited by \n inside of {}
Currently, hashes require members to be delimited by commas (`,`), even inside curly braces. E.g.,
~~~ruby
some_h...
adamdunson (Addie Drake)
11:49 PM Bug #8954 (Third Party's Issue): Execution crashed when querying twitter using the Twitter Gem
ruby_debug.gem issue. nobu (Nobuyoshi Nakada)
09:02 PM Bug #8954 (Third Party's Issue): Execution crashed when querying twitter using the Twitter Gem
Ruby 2.0 crashed when I was executing a script which hits the twitter search api for tweets containing certain keywor... akshaykhole (Akshay Khole)
11:33 PM Revision 59d48e55 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:33 PM Bug #8955 (Closed): LocalJumpError - no block given (yield) after implementation of class hierarchy method cache invalidation
Hi.
I use Ruby 2.1 on a Texas instruments C6678 DSP in a Linux environment based on uclinux and uClibc with NPTL/Pth...
mfla (Morten Fla)
08:21 PM Feature #8839 (Assigned): Class and module should return the class or module that was opened
How useful is this proposal?
I think we should not change anything without consideration of use case.
--
Yusuke...
mame (Yusuke Endoh)
12:03 PM Feature #8839: Class and module should return the class or module that was opened
nobu: I don't understand what you mean by "evaluated in different timings". Could you please explain?
I think this...
Anonymous
11:57 AM Feature #8839: Class and module should return the class or module that was opened
No, class and def are evaluated in different timings.
This proposal makes no sense.
nobu (Nobuyoshi Nakada)
06:43 AM Feature #8839: Class and module should return the class or module that was opened
+1 enebo (Thomas Enebo)
06:41 AM Feature #8839: Class and module should return the class or module that was opened
So...if there's no objections, can we get this into 2.1? I think with the new def return value change it really needs... headius (Charles Nutter)
04:59 PM Feature #8953: `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
Please backport r43050, 43052 sorah (Sorah Fukumori)
04:58 PM Feature #8953 (Closed): `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
This issue was solved with changeset r43052.
Goro, thank you for reporting this issue.
Your contribution to Ruby is g...
sorah (Sorah Fukumori)
04:52 PM Feature #8953 (Assigned): `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
Testing my patch on my machine for regexpmatch2 sorah (Sorah Fukumori)
04:48 PM Feature #8953: `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
Ah you are right. Thanks for pointing that out sorah. Anonymous
04:46 PM Feature #8953: `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
>The problem still exists for opt_regexpmatch1, right?
s/opt_regexpmatch1/opt_regexpmatch2/
sorah (Sorah Fukumori)
04:46 PM Feature #8953 (Open): `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
The problem still exists for opt_regexpmatch1, right? sorah (Sorah Fukumori)
04:39 PM Feature #8953 (Closed): `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
This issue was solved with changeset r43050.
Goro, thank you for reporting this issue.
Your contribution to Ruby is g...
Anonymous
04:20 PM Feature #8953: `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
hm...
ruby -e'class Regexp; def =~(o); true; end; end; p /a/ =~ "b"' #=> nil
sorah (Sorah Fukumori)
04:05 PM Feature #8953 (Closed): `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
The expression `a =~ b` does not call the =~ method in some cases.
I think it is a bug that results from optimizatio...
gfx (Goro FUJI)
04:46 PM Revision 87791df3 (git): * lib/rubygems: Update to Rubygems 2.0.10. [ruby-core:57360]
[Backport #8950]
the patch is provided by drbrain (Eric Hodel).
this update contains a security fix for CVE-2013-...
nagachika (Tomoyuki Chikanaga)
04:22 PM Revision dafc1f75 (git): merge revision(s) 42980,42981: [Backport #8927]
* parse.y (lambda): adjust position to the beginning of the block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bran...
nagachika (Tomoyuki Chikanaga)
04:08 PM Revision b5ad2a59 (git): merge revision(s) 42930: [Backport #8898]
* lib/uri/generic.rb (URI::Generic.find_proxy): return nil if
http_proxy environment variable is empty stri...
nagachika (Tomoyuki Chikanaga)
04:07 PM Revision dc308ee3 (git): * re.c: [DOC] arguments of Regexp::union receive #to_regexp [Bug #8205]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
04:00 PM Revision fe17a46e (git): merge revision(s) 42994: [Backport #8913]
* lib/gserver.rb: [DOC] correct gserver.rb license [Bug #8913]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches...
nagachika (Tomoyuki Chikanaga)
03:41 PM Revision b96a432e (git): * 2013-09-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:41 PM Revision ddb04eba (git): * struct.c: [DOC] grammar of ArgumentError in Struct.new [Bug #8936]
Patch by Prathamesh Sonpatki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43058 b2dd03c8-39d4-4d8f-98ff-823fe6...
zzak (zzak _)
02:47 PM Feature #8948: Frozen regex
jwille, I agree with the use case, but it would be difficult to tell which regexes are intended to be the same, so I ... sawa (Tsuyoshi Sawada)
02:46 PM Bug #8680 (Closed): ruby crashes when built with AddressSanitizer
This issue was solved with changeset r43047.
Ruby, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
02:12 PM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
I think there's a big opportunity here for immutable collection types... at least the sort that you know at the time ... bascule (Tony Arcieri)
06:49 AM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
Any other thoughts on this? Any other reasons why it shouldn't be done?
There are other advantages to having liter...
headius (Charles Nutter)
01:13 PM Revision 8603fdcc (git): * ext/bigdecimal/bigdecimal.c: [DOC] several fixes by @chastell
This includes fixing the capitalization of Infinity, return value of
example "BigDecimal.new('NaN') == 0.0", and co...
zzak (zzak _)
01:09 PM Revision 327cd077 (git): * lib/observer.rb: [DOC] syntax improvement in example by @chastell
[Fixes GH-400] https://github.com/ruby/ruby/pull/400
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43056 b2dd03...
zzak (zzak _)
01:04 PM Revision 017a975e (git): * ext/digest/digest.c: [DOC] typo in overview by @chastell
[Fixes GH-399] https://github.com/ruby/ruby/pull/399
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43055 b2dd03...
zzak (zzak _)
01:01 PM Revision 12fdf4bc (git): * ext/openssl/ossl.c: [DOC] typo in example by @zoranzaric
[Fixes GH-401] https://github.com/ruby/ruby/pull/401
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43054 b2dd03...
zzak (zzak _)
12:16 PM Revision e59f453e (git): * misc/ruby-electric.el (ruby-electric-delete-backward-char): Add
support for smartparen-mode.
* misc/ruby-electric.el (ruby-electric-cua-replace-region-maybe)
(ruby-electric-cua-d...
Akinori MUSHA
10:41 AM Bug #8952 (Closed): [DOC] required keyword arguments
Shouldn't "required keyword arguments" be described in the doc, probably in syntax/methods.rdoc?
There is only "opti...
nobu (Nobuyoshi Nakada)
10:38 AM Feature #8796 (Closed): Use GMP to accelerate Bignum operations
Introduced on r42743. naruse (Yui NARUSE)
09:07 AM Feature #8951: Please add a hash-to-hash alternative of the map method to Hash
In my private library, I have 3 map-like methods defined on hash:
Hash#with_keys
Hash#with_values
Hash#modify
They ...
Anonymous
07:58 AM Revision c4b4e77c (git): * insns.def (opt_regexpmatch2): Check String#=~ hasn't overridden
before calling rb_reg_match().
* test/ruby/test_string.rb: Test for above.
* vm.c (vm_init_redefined_flag): Add BOP...
sorah (Sorah Fukumori)
07:50 AM Revision 26f7f7da (git): * misc/ruby-electric.el: Avoid use of the interactive function
`self-insert-command` which fires `post-self-insert-hook` and
`post-command-hook`, to make the ruby-electric comman...
Akinori MUSHA
07:39 AM Revision b18151cf (git): * insns.def (opt_regexpmatch1): check Regexp#=~ is not defined before
calling rb_reg_match()
* test/ruby/test_regexp.rb: add test
* vm.c (ruby_vm_redefined_flag): change type to short[]...
Charlie Somerville
07:22 AM Revision 4190cddd (git): * gc.c (vm_xrealloc): use TRY_WITH_GC().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:06 AM Revision 165ebcb4 (git): Fix compilation on gcc 4.6
if __has_feature is not defined, it can't compile
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43048 b2dd03c8-3...
naruse (Yui NARUSE)
05:46 AM Revision 2bf5be1d (git): gc.c: disable AddressSanitizer
* gc.c (mark_locations_array): disable AddressSanitizer. based on a
patch by halfie (Ruby Guy) at [ruby-core:57372...
nobu (Nobuyoshi Nakada)
02:31 AM Revision f1e99541 (git): * 2013-09-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:31 AM Revision 89919f4e (git): gc.c: atomical add
* gc.c (gc_before_sweep, gc_after_sweep): add to increase2 atomically.
* gc.c (gc_marks): adjust indent.
git-svn-id...
nobu (Nobuyoshi Nakada)

09/25/2013

11:46 PM Feature #8948: Frozen regex
besides regexps being frozen, there might still be a use case for regexp literals that would only be allocated once:
...
jwille (Jens Wille)
09:46 PM Feature #8948 (Feedback): Frozen regex
sawa: do you want to request `Regexp` to always be `#frozen?` or should the issue be closed? Eregon (Benoit Daloze)
08:42 AM Feature #8948: Frozen regex
Eregon, thank you for the information. sawa (Tsuyoshi Sawada)
06:00 AM Feature #8948: Frozen regex
We already have immutable (created only once) regexps: it is always the case for literal regexps and for dynamic rege... Eregon (Benoit Daloze)
04:08 AM Feature #8948: Frozen regex
Sorry, there was a mistake in the above. The three regexes with the same content `/pattern1/` (or `/pattern1/f`) in t... sawa (Tsuyoshi Sawada)
04:02 AM Feature #8948 (Assigned): Frozen regex
=begin
I see that frozen string was accepted for Ruby 2.1, and frozen array and hash are proposed in https://bugs.ru...
sawa (Tsuyoshi Sawada)
10:27 PM Bug #8680: ruby crashes when built with AddressSanitizer
Attaching latest patch against tip. Feedback is welcome. halfie (Ruby Guy)
05:44 PM Bug #8399 (Closed): Remove usage of RARRAY_PTR in C extensions when not needed
This issue was solved with changeset r43044.
Dirkjan, thank you for reporting this issue.
Your contribution to Ruby i...
ko1 (Koichi Sasada)
12:53 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
(2013/09/25 6:00), Eric Wong wrote:
> Hi, it looks like the API is mostly fleshed out now since 2.1.0preview1
> ...
ko1 (Koichi Sasada)
06:23 AM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
SASADA Koichi <[email protected]> wrote:
> (2013/05/15 14:38), dbussink (Dirkjan Bussink) wrote:
> > If we're changi...
normalperson (Eric Wong)
02:23 PM Feature #8951: Please add a hash-to-hash alternative of the map method to Hash
#rehash is taken: http://www.ruby-doc.org/core-2.0.0/Hash.html#method-i-rehash

I was thinking about 'projection...
fuadksd (Fuad Saud)
01:36 PM Feature #8951: Please add a hash-to-hash alternative of the map method to Hash
How about:
`Hash#graph`
or
`Hash#rehash`
jamonholmgren (Jamon Holmgren)
01:23 PM Feature #8951: Please add a hash-to-hash alternative of the map method to Hash
Wow, I missed this a couple of days ago. Totally supported.

--
Fuad Saud
Sent with Sparrow (http://www.spa...
fuadksd (Fuad Saud)
01:05 PM Feature #8951 (Closed): Please add a hash-to-hash alternative of the map method to Hash
Please see this thread: https://twitter.com/behrangsa/status/382670159086776323
behrangsa (Behrang Saeedzadeh)
01:00 PM Bug #8616: Process.daemon messes up threads
FWIW, it looks like the relevant change that fixed it for 2.1.0-preview1 was https://github.com/ruby/ruby/commit/300b... benweint (Ben Weintraub)
12:56 PM Bug #8616: Process.daemon messes up threads
Actually, it looks like this is fixed in Ruby 2.1.0-preview1 (Thread#alive? returns false for background threads spaw... benweint (Ben Weintraub)
08:06 AM Bug #8616: Process.daemon messes up threads
I agree with Evan. The behavior he describes would be consistent with how threads are handled when a process forks vi... benweint (Ben Weintraub)
12:25 PM Bug #8774: rb_file_dirname return wrong encoding string when dir is "."
Any progress? [email protected] (贾 延平)
12:12 PM Bug #8677: $LOAD_PATH did not encoded into the "internal encoding"
Hope fix in Ruby 2.1 [email protected] (贾 延平)
10:16 AM Bug #8940 (Assigned): printing UTF-32 crashs ruby
r43033, r43034, and r43035 also looks related.
Note that though Unicode spec says non endian encoding should be Bi...
naruse (Yui NARUSE)
08:44 AM Revision 9215982a (git): * README.EXT, README.EXT.ja: remove description of RARRAY_PTR()
and add a caution of accessing internal data structure directly.
Also add a description of rb_ary_store().
[Bug #...
ko1 (Koichi Sasada)
08:24 AM Revision dc626dba (git): * include/ruby/ruby.h: rename RARRAY_RAWPTR() to RARRAY_CONST_PTR().
RARRAY_RAWPTR(ary) returns (const VALUE *) type pointer and
usecase of this macro is not acquire raw pointer, but a...
ko1 (Koichi Sasada)
07:58 AM Revision d700d340 (git): internal.h: move inline functions
* internal.h (rb_float_value, rb_float_new): move inline functions
from ruby/ruby.h.
* numeric.c (rb_float_value, r...
nobu (Nobuyoshi Nakada)
07:46 AM Revision b328a43f (git): test_command_processor.rb: fix for mswin/mingw and test for directory
* test/shell/test_command_processor.rb (test_system_external): fix for
mswin and mingw. one of EXECUTABLE_EXTS is ...
nobu (Nobuyoshi Nakada)
06:37 AM Revision d12d47c4 (git): * test/rdoc/test_rdoc_generator_darkfish.rb: add a guard for windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:27 AM Bug #8941 (Rejected): strptime %Y parsing
we don't need any bug reports for python.
ruby's one isn't wrong.
tadf (tadayoshi funaba)
03:29 AM Feature #4830: Provide Default Variables for Array#each and other iterators
I don't like this. The only thing that doesn't hurt so much would be
something like scala's underscores for one pa...
fuadksd (Fuad Saud)
02:59 AM Feature #4830: Provide Default Variables for Array#each and other iterators
How should nested blocks behave?
[[1, 2], [3, 4]].map { item.map { item + 1 } }
alexeymuranov (Alexey Muranov)
12:53 AM Revision 8eb39185 (git): * lib/rubygems: Fix CVE-2013-4363. Miscellaneous minor improvements.
* test/rubygems: Tests for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43039 b2dd03c8-39d4-4d8f-9...
drbrain (Eric Hodel)
12:29 AM Revision 61f3a787 (git): * 2013-09-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:29 AM Revision e1c4d844 (git): NEWS: required keyword arguments
* NEWS (Language changes): mention about required keyword arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom