Project

General

Profile

Activity

From 07/06/2012 to 07/12/2012

07/12/2012

11:08 PM Bug #6726 (Closed): Syslog crashes when the special %m tag (of syslog(3)) is present in the message
The %m special escape sequence supported by the syslog(3) system call is claimed by the Ruby doc to be supported by t... ameuret (Arnaud MEURET)
09:11 PM Revision d57103b9 (git): test: dots from a worker
* lib/test/unit.rb (Test::Unit::StatusLineOutput#print): sometimes
dots from a worker get stuck.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
09:11 PM Revision b788ff5c (git): test: unnecessary job_status
* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): no needs to
override job_status option unnecessarily.
git-s...
nobu (Nobuyoshi Nakada)
09:11 PM Revision 12b3c3e1 (git): * 2012-07-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:11 PM Revision e8f714b6 (git): test: separate each outputs
* lib/test/unit.rb (Test::Unit::Runner#del_status_line): separate each
outputs if not replace mode.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
08:38 PM Bug #6725 (Rejected): variables changed in signal handlers are left unchanged in main code
Asynchronous signals may not dealt with in the order you expect.
nobu (Nobuyoshi Nakada)
04:59 PM Bug #6725 (Rejected): variables changed in signal handlers are left unchanged in main code
Test case:
mkfifo myfifo
ruby -e "a=0;trap(:USR2) {a+=1}; IO.readlines('myfifo') rescue nil; puts a"
killall -US...
375gnu (Hleb Valoshka)
01:23 PM Feature #6724: waaaaaaant! (ISeq.load)
(2012/07/12 12:20), SASADA Koichi wrote:
> ... ah, the signature of this function is not exposed by GCC's
> visi...
ko1 (Koichi Sasada)
12:23 PM Feature #6724: waaaaaaant! (ISeq.load)
(2012/07/12 8:58), zenspider (Ryan Davis) wrote:
> GIMME GIMME GIMME! waaaaaant... We don't _need_ a verifier. Use...
ko1 (Koichi Sasada)
10:17 AM Feature #6724: waaaaaaant! (ISeq.load)
I really like this feature. I have this exact patch applied to my local ruby binary.
But having used it a while, ...
shyouhei (Shyouhei Urabe)
08:58 AM Feature #6724 (Closed): waaaaaaant! (ISeq.load)
GIMME GIMME GIMME! waaaaaant... We don't _need_ a verifier. User responsibility... etc etc.
Can I commit this???...
zenspider (Ryan Davis)
12:39 PM Bug #6723 (Assigned): Global variable scoping problem.
nobu (Nobuyoshi Nakada)
07:50 AM Bug #6723 (Closed): Global variable scoping problem.
This issue exists from 1.8 to ruby-head.
See the following example:
def foobar
"Foobar".match(/^(\w*)/)
p...
iblue (Markus Fenske)
11:44 AM Bug #5374 (Closed): Weird SecurityError with ruby1.9, File.stat/Dir.glob and $SAFE=1
This issue was solved with changeset r36373.
Hleb , thank you for reporting this issue.
Your contribution to Ruby is ...
nobu (Nobuyoshi Nakada)
07:38 AM Bug #5374: Weird SecurityError with ruby1.9, File.stat/Dir.glob and $SAFE=1
nobu (Nobuyoshi Nakada) wrote:
> Does this happen with recent versions?
Yes, at least with 1.9.3p194 (2012-04-20 ...
375gnu (Hleb Valoshka)
09:54 AM Feature #6688: Object#replace
How would it behave for immediate VALUEs (Fixnum, Symbol, etc.)?
Or value classes that are immutable or often occur ...
kstephens (Kurt Stephens)
08:24 AM Feature #6688: Object#replace
trans (Thomas Sawyer) wrote:
> =begin
> I don't think #replace works on Enumerables, rather it works on Array and H...
prijutme4ty (Ilya Vorontsov)
08:03 AM Feature #6688: Object#replace
trans (Thomas Sawyer) wrote:
> =begin
> I don't think #replace works on Enumerables, rather it works on Array and H...
prijutme4ty (Ilya Vorontsov)
07:38 AM Feature #6688: Object#replace
shugo (Shugo Maeda) wrote:
> prijutme4ty (Ilya Vorontsov) wrote:
> > I suggest that #replace works not only on Enum...
prijutme4ty (Ilya Vorontsov)
05:37 AM Feature #3346: __DIR__ revisted
I'm for __dir__ or __DIR__ since I use File.dirname(__FILE__) a lot. Barely prefer __DIR__ since __FILE__ already ex... rogerdpack (Roger Pack)
05:11 AM Bug #6644 (Closed): Weird behavior of defined?(super) check invoked from a metaprogrammatically defined class method
This issue was solved with changeset r36369.
Alexey, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
05:11 AM Bug #6722 (Closed): Weird behavior of defined?(super) check invoked from a metaprogrammatically defined class method
This issue was solved with changeset r36369.
Alexey, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
03:37 AM Feature #6617 (Closed): Net::HTTP: Bind to a specific local IP/port
This issue was solved with changeset r36367.
Ricardo, thank you for reporting this issue.
Your contribution to Ruby i...
naruse (Yui NARUSE)
03:32 AM Revision c3521bf6 (git): test: skip default gems
* test/runner.rb: skip default gems to get rid of loading old versions
before installation.
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
03:23 AM Bug #6718: ruby segfault in abstract_mysql_adapter.rb when trying to run from command-line
"dpg (Dan Gailey)" <[email protected]> wrote:
> Target version:
> ruby -v: ruby 1.9.3p194 (2012-04-20 revi...
normalperson (Eric Wong)
02:44 AM Revision d7444332 (git): rb_str_new_frozen: new object if tainted/untrusted unmatch
* string.c (rb_str_new_frozen): since the result object should have
same tainted/untrusted bits with the original o...
nobu (Nobuyoshi Nakada)
01:51 AM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
drbrain (Eric Hodel) wrote:
> This patch uses streaming zlib from #6612 which limits the size of a chunk to 16KB (th...
naruse (Yui NARUSE)
01:48 AM Revision 8cc3fef8 (git): * test/net/http/test_http.rb (TestNetHTTPLocalBind#test_bind_to_local*):
cannot cross between network interfaces on Windows, so skip this test
until we find better test.
git-svn-id: svn+...
U.Nakamura
01:27 AM Revision 558edd51 (git): Use IPv4 address on connecting to 127.0.0.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

07/11/2012

11:52 PM Revision 9696b3eb (git): Imported minitest 3.2.0 (r7598). Reviewed by drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
10:24 PM Bug #6716: FileUtils.mv でリンク先がないシンボリックリンクファイルを指定すると ENOENT エラーになる
こんな感じにしてみました。いかがでしょうか。
https://github.com/tmtm/ruby/commit/00a677d8f42a36dc3ec5515fde8107e5f41bfd7b
tommy (Masahiro Tomita)
10:22 PM Feature #6717: Method like #instance_eval that returns self (like #tap)
alexeymuranov (Alexey Muranov) wrote:
> ((*rosenfeld*)), what did you mean by "won't be suitable for nested tweak ca...
rosenfeld (Rodrigo Rosenfeld Rosas)
10:15 PM Feature #6717 (Rejected): Method like #instance_eval that returns self (like #tap)
marcandre (Marc-Andre Lafortune)
10:14 PM Feature #6717: Method like #instance_eval that returns self (like #tap)
=begin
If nobody has anything interesting to say about this, the issue can be closed, as i think (({tap})) works fin...
alexeymuranov (Alexey Muranov)
06:12 AM Feature #6717: Method like #instance_eval that returns self (like #tap)
=begin
I think i've understood the concern of ((*nobu*)): object's private methods will be accessible from the block....
alexeymuranov (Alexey Muranov)
12:05 AM Feature #6717: Method like #instance_eval that returns self (like #tap)
=begin
Another idea: how about "associating" this method with "public self" requested in #6373?
class Object
def...
alexeymuranov (Alexey Muranov)
09:22 PM Feature #6721: Object#yield_self
It executes the block and returns its output. For example:
```ruby
2.yield_self { |x| x*x } # => 4
```
alexeymuranov (Alexey Muranov)
06:33 PM Feature #6721: Object#yield_self
How is this significantly different than Object#tap? jballanc (Joshua Ballanco)
04:35 PM Feature #6721 (Closed): Object#yield_self

I think the following method is missing from Ruby:
~~~ruby
class Object
def yield_self(*args)
yield(...
alexeymuranov (Alexey Muranov)
08:11 PM Revision 35784d10 (git): defined: me in cfp
* insns.def (defined): use method entry and id in cfp for proper
superclass, since klass in iseq is shared by dynam...
nobu (Nobuyoshi Nakada)
07:59 PM Bug #6722 (Closed): Weird behavior of defined?(super) check invoked from a metaprogrammatically defined class method
=begin
Hi guys,
Sorry for the duplicate - I already reported ((<this issue|URL:https://bugs.ruby-lang.org/issues/...
alexisowl (Alexey Smolianinov)
06:37 PM Revision 2642b690 (git): * 2012-07-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:37 PM Revision 46898537 (git): * lib/net/http.rb (Net::HTTP#connect): use local_host and local_port
if specified. patched by Ricardo Amorim [Feature #6617]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36367 b2dd...
naruse (Yui NARUSE)
02:23 PM Feature #6720: Discrepancy between DateTime#strftime('%s') and Time#strftime('%s') before 1582-10-15
2012/7/11 phasis68 (Heesob Park) <[email protected]>:
>
> I found some discrepancy between DateTime#strftime('%s'...
akr (Akira Tanaka)
01:04 PM Feature #6720 (Assigned): Discrepancy between DateTime#strftime('%s') and Time#strftime('%s') before 1582-10-15
IMO, this is the problem of Time, not DateTime.
I think that this may be a limitation of Time.
Anyway, it is that ...
usa (Usaku NAKAMURA)
11:28 AM Feature #6720 (Rejected): Discrepancy between DateTime#strftime('%s') and Time#strftime('%s') before 1582-10-15
I found some discrepancy between DateTime#strftime('%s') and Time#strftime('%s') on date before 1582-10-15
Conside...
phasis68 (Heesob Park)
10:20 AM Bug #6692: TestSocket::test_udp_server always fails on OS X with Back to my Mac enabled
drbrain (Eric Hodel) wrote:
> netstat says this about the iCloud route:
>
> fd92::[…] link#1 UHL lo0
>
> So th...
naruse (Yui NARUSE)
09:02 AM Revision dea58245 (git): sample/test.rb: fix standalone
* sample/test.rb (Progress#initialize): no rotators when STDOUT is
also tty, that is directly invoked but not from ...
nobu (Nobuyoshi Nakada)
08:36 AM Revision c9e4da2a (git): enc/encinit.c for static-linked-ext
* ext/extmk.rb: append ENCOBJS to DLDOBJS but not EXTSOLIBS which is
not a target, to compile enc/encinit.c.
git-...
nobu (Nobuyoshi Nakada)
06:47 AM Bug #6719 (Closed): Documentation Error for String.sub()
"Returns a copy of str with the first occurrence of pattern substituted for the second argument." should be "Returns ... blackwatertepes (Tyler Kuhn)
06:39 AM Bug #6718: ruby segfault in abstract_mysql_adapter.rb when trying to run from command-line
=begin
Could be a bug of mysql2:
-- C level backtrace information -------------------------------------------
...
drbrain (Eric Hodel)
06:05 AM Bug #6718 (Rejected): ruby segfault in abstract_mysql_adapter.rb when trying to run from command-line
Ruby segfaults in abstract_mysql_adapter.rb:241 when trying to run a simple command from the command-line.
the com...
dpg (Dan Gailey)
05:55 AM Feature #6373: public #self
trans (Thomas Sawyer) wrote:
> Please, what's wrong with public #self?
Nothing, just was wondering how to use `_`...
alexeymuranov (Alexey Muranov)
04:37 AM Feature #6373: public #self
`_` is used by irb. Also, I don't really see why. Code would look much more "perlish" using `_`.
Please, what's wr...
trans (Thomas Sawyer)
12:38 AM Feature #6373: public #self
I've heard that the underscore `_` is commonly used for ignored block variables. Maybe this "public self" can be cons... alexeymuranov (Alexey Muranov)
05:29 AM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
This patch uses streaming zlib from #6612 which limits the size of a chunk to 16KB (the maximum size of the zlib buff... drbrain (Eric Hodel)
03:52 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
Hello,
This patch still works as-is with ruby-1.9.3-p194 and ruby-1.9.2-p320:
https://github.com/sunaku/ruby/co...
sunaku (Suraj Kurapati)
03:46 AM Revision 04051396 (git): * ext/openssl/ossl_pkey_ec.c (ossl_ec_point_mul): nonstatic initializer
of an aggregate type is a C99ism.
* ext/openssl/ossl_pkey_ec.c (ossl_ec_point_mul): get rid of VC++
warnings.
gi...
U.Nakamura
03:25 AM Revision 412c5a96 (git): * vm_eval.c (rb_eval_string_from_file,
rb_eval_string_from_file_protect): new functions to replace
rb_compile_main_from_string() and ruby_eval_main().
* ...
yugui (Yuki Sonoda)
03:25 AM Revision 64ef091a (git): Reverts a half of r36079. As we discussed on ruby-dev@ and IRC,
we do not need to disclose intermediate representation of program.
The program embedding CRuby should use rb_eval_str...
yugui (Yuki Sonoda)
03:17 AM Revision 7bca2f03 (git): get rid of warnings
* io.c (sysopen_func, rb_sysopen_internal): cast through VALUE to get
rid of warnings. fixup of r36355.
* process....
nobu (Nobuyoshi Nakada)
02:00 AM Revision 11bde3ae (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:16 AM Revision ce0b4fea (git): HAVE_RUBY_THREAD_H
* include/ruby.h (HAVE_RUBY_THREAD_H): to show ruby/thread.h to be
available. fixup of r36355.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
12:23 AM Revision c444a7e3 (git): * ChangeLog: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura

07/10/2012

11:38 PM Feature #6321: Find and repair bad bytes in encodings, without transcoding
I agree with jrochkind - I think this would be a very useful feature to have. It's not uncommon, when working with di... mistydemeo (Misty De Meo)
07:18 AM Feature #6321: Find and repair bad bytes in encodings, without transcoding
Another way to solve this, rather than add a new method, could be making String#encode with `:invalid => :replace` op... jrochkind (jonathan rochkind)
07:08 AM Feature #6321: Find and repair bad bytes in encodings, without transcoding
PS: I am working on simple not-quite-yet-released gem to do this, as best as I could figure out to do in pure ruby, f... jrochkind (jonathan rochkind)
06:55 AM Feature #6321: Find and repair bad bytes in encodings, without transcoding
> Raising exception as soon as possible sounds reasonable.
> But replacing is not.
> In principle, such bad data sh...
jrochkind (jonathan rochkind)
11:35 PM Feature #6717: Method like #instance_eval that returns self (like #tap)
on the other hand that approach won't be suitable for nested tweak calls :) rosenfeld (Rodrigo Rosenfeld Rosas)
10:26 PM Feature #6717: Method like #instance_eval that returns self (like #tap)
=begin
It seems to me that the main question is if to allow new methods that act like (({instance_eval})), or call it...
alexeymuranov (Alexey Muranov)
09:57 PM Feature #6717: Method like #instance_eval that returns self (like #tap)
=begin
I'm against adding new methods which call (({instance_eval})) under the hood.
=end
nobu (Nobuyoshi Nakada)
09:47 PM Feature #6717: Method like #instance_eval that returns self (like #tap)
=begin
For a few hours already i like this method so much, that i want to propose a short name for it: (({Object#!}))...
alexeymuranov (Alexey Muranov)
08:58 PM Feature #6717 (Rejected): Method like #instance_eval that returns self (like #tap)
=begin
How about adding a method that acts like (({#instance_eval})), but returns (({self}))?
Call it (({Object#i...
alexeymuranov (Alexey Muranov)
11:26 PM Feature #6711: Optional typing and method overloading
jballanc (Joshua Ballanco) wrote:
> Just a humble suggestion, but it seems like what you want is not so much method ...
rosenfeld (Rodrigo Rosenfeld Rosas)
11:18 PM Feature #6711: Optional typing and method overloading
matz (Yukihiro Matsumoto) wrote:
> Good try, but:
>
> * You cannot use # sign as type specifier, since it's alrea...
rosenfeld (Rodrigo Rosenfeld Rosas)
05:25 AM Feature #6711: Optional typing and method overloading
Just a humble suggestion, but it seems like what you want is not so much method overloading as it is multidispatch. C... jballanc (Joshua Ballanco)
02:30 AM Feature #6711 (Rejected): Optional typing and method overloading
Good try, but:
* You cannot use # sign as type specifier, since it's already used as a comment sign.
* You didn't...
matz (Yukihiro Matsumoto)
10:57 PM Feature #5543 (Closed): rb_thread_blocking_region() API is poorly designed
This issue was solved with changeset r36355.
Christopher, thank you for reporting this issue.
Your contribution to Ru...
nobu (Nobuyoshi Nakada)
06:53 PM Feature #5543: rb_thread_blocking_region() API is poorly designed
(2012/07/08 5:06), larskanis1 (Lars Kanis) wrote:
>
> OK, then use 'void *' like rb_thread_call_with_gvl().

...
ko1 (Koichi Sasada)
08:37 PM Feature #2674 (Assigned): RubyVM::InstructionSequence to accept IOs
shyouhei (Shyouhei Urabe)
07:27 PM Bug #6716 (Closed): FileUtils.mv でリンク先がないシンボリックリンクファイルを指定すると ENOENT エラーになる
FileUtils.mv でリンク先がないシンボリックリンクファイルを指定すると ENOENT になります。
~~~
% ln -s unexist hoge
% ruby -v -rfileutils -e 'FileU...
tommy (Masahiro Tomita)
06:28 PM Revision 8119a73d (git): * 2012-07-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:28 PM Revision 3cf7d1b5 (git): * ext/zlib/zlib.c: Added streaming support to inflate processing.
This allows zlib streams to be processed without huge memory growth.
[Feature #6612]
* NEWS: ditto
* ext/zlib/zlib...
drbrain (Eric Hodel)
06:23 PM Feature #6693: Don't warn for unused variables starting with _
On 09/07/12 14:54, marcandre (Marc-Andre Lafortune) wrote:
>
> Issue #6693 has been updated by marcandre (Marc-A...
regularfry (Alex Young)
04:25 PM Bug #6137: openssl: hardcoded MD5 use leads to SSL server failure in FIPS mode
Since this was originally reported against 1.8.7, could you please backport it? Or is 1.8.7 maintenance already over?... vo.x (Vit Ondruch)
03:53 PM Feature #6503: Support for the NPN extension to TLS/SSL
On 2012/07/06 16:10, MartinBosslet (Martin Bosslet) wrote:
>
> Issue #6503 has been updated by MartinBosslet (Ma...
duerst (Martin Dürst)
01:57 PM Revision c51a8267 (git): rb_thread_call_without_gvl
* include/ruby/thread.h: new header file for thread stuff.
* thread.c (rb_thread_call_without_gvl): export. [Feature...
nobu (Nobuyoshi Nakada)
11:12 AM Bug #6715 (Rejected): Dir.mktmpdir fails if you delete it yourself
Dir.mktmpdir when given a block will call `FileUtil.remove_entry_secure` in the ensure section. If the contents of th... mitchellh (Mitchell Hashimoto)
10:33 AM Feature #6620 (Assigned): Add &apos; to CGI's HTML escaping
Sorry, I confirmed this specification in HTML5.
I will import &apos; later.
Please wait.
xibbar (Takeyuki FUJIOKA)
09:04 AM Feature #6612 (Closed): Add streaming inflate and deflate to Zlib
This issue was solved with changeset r36349.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
drbrain (Eric Hodel)
05:46 AM Bug #6692: TestSocket::test_udp_server always fails on OS X with Back to my Mac enabled
netstat says this about the iCloud route:
fd92::[…] link#1 UHL lo0
So there's no reason it shouldn't work that ...
drbrain (Eric Hodel)
05:21 AM Feature #6714 (Closed): Code injection framework
# Abstract
Introducing code injection framework. Different from set_trace_func(), this framework injects codes on...
ko1 (Koichi Sasada)
03:59 AM Feature #6710: new special binding specifier :isolated
Hi,

(2012/07/09 23:19), jballanc (Joshua Ballanco) wrote:
> I like this idea, but I have one question: why ma...
ko1 (Koichi Sasada)
03:51 AM Revision 1a853390 (git): * ext/zlib/zlib.c: Revert r36349. Added streaming support to inflate
processing. rb_block_given_p() is not callable without the GVL.
* ext/zlib/extconf.rb: ditto
* NEWS: ditto
* test/...
drbrain (Eric Hodel)
03:35 AM Revision 25f03737 (git): sample/test.rb: Progress::Rotator
* sample/test.rb (Progress): refactor to separate Rotator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36353 b...
nobu (Nobuyoshi Nakada)
03:00 AM Revision 9804e68f (git): sample/test.rb: newline
* sample/test.rb (PROGRESS.finish): newline after each tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3635...
nobu (Nobuyoshi Nakada)
02:05 AM Feature #6712 (Rejected): Introduce super! for calling old definition when reopening classes
Rejecting because of unworkability and no longer any use cases. marcandre (Marc-Andre Lafortune)
01:46 AM Feature #6712: Introduce super! for calling old definition when reopening classes
good catch :) Have no idea :P Just raise an exception "super! can't be used with eval" :) rosenfeld (Rodrigo Rosenfeld Rosas)
01:04 AM Feature #6712: Introduce super! for calling old definition when reopening classes
@rosenfeld remember eval.
def a
eval("super!") * 3
end
should what happen?
shyouhei (Shyouhei Urabe)
01:49 AM Revision 64ae820d (git): * include/ruby/win32.h (NT, NtInitialize): removed unused old macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:45 AM Revision 8a02eed7 (git): * configure.in: removed --enable/disable-win95 options. (see r36432)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
12:30 AM Feature #4151: Enumerable#categorize
=begin
I would add a new method to initialize or fill (({Hash})): (({Hash::new(enum) { |k| value_for_key(k) }}))
Al...
alexeymuranov (Alexey Muranov)
12:04 AM Revision 3e419e6c (git): * ext/zlib/zlib.c: Added streaming support to inflate processing.
This allows zlib streams to be processed without huge memory growth.
[Feature #6612]
* NEWS: ditto
* ext/zlib/zlib...
drbrain (Eric Hodel)

07/09/2012

11:19 PM Feature #6710: new special binding specifier :isolated
=begin
I like this idea, but I have one question: why make this a special argument to `eval` and not to `Binding.new...
jballanc (Joshua Ballanco)
03:34 PM Feature #6710 (Rejected): new special binding specifier :isolated
=begin
= Abstract
New special binding specifier :isolated for the 2nd argument of eval() method.
eval(src, :is...
ko1 (Koichi Sasada)
11:02 PM Feature #6265: Remove 'useless' 'concatenation' syntax
Changing target for 2.0 so that we add the deprecation warning.
A warning is good practice and should happen at th...
marcandre (Marc-Andre Lafortune)
10:59 PM Feature #6712: Introduce super! for calling old definition when reopening classes
@shyouhei, I think the behavior should be the same as the "prepend" behavior described by @marcandre.
def a
super! ...
rosenfeld (Rodrigo Rosenfeld Rosas)
10:45 PM Feature #6712: Introduce super! for calling old definition when reopening classes
Hi,
> I'd prefer to have an official non-hacking way of achieving the same with just Ruby. Something simpler like:...
marcandre (Marc-Andre Lafortune)
10:40 PM Feature #6712: Introduce super! for calling old definition when reopening classes
(1) I don't like the name
(2) It's not obvious what'd happen. What if A includes other module, which also define a ...
shyouhei (Shyouhei Urabe)
10:23 PM Feature #6712 (Rejected): Introduce super! for calling old definition when reopening classes
ActiveSupport adds support for alias_method_chain which is a hack for being able to call the original method being ov... rosenfeld (Rodrigo Rosenfeld Rosas)
10:54 PM Feature #6693: Don't warn for unused variables starting with _
Hi,
regularfry (Alex Young) wrote:
> I don't know about anyone else, but I'm already using _foo as a pattern
>...
marcandre (Marc-Andre Lafortune)
05:40 PM Feature #6693 (Feedback): Don't warn for unused variables starting with _
Sorry, missed [ruby-core:46170].
Now I incline to revert the commit. Any idea?
nobu (Nobuyoshi Nakada)
05:23 PM Feature #6693: Don't warn for unused variables starting with _
> なかだです。
>
> At Mon, 9 Jul 2012 06:32:58 +0900,
> SASADA Koichi wrote in [ruby-dev:45925]:
>>
>> これって入れるって...
kosaki (Motohiro KOSAKI)
04:29 PM Feature #6693: Don't warn for unused variables starting with _
なかだです。

At Mon, 9 Jul 2012 06:32:58 +0900,
SASADA Koichi wrote in [ruby-dev:45925]:
>
> これって入れるって決まったんでした...
nobu (Nobuyoshi Nakada)
06:53 AM Feature #6693: Don't warn for unused variables starting with _
これって入れるって決まったんでしたっけ.


(2012/07/08 7:42), nobu wrote:
> nobu 2012-07-08 07:36:25 +0900 (Sun, 08 Jul 2012)
...
ko1 (Koichi Sasada)
10:26 PM Feature #6711: Optional typing and method overloading
Actually the precedence should be:
1 - max number of matched argument types
2 - max number of better matched argu...
rosenfeld (Rodrigo Rosenfeld Rosas)
10:15 PM Feature #6711 (Rejected): Optional typing and method overloading
Today I woke up with some ideas to overcome some of the features I miss in Ruby. I've searched for similar issues and... rosenfeld (Rodrigo Rosenfeld Rosas)
06:41 PM Feature #1873: MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
erikh (Erik Hollensbe) wrote:
> I've attached a new patch -- this implements the same functionality but refers to it...
naruse (Yui NARUSE)
11:50 AM Feature #1873: MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
Hi folks, can I get some feedback on this patch before feature freeze? Thanks. erikh (Erik Hollensbe)
03:53 PM Revision 428a5a9c (git): * include/ruby/ruby.h: Removed RUBY_GLOBAL_SETUP complely. It is
no meaning definition since r24894.
* main.c: ditto.
* nacl/pepper_main.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang...
kosaki (Motohiro KOSAKI)
03:52 PM Revision fe0b5d49 (git): * 2012-07-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:52 PM Revision 3e1d8aab (git): * dln.c: Simplify and make consistent an ifdef for Mac OS X.
* ext/socket/rubysocket.h: ditto.
* ext/tk/stubs.c: ditto.
* io.c: ditto.
* process.c: ditto.
* signal.c: ditto.
* vm...
kosaki (Motohiro KOSAKI)
03:31 PM Feature #6697 (Feedback): [PATCH] Add Kernel#Symbol conversion method like String(), Array() etc.
String(obj) calls obj.to_str first, then calls obj.to_s.
So they are different.
Integer("foo") raises ArgumentErr...
naruse (Yui NARUSE)
01:26 PM Feature #6620: Add &apos; to CGI's HTML escaping
&apos; is a valid entity for both XHML (http://www.w3.org/TR/xhtml1/dtds.html) and HTML5 (http://www.w3.org/TR/2011/W... moxley (Moxley Stratton)
01:12 PM Revision f40412e2 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:04 AM Bug #6708 (Closed): Remove useless parameter
https://github.com/ruby/ruby/pull/143 oscardelben (Oscar Del Ben)
08:38 AM Revision 2e5dcb53 (git): * win32/win32.c (win95_stat): remove unnecessary macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
08:33 AM Revision 284d912e (git): * include/ruby/win32.h: sorry, mistaken.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
08:25 AM Revision 9d271169 (git): * win32/configure.bat, win32/setup.mak, win32/Makefile.sub: omit Win9x
support. remove --enable/disable-win95 option.
* include/ruby/win32.h, file.c, win32/win32.c: ditto.
* win32/READM...
U.Nakamura
07:57 AM Feature #6682: Add a method to return an instance attached by a singleton class
I opened a pull request for this feature: https://github.com/ruby/ruby/pull/142 ryoqun (Ryo Onodera)
04:35 AM Revision 9a8a2fd2 (git): ext/zlib/zlib.c: initialize return value
* ext/zlib/zlib.c (zstream_run_func): initialize the return value,
interrupt flag may set before starting loop.
gi...
nobu (Nobuyoshi Nakada)
04:35 AM Revision 66f4c3f1 (git): suppress warnings on mingw32
* atomic.h (ATOMIC_SIZE_): cast to suppress warnings on mingw32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3...
nobu (Nobuyoshi Nakada)
04:28 AM Revision 349ea593 (git): * 2012-07-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:28 AM Revision 37c8b685 (git): mkmf.rb: add TARGET_NAME
* configure.in (DLDFLAGS): use TARGET_ENTRY to specify an entry point
instead of TARGET which may contain non-ident...
nobu (Nobuyoshi Nakada)
01:40 AM Feature #6707 (Rejected): Remove checks for Ruby 1.9 in trunk
We don't need those checks anymore.
https://github.com/ruby/ruby/pull/141
oscardelben (Oscar Del Ben)

07/08/2012

11:45 PM Feature #4151: Enumerable#categorize
After a nap I awoke realizing the exact same thing. Which leads me to think likewise, we need such a method --a new "... trans (Thomas Sawyer)
10:56 PM Feature #4151: Enumerable#categorize
trans (Thomas Sawyer) wrote:
> I have given this subject matter considerable thought, and I believe the best definit...
Eregon (Benoit Daloze)
09:28 PM Feature #4151: Enumerable#categorize
One further point... whether #categorize is still the best name for this given the definition seems a reasonable ques... trans (Thomas Sawyer)
09:18 PM Feature #4151: Enumerable#categorize
=begin
I have given this subject matter considerable thought, and I believe the best definition is as follows:
# A...
trans (Thomas Sawyer)
05:16 PM Feature #6684: Object#do
sorah (Shota Fukumori) wrote:
> No problem to reject?
no problem. thank you.
merborne (kyo endo)
09:47 AM Feature #6684 (Rejected): Object#do
No problem to reject? sorah (Sorah Fukumori)
08:14 AM Bug #6706 (Closed): Improve documentation for Continuation
Add links to Kernel#callcc for cross reference.
Improve formatting.
oscardelben (Oscar Del Ben)
07:36 AM Feature #6693 (Closed): Don't warn for unused variables starting with _
This issue was solved with changeset r36337.
Marc-Andre, thank you for reporting this issue.
Your contribution to Rub...
nobu (Nobuyoshi Nakada)
07:17 AM Bug #6704: Random core dump
You mean the Python stuff? I noticed that too, if I were to guess it has to do with Pygments, but maybe not given wha... trans (Thomas Sawyer)
06:53 AM Bug #6704: Random core dump
The most important part, stack trace, is lost, but seems there are unusual extension libraries? nobu (Nobuyoshi Nakada)
03:01 AM Bug #6704: Random core dump
This one got mangled. Please remove. trans (Thomas Sawyer)
02:59 AM Bug #6704 (Rejected): Random core dump
=begin
I keep getting this core dump, but it seems completely random. Here is as much of the dump as I could copy:
...
trans (Thomas Sawyer)
05:06 AM Feature #5543: rb_thread_blocking_region() API is poorly designed
OK, then use 'void *' like rb_thread_call_with_gvl(). larskanis1 (Lars Kanis)
03:00 AM Bug #6705 (Closed): Random core dump
=begin
I keep getting this core dump, but it seems completely random. Here is as much of the dump as I could copy:
...
trans (Thomas Sawyer)

07/07/2012

10:36 PM Revision fbacb71b (git): [Feature #6693]
* parse.y (shadowing_lvar_gen, warn_unused_var): no warnings for
variables starting with _. [ruby-core:46160][Feat...
nobu (Nobuyoshi Nakada)
09:38 PM Revision cf06ed4f (git): suppress warning
* lib/test/unit.rb (terminal_width): suppress uninitialized instance
variable warning.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
09:36 PM Revision 191f4734 (git): * 2012-07-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:36 PM Revision 6e469999 (git): test/ruby/test_rubyoptions.rb: tests for another name
* test/ruby/test_rubyoptions.rb (test_{unused,shadowing_variable):
tests for another name.
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
03:28 PM Feature #6697: [PATCH] Add Kernel#Symbol conversion method like String(), Array() etc.
You could make the same argument against String. Why would you use that over `#to_s`? I can't think of any use cases ... madeofcode (Mark Dodwell)
01:18 PM Feature #6697: [PATCH] Add Kernel#Symbol conversion method like String(), Array() etc.
I can't think any use cases of Kernel.#Symbol, could you tell me the use case?
(Why Kernel.#Symbol makes sense?)
sorah (Sorah Fukumori)
02:14 PM Revision 5f7cbbfb (git): * 2012-07-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:14 PM Revision 331352e6 (git): * test/csv/test_features.rb: add require for Tempfile.
* test/csv/test_serialization.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36332 b2dd03c8-39d4-4d8f-...
nagachika (Tomoyuki Chikanaga)

07/06/2012

08:06 PM Bug #4487: require_relative fails in an eval'ed file
naruse (Yui NARUSE) wrote:
> Eregon (Benoit Daloze) wrote:
> > From the process current working directory I guess, ...
Eregon (Benoit Daloze)
07:21 PM Bug #4487: require_relative fails in an eval'ed file
shyouhei (Shyouhei Urabe) wrote:
> naruse (Yui NARUSE) wrote:
> > require_relative is introduced to avoid accidenta...
naruse (Yui NARUSE)
07:08 PM Bug #4487: require_relative fails in an eval'ed file
naruse (Yui NARUSE) wrote:
> require_relative is introduced to avoid accidentally require a malicious file on the cu...
shyouhei (Shyouhei Urabe)
06:59 PM Bug #4487: require_relative fails in an eval'ed file
Eregon (Benoit Daloze) wrote:
> shyouhei (Shyouhei Urabe) wrote:
> > Current require_relative loads relative from w...
naruse (Yui NARUSE)
06:13 PM Bug #4487: require_relative fails in an eval'ed file
shyouhei (Shyouhei Urabe) wrote:
> Current require_relative loads relative from where the require_relative command i...
Eregon (Benoit Daloze)
05:52 PM Bug #4487: require_relative fails in an eval'ed file
=begin
@LTe I'd rather ask you "require_relative loads something relative from WHAT?"
Obviously it is not relativ...
shyouhei (Shyouhei Urabe)
04:04 PM Bug #4487: require_relative fails in an eval'ed file
@shyouhei yes I agree but load method tries to load file from relative path. When load method can't find file in rela... LTe (Piotr Niełacny)
06:53 PM Feature #3346: __DIR__ revisted
I was against the name __DIR__ for years,
but now I'm for __dir__ if __file__ and __line__ method is also added.
naruse (Yui NARUSE)
05:53 PM Bug #6699: rb_barrier_wait() gets blocked when running within a Thread.new { }
Thanks for the clarification. ibc (Iñaki Baz Castillo)
05:28 PM Bug #6692: TestSocket::test_udp_server always fails on OS X with Back to my Mac enabled
I notice the existence of this issue for year but can't understand how to reproduce and fix.
Now your info, enabli...
naruse (Yui NARUSE)
04:58 PM Bug #6696: [PATCH] ERB::Util.url_encode should not escape unreserved characters
This can change but need not, so up to seki, the maintainer.
やってもやらなくてもいい変更だと思っているので、関さんにお任せします。
naruse (Yui NARUSE)
04:32 PM Bug #6696: [PATCH] ERB::Util.url_encode should not escape unreserved characters
The tilde was added to the unreserved characters in URIs in RFC 2396. It is specifically mentioned in http://tools.ie... duerst (Martin Dürst)
04:08 PM Feature #6503: Support for the NPN extension to TLS/SSL
duerst (Martin Dürst) wrote:
> Just a small detail: That should be IETF politics, I guess. But I'm also
> not f...
MartinBosslet (Martin Bosslet)
04:03 PM Feature #6503: Support for the NPN extension to TLS/SSL
> On 2012/07/06 3:23, igrigorik (Ilya Grigorik) wrote:
>
> Issue #6503 has been updated by igrigorik (Ilya Grigorik...
MartinBosslet (Martin Bosslet)
03:53 PM Feature #6503: Support for the NPN extension to TLS/SSL
On 2012/07/06 3:23, igrigorik (Ilya Grigorik) wrote:
>
> Issue #6503 has been updated by igrigorik (Ilya Grigori...
duerst (Martin Dürst)
03:23 AM Feature #6503: Support for the NPN extension to TLS/SSL
Hey guys, apologies about the wait.
@Martin: I don't follow the IANA politics, but for what its worth, I would con...
igrigorik (Ilya Grigorik)
12:10 PM Bug #6702: Date should be either required or not
drbrain (Eric Hodel) wrote:
> (As a trade-off, Date and DateTime give you a much larger range than a Time.)
"Date...
nobu (Nobuyoshi Nakada)
07:35 AM Bug #6702 (Closed): Date should be either required or not
The pull request was rejected due to its implementation. For compatibility with old gems a Date class must be define... drbrain (Eric Hodel)
06:06 AM Bug #6702: Date should be either required or not
By the way, I forgot to say that that pull request was rejected. Please take a look at the link above for the reasoni... rosenfeld (Rodrigo Rosenfeld Rosas)
06:05 AM Bug #6702: Date should be either required or not
Is Date that slow to require when compared to Time? Wouldn't it be possible to make it faster to load by lazy loading... rosenfeld (Rodrigo Rosenfeld Rosas)
12:25 AM Bug #6702: Date should be either required or not
By the way, what is the reason for Time being included by default but not Date? rosenfeld (Rodrigo Rosenfeld Rosas)
12:24 AM Bug #6702: Date should be either required or not
I've sent a pull request: https://github.com/rubygems/rubygems/pull/351 rosenfeld (Rodrigo Rosenfeld Rosas)
12:09 AM Bug #6702 (Assigned): Date should be either required or not
Hello,
This is caused by rubygems/specification:
$ ruby -rrubygems/specification -e 'p Date; Date.today'
D...
mame (Yusuke Endoh)
06:54 AM Bug #6680: Unclear rdoc for Array and String slicing
I incorporated the ideas of your two patches which seem to help clarify things. Let me know if this latest patch nee... drbrain (Eric Hodel)
06:50 AM Bug #6680 (Closed): Unclear rdoc for Array and String slicing
This issue was solved with changeset r36328.
Marcus, thank you for reporting this issue.
Your contribution to Ruby is...
drbrain (Eric Hodel)
05:42 AM Bug #6680 (Assigned): Unclear rdoc for Array and String slicing
drbrain (Eric Hodel)
06:27 AM Bug #6703 (Rejected): openssl: using a newly registered extension
When registering a new ASN.1 extension OBJ_create(), it should make it available for OBJ_ln2nid() and OBJ_sn2nid() se... vbatts (Vincent Batts)
04:49 AM Feature #6617: Net::HTTP: Bind to a specific local IP/port
=begin
You need to initialize instance variables to prevent warnings on uninitialized access:
$ ruby -we 'p @x'...
drbrain (Eric Hodel)
03:47 AM Feature #6612: Add streaming inflate and deflate to Zlib
It looks like using ruby_xrealloc() will solve this, correct? drbrain (Eric Hodel)
03:46 AM Revision 8a995a56 (git): thread.c: unsigned
* thread.c (rb_thread_shield_waiting_{inc,dec}): should be unsigned.
int is large enough since ruby requires it to ...
nobu (Nobuyoshi Nakada)
03:27 AM Revision 1474cfa8 (git): obsolete Config
* lib/rbconfig/obsolete.rb (Config): remove obsolete Config.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36330...
nobu (Nobuyoshi Nakada)
03:24 AM Revision a2d0ee62 (git): ThreadShield: check waiting count
* thread.c (rb_thread_shield_waiting_{inc,dec}): check waiting count.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom