Project

General

Profile

Activity

From 07/05/2012 to 07/11/2012

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)

07/05/2012

11:27 PM Bug #6702 (Rejected): Date should be either required or not
Today I was trying to do some experiment with IRB: "Date.today" threw a NoMethodError.
But Date was defined: "defi...
rosenfeld (Rodrigo Rosenfeld Rosas)
09:50 PM Revision cd0971e2 (git): * array.c (rb_ary_aref): Added a description of the behavior of
index positioning. [Bug #6680]
* array.c (rb_ary_aset): ditto. Reordered sentences for clarity.
* string.c (rb_str...
drbrain (Eric Hodel)
09:35 PM Bug #6696 (Assigned): [PATCH] ERB::Util.url_encode should not escape unreserved characters
naruse (Yui NARUSE)
09:23 PM Bug #6701 (Assigned): once literal doesn't care escape
遠藤です。
2012年7月5日 19:02 ko1 (Koichi Sasada) <[email protected]>:
> しかし,expr 中で例外などで大域脱出が発生し,再度評価しようとすると,まだ expr...
mame (Yusuke Endoh)
07:01 PM Bug #6701 (Closed): once literal doesn't care escape
# 概要
`/#{expr}/o` は,`expr` はたかだか一回しか実行されない,後から評価したときは `expr` の評価値(を用いた正規表現)が返されるという意味になります.しかし,`expr` 中で例外などで大域脱出が...
ko1 (Koichi Sasada)
08:59 PM Feature #5741: Secure Erasure of Passwords
Hi Ken,
I guess it largely depends on how things will go with #6361.
But if you are interested in the feature, w...
MartinBosslet (Martin Bosslet)
08:39 PM Revision 9360721e (git): * string.c (rb_str_bytesize): Improve documentation. Patch by Oscar
Del Ben from github issue #138.
* string.c (rb_str_empty): ditto.
* string.c (rb_str_times): ditto.
* string.c (rb_...
drbrain (Eric Hodel)
07:06 PM Revision 6b5a88a3 (git): * 2012-07-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:06 PM Revision 7182c000 (git): * ext/zlib/zlib.c (zstream_expand_buffer_without_gvl): Use
ruby_xrealloc() to avoid crash with CALC_EXACT_MALLOC_SIZE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36325...
drbrain (Eric Hodel)
05:26 PM Bug #4487: require_relative fails in an eval'ed file
=begin
@LTe sorry, I can't get it. load loads from $LOAD_PATH, while require_relative requires from relative path...
shyouhei (Shyouhei Urabe)
05:07 PM Bug #4487: require_relative fails in an eval'ed file
=begin
If in irb we can execute
(({load("file.rb")}))
why we can't
(({require_relative("file")}))
Ruby j...
LTe (Piotr Niełacny)
04:09 PM Bug #6698 (Rejected): MacOSXではDir.globが返すファイル名の内容はUTF8-MACですがencodingがUTF-8になっている
imkira (Mario Freitas) wrote:
> MacOSXでは、「だ」など濁点が含まれているファイル名をDir.globで調べると返ってくるencodingが間違っているようです。
>
> Dir.glob...
naruse (Yui NARUSE)
03:44 PM Bug #6698: MacOSXではDir.globが返すファイル名の内容はUTF8-MACですがencodingがUTF-8になっている
patch 更新しました sorah (Sorah Fukumori)
12:38 PM Bug #6698: MacOSXではDir.globが返すファイル名の内容はUTF8-MACですがencodingがUTF-8になっている
OS X じゃないMacはもうサポートしてないしサポートを復活させるのも技術難易度的に不可能だと思うので
#if defined(__APPLE__) && ( defined(__MACH__) || defined(__DA...
kosaki (Motohiro KOSAKI)
10:10 AM Bug #6698: MacOSXではDir.globが返すファイル名の内容はUTF8-MACですがencodingがUTF-8になっている
=begin
(({NO_LOCALE_CHARMAP}))は(({miniruby}))用に必須なので、その外に条件を追加するのはダメです。
=end
nobu (Nobuyoshi Nakada)
02:42 PM Revision e57bc077 (git): never evaluated
* test/ruby/test_basicinstructions.rb (test_regexp): fix never
evaluated assertion.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
02:19 PM Feature #6617: Net::HTTP: Bind to a specific local IP/port
@naruse: tests attached! It seems that local_host cannot be nil when setting local_port in TCPSocket.open.
@madeof...
mksm (Ricardo Amorim)
12:05 AM Feature #6617: Net::HTTP: Bind to a specific local IP/port
=begin
Not sure, but it may be related to this:
>> defined?(@foo)
=> nil
>> @foo = nil
=> nil...
jballanc (Joshua Ballanco)
02:10 PM Revision 0f020f7c (git): * thread.c: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:47 PM Bug #6699: rb_barrier_wait() gets blocked when running within a Thread.new { }
Please don't use rb_barrier_wait(). It doesn't have barrier semantics. Moreover, It is not a public API. We might rem... kosaki (Motohiro KOSAKI)
12:32 PM Bug #6700: [PATCH] Fix some 4xx status classes to inherit correctly from Net::HTTPClientError
Thanks for pointing it out. I merged your patch and added a test. knu (Akinori MUSHA)
12:31 PM Bug #6700 (Closed): [PATCH] Fix some 4xx status classes to inherit correctly from Net::HTTPClientError
This issue was solved with changeset r36316.
Mark, thank you for reporting this issue.
Your contribution to Ruby is g...
knu (Akinori MUSHA)
12:05 PM Bug #6700 (Assigned): [PATCH] Fix some 4xx status classes to inherit correctly from Net::HTTPClientError
knu (Akinori MUSHA)
06:49 AM Bug #6700: [PATCH] Fix some 4xx status classes to inherit correctly from Net::HTTPClientError
s/disable/desirable/ madeofcode (Mark Dodwell)
06:48 AM Bug #6700 (Closed): [PATCH] Fix some 4xx status classes to inherit correctly from Net::HTTPClientError
These recently added 4xx status classes were inheriting from Net::HTTPSuccess, which seems incorrect.
I believe th...
madeofcode (Mark Dodwell)
12:03 PM Feature #4633 (Rejected): iterate method / extended version of for

Dear Jan,
Sorry that I didn't reply to you sooner.
Thank you for the precious proposal,
but I reject this pr...
tarui (Masaya Tarui)
08:32 AM Revision 85bb412e (git): ThreadShield
* internal.h: move ThreadShield declarations from intern.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36322 ...
nobu (Nobuyoshi Nakada)
08:18 AM Revision 5425128e (git): bootstraptest: fix missing bs
* bootstraptest/runner.rb (show_progress): fix missing bs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36321 ...
nobu (Nobuyoshi Nakada)
07:00 AM Revision 51f458d4 (git): ThreadShield
* thread.c (ThreadShield): rename from Barrier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36320 b2dd03c8-39d...
nobu (Nobuyoshi Nakada)
06:15 AM Revision 6b801ac9 (git): bootstraptest: refine error output
* bootstraptest/runner.rb (show_progress): refine error output. do not
count non-empty error message, but just warn...
nobu (Nobuyoshi Nakada)
03:59 AM Feature #5206: ruby -K should warn
(2012/07/05 1:02), naruse (Yui NARUSE) wrote:
> Or get permission from matz to add the new option.

How about ...
ko1 (Koichi Sasada)
01:02 AM Feature #5206: ruby -K should warn
ko1 (Koichi Sasada) wrote:
> (2012/07/04 22:42), naruse (Yui NARUSE) wrote:
> > If ALLOW_DEFAULT_SOURCE_ENCODING m...
naruse (Yui NARUSE)
01:01 AM Feature #5206 (Assigned): ruby -K should warn
naruse (Yui NARUSE)
01:01 AM Feature #5206 (Closed): ruby -K should warn
This issue was solved with changeset r36310.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
naruse (Yui NARUSE)
12:23 AM Feature #5206: ruby -K should warn
(2012/07/04 22:42), naruse (Yui NARUSE) wrote:
> If ALLOW_DEFAULT_SOURCE_ENCODING macro is enabled, you can use --...
ko1 (Koichi Sasada)
03:33 AM Revision fecdcc51 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:31 AM Revision 1b51476c (git): * test/net/http/test_httpresponses.rb: Add a test file for
Net::HTTPResponses and put a test case for the previous bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36317...
Akinori MUSHA
03:31 AM Revision cc623808 (git): * lib/net/http/responses.rb: Fix 4xx classes to inherit correctly
from Net::HTTPClientError. [Bug #6700]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36316 b2dd03c8-39d4-4d8f-98...
Akinori MUSHA
03:31 AM Revision be53f329 (git): Fix 4xx classes to inherit correctly from Net::HTTPClientError
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
02:04 AM Revision d5db3754 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:53 AM Revision 0de9b0fe (git): NEWS
* NEWS: about __callee__ and Module#prepend.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36313 b2dd03c8-39d4-4...
nobu (Nobuyoshi Nakada)
01:41 AM Revision bc4cda44 (git): desc r36301
* ChangeLog: add description for r36301.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36312 b2dd03c8-39d4-4d8f-...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom