Activity
From 05/19/2012 to 05/25/2012
05/25/2012
-
03:38 PM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
- drbrain (Eric Hodel) wrote:
> naruse (Yui NARUSE) wrote:
> ...
I see,
If Inflater's @socket.read returns nil or a string shorter than clen, it means the input is finished and @inflate can finish.
So at that time, you can call @infl... -
03:15 PM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
- naruse (Yui NARUSE) wrote:
> I agree with the concept of the patch, but
> ...
I considered this, but calling #close would also terminate a persistent connection which is undesirable.
I don't see a way to cleanly finish the inflate s... -
10:25 AM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
- I agree with the concept of the patch, but
> + ensure
> ...
When @socket is Socket-like object, the object should behave like a socket.
Inflater#finish should be Inflater#shutdown or Inflater#close and this if-clause is not needed.... -
09:15 AM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
- Opps, forgot patch.
-
07:37 AM Feature #6492 (Closed): Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
- =begin
This patch moves the compression-handling code from Net::HTTP#get to Net::HTTPResponse to allow decompression to occur by default on any response body. (A future patch will set the Accept-Encoding on all requests that allow resp... -
02:44 PM Revision 6f5582a2 (git): * test/openssl/test_ssl.rb: Clarify the intention of errors to be
- expected. Two errors are possible when connection is refused due
to a protocol version that was explicitly disallowed,
OpenSSL::SSL::SSLError or Errno::ECONNRESET, depending on the
OpenSSL version in use.
git-svn-id: svn+ssh://ci... -
02:23 PM Bug #6479: ipaddr.rbの受け付ける書式が、プラットフォームによって異なる - At Wed, 23 May 2012 17:23:23 +0900,
U.Nakamura wrote:
> In message "[ruby-dev:45671] [ruby-trunk - Bug #6479][Assigned] ipaddr.rbの受け付ける書式が、プラットフォームによって異なる"
> on May.23,2012 16:16:40, <knu@ruby-lang.org> wrote:
> > とりあえず、#in_... -
01:24 PM Revision 913827b6 (git): * ext/openssl/ossl_ssl.c: Revert r35583
- * test/openssl/test_ssl.rb: Handle ECONNRESET in code instead to avoid
the test failing in Ruby CI [1]
[1] http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20120507T190102Z.log.html.gz#test-all
git-svn-id: svn+ssh://ci.ruby-lang.org/rub... -
12:20 PM Revision 51ea3db6 (git): merge revision(s) 34910:
- assert_valid_syntax
* test/ruby/test_syntax.rb (assert_valid_syntax): new assertion to
validate syntax.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:14 PM Revision 655a20ea (git): vm.c: adjust argument types
- * vm.c (backtrace_each, bt_init, oldbt_init): adjust argument types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:39 AM Bug #6491 (Assigned): DateTime.strftime('%Z') output is incorrect format
-
07:19 AM Bug #6491 (Rejected): DateTime.strftime('%Z') output is incorrect format
- DateTime.parse('2012/05/23').strftime('%Z') should output 'GMT' (or a similar string). It outputs "+00:00" (or a similar offset string).
-
11:21 AM Bug #6488 (Assigned): String#slice example has a syntax error
- Seems this is a renderer issue. Eric, what do you think?
-
11:01 AM Revision 4258db79 (git): * vm_eval.c (rb_f_caller): caller() method accepts second optional
- argument `n' which specify how many frames should return.
For example, `caller(0, 1)' returns only one frame information
which calls caller() method. If there are less than n frame
information, then all frame information are retur... -
09:48 AM Bug #6493 (Feedback): OpenSSL::SSL ignores DN if subjectAltName is specified
- RFC 3280 was obsoleted by 5280 and there, the wording is slightly different:
8<--------
4.2.1.6. Subject Alternative Name
The subject alternative name extension allows identities to be bound
to the subject of the certificate. ... -
08:22 AM Bug #6493 (Assigned): OpenSSL::SSL ignores DN if subjectAltName is specified
-
07:46 AM Bug #6493 (Closed): OpenSSL::SSL ignores DN if subjectAltName is specified
- In ext/openssl/lib/openssl/ssl.rb, verify_certificate_identity seems to intentionally *not* check the DN if any subjectAltName extensions are found.
RFC3280 says -
08:51 AM Bug #6473 (Closed): Enumerable#count
- This issue was solved with changeset r35780.
Nobuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enum.c (enum_count): Enumerable#count no longer uses #size... -
08:22 AM Feature #6494: Send Accept-Encoding for all HTTP requests
- Oops, forgot patch.
-
08:21 AM Feature #6494 (Closed): Send Accept-Encoding for all HTTP requests
- This patch builds atop #6492 to enable Accept-Encoding by default for all HTTP requests that permit bodies. (Without #6492 it will break Net::HTTP.)
This patch moves setting the Accept-Encoding header from Net::HTTP#get to Net::HTTP:... -
08:18 AM Revision 1059cf6e (git): merge revision(s) 35644:
- * parse.y (f_arglist): should reset lexical states after empty
argument list with no parenthesis as well as parenthesized list,
so that reserved name method definition work. [ruby-dev:45626]
[Bug #6403]
g... -
08:07 AM Revision a5f19061 (git): * vm.c (oldbt_init, vm_backtrace_str_ary): arg->data should
- be initialized before calling `backtrace_each()'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:19 AM Bug #6490: The 'printf' method in trace_func is not sent to 'stdout' variable in tracer.rb
- Attaching patch.
-
07:17 AM Bug #6490 (Closed): The 'printf' method in trace_func is not sent to 'stdout' variable in tracer.rb
- Hi,
lib/tracer.rb:189
def trace_func(event, file, line, id, binding, klass, *) # :nodoc:
return if file == __FILE__
for p in @filters
return unless p.call event, file, line, id, binding, klass
end
r... - 07:13 AM Revision 67075af6 (git): * trunk/ext/-test-/printf/printf.c: change function names because of
- conflict with msvcrt. fixed build error of mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:53 AM Revision 9a66f6f0 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:50 AM Revision 1f3142a4 (git): * vm.c: refactoring backtrace related funcitons.
- (1) unify similar functions (rb_backtrace_each() and
backtrace_object()). backtrace_each() is a unified function.
variation:
a) backtrace_object(): create backtrace object.
b) vm_backtrace_str_ary(): create bt as an array of str... -
04:01 AM Feature #6478: BasicObject#__class__
- nobu (Nobuyoshi Nakada) wrote:
> Seems what you want is (({dup})), not (({__class__})).
> ...
But that would include all methods from Kernel with the current behavior of #mix, as `mix ::Kernel` would do.
So you need to opt-out all met... -
01:14 AM Feature #6478: BasicObject#__class__
- =begin
(({Module#mix})) is a feature introduced last year, but may be removed from 2.0.
=end
-
03:49 AM Feature #6483: parametric map
- Eregon (Benoit Daloze) wrote:
> Another syntax is proposed by Koichi (from what I can understand):
> ...
It's fine, but in version with PM it look like a hack. However if it'll be implemented in second version - I'd take my words back. -
02:21 AM Revision a51d961b (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:20 AM Revision 26f96fe1 (git): * test/-ext-/test_printf.rb: tests for [Feature #5896].
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:44 AM Revision c92d9113 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:40 AM Revision 2b8e9ece (git): merge revision(s) 35595: [Backport #6446]
- * include/ruby/win32.h (FD_SET): change function to macro.
To avoid buffer overflow when smaller FD_SETSISE is used in ext
libraries.
* win32/win32.c (rb_w32_fdset): this function is not used anymore.
... -
01:39 AM Revision cb1a7935 (git): merge revision(s) 35766:
- * io.c (io_strip_bom): check EOF. [Bug #6487][ruby-core:45203]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:36 AM Revision 046883d2 (git): merge revision(s) 35644:
- * parse.y (f_arglist): should reset lexical states after empty
argument list with no parenthesis as well as parenthesized list,
so that reserved name method definition work. [ruby-dev:45626]
[Bug #6403]
g... -
12:37 AM Bug #5348 (Closed): test/rubygems/test_gem_indexer.rb leaves temporary directory
- This issue was solved with changeset r35777.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Bug #5348
* test/rubygems/test_gem_indexer.rb (setup, teard... -
12:23 AM Bug #6489: A File instance changes its class to IO
- Hello,
2012/5/24 yimutang (Joey Zhou)
> You see, an object(id:80452110) changes its class from File to IO.
> Is it ok?
FYI: The rdoc of IO#reopen says:
* call-seq:
* ios.reopen(other_IO) -> ios
* ...
05/24/2012
-
11:51 PM Revision 38f0dd0a (git): * enum.c (enum_count): Enumerable#count no longer uses #size when
- counting elements. Patch by Nobuhiro IMAI. [ruby-trunk - Bug #6473]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:41 PM Bug #6489 (Rejected): A File instance changes its class to IO
- OK.
-
09:28 PM Bug #6489 (Rejected): A File instance changes its class to IO
- I don't know whether it is a bug, or a feature.
1.9.3p194 :001 > f = open('xxx','w')
=> #<File:xxx>
1.9.3p194 :002 > f.class
=> File
1.9.3p194 :003 > f.__id__
=> 80452110
1.9.3p194 :004 > f.reopen(STDOUT)
=> #<IO:<STDOUT... -
11:36 PM Feature #5896 (Closed): object representation in rb_enc_vsprintf()
- This issue was solved with changeset r35776.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Feature #5896
* vsnprintf.c (BSD_vfprintf): [EXPERIMENTAL] ... -
08:34 PM Feature #6483: parametric map
- FYI https://github.com/raganwald/homoiconic/blob/master/2009-09-22/anaphora.md
-
08:32 PM Feature #6483: parametric map
- ```ruby
p %w[12 45 32].map(&.to_i(9)).map(& * 2)
```
That's pretty neat. I wonder about its implementation, so basically `&` becomes a special object that returns a proc when method is called on it?
```ruby
class Ampersand < Bas... -
06:49 PM Feature #6483: parametric map
- nobu (Nobuyoshi Nakada) wrote:
> I proposed a different approach, symbol with arguments syntax.
> ...
For info, this is http://bugs.ruby-lang.org/issues/show/4146 (I had a hard time finding it back).
Another syntax is proposed by Ko... -
06:21 PM Feature #6483: parametric map
- nobu (Nobuyoshi Nakada) wrote:
> I proposed a different approach, symbol with arguments syntax.
> ...
Really cool syntax! I didn't even thought that about such a way. Second version I wrote like that:
```RUBY
class Symbol
def ca... -
05:13 PM Feature #6483: parametric map
- I proposed a different approach, symbol with arguments syntax.
```ruby
(1..5).map(&:to_s(2)) #=> ['1', '10', '11', '100', '101']
```
And another proposed `Symbol#call` in the same thread, instead.
```ruby
(1..5).map(&:to_s.(2... -
04:59 PM Feature #6483: parametric map
- Also I propose similar approach for `tap` method.
```ruby
class Object
def ptap(*args,&block)
tap &block.curry_except_self(*args)
end
end
```
So instead of
```ruby
lines = File.read('filename.txt');
lines.delete(... -
08:10 PM Feature #6478: BasicObject#__class__
- That was just one example. Here, you can look at this for more cases:
https://github.com/rubyworks/ostruct2/blob/master/lib/ostruct2.rb
Just ctrl-f for __class__.
But what's this about "mix"? What Ruby are you running!? This i... -
02:56 PM Feature #6478: BasicObject#__class__
- =begin
Seems what you want is (({dup})), not (({__class__})).
class Foo < BasicObject
mix ::Kernel, dup: :dup, clone: :clone
end
=end
-
05:37 PM Bug #6488 (Closed): String#slice example has a syntax error
- http://www.ruby-doc.org/core-1.9.3/String.html#method-i-slice has a syntax error:
a[%r[aeiou](.)\11//] #=> "ell"
a[%r[aeiou](.)\11//, 0] #=> "ell"
a[%r[aeiou](.)\11//, 1] #=> "l"
a[%r[aeiou](.)\11//, 2] #=> nil
Oh, I ... -
04:15 PM Revision 80aaa3ef (git): sprintf.c: inspect by plus
- * sprintf.c (ruby__sfvextra): [EXPERIMENTAL] use inspect instead of
to_s if plus flag is given.
* vsnprintf.c (BSD_vfprintf): pass sign flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:37 PM Revision 8996556b (git): * 2012-05-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:37 PM Revision d176c4ee (git): Bug #5348
- * test/rubygems/test_gem_indexer.rb (setup, teardown): save @tempdir
to remove it properly. [Bug #5348]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:36 PM Revision ce8e2d54 (git): Feature #5896
- * vsnprintf.c (BSD_vfprintf): [EXPERIMENTAL] object representation in
rb_enc_vsprintf(). [Feature #5896]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:01 PM Revision 60e8cd2e (git): vm.c: marshal compatibility
- * vm.c (Init_VM): fix marshal compatibility of backtrace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:01 PM Revision ab42fe2a (git): vm.c: fix typo
- * vm.c (Init_VM): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:01 PM Revision e1c652bb (git): vm.c: rb_typeddata_is_kind_of
- * vm.c (rb_backtrace_p): use rb_typeddata_is_kind_of().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:01 PM Revision a4a922e9 (git): vm_eval.c: fix types
- * vm_eval.c (rb_backtrace_struct, backtreace_collect): use size_t
instead of int to get rid of overflow.
* vm_eval.c (backtrace_object, vm_backtrace_each): ditto, use
ptrdiff_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@357... -
09:51 AM Revision 04a03b34 (git): vm.c: suppress 64-to-32 warnings
- * vm.c (backtrace_object): suppress 64-to-32 warnings. should adjust
types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:36 AM Revision d5893b91 (git): * vm_method.c (rb_method_defined_by): removed.
- nobu pointed out that rb_method_basic_definition_p() is enough
for last commit.
* error.c, eval_error.c: change for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:09 AM Revision 3dcebce5 (git): * vm.c: add RubyVM::Backtrace object (btobj).
- Backtrace information contains an array consists of location
information for each frames by string.
RubyVM::Backtrace object is lightweight backtrace information,
which contains complete information to generate traditional style
... -
04:05 AM Revision bd5c7507 (git): Fix wrong filename: enc/shift_jis.c -> string.c (r35724).
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:07 AM Revision 73f38047 (git): * 2012-05-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:07 AM Revision 3cc5ddca (git): Bug #6487
- * io.c (io_strip_bom): check EOF. [Bug #6487][ruby-core:45203]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:17 AM Bug #4413: Segmentation fault when using deliver for GMAIL SMTP
- I'm using MacPorts OpenSSL, version 1.0.1c, May 2012
$ which openssl
/opt/local/bin/openssl
$ openssl version
OpenSSL 1.0.1c 10 May 2012
$ /usr/bin/openssl version
OpenSSL 0.9.8r 8 Feb 2011
1.9.3p194 :004 > OpenSSL::OPENSS...
05/23/2012
-
10:31 PM Bug #6484 (Rejected): Segmentation fault using thin on Windows 7
- This is a duplicate of #6352
-
08:45 PM Bug #6484: Segmentation fault using thin on Windows 7
- Please see this issue.
https://github.com/eventmachine/eventmachine/issues/319
You will solve it by commenting out line 85 of ext\project.h: #define FD_SETSIZE 1024. -
05:48 PM Bug #6484 (Rejected): Segmentation fault using thin on Windows 7
- After cloning the git project git.js from https://github.com/danlucraft/git.js and executing rake demo, I receive a Segmentation fault. The output from stderr is attached as well as the output to the console.
I am using Windows 7, 64 ... -
08:04 PM Revision c427f44f (git): Ignore extconf.rb generated mkmf.log
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:46 PM Feature #6483 (Rejected): parametric map
- I found very common use-case for map: map with parameters and &:meth syntax. For example:
matrix =[[1,2,3],[4,5,6]]
matrix.pmap(' ',&:join).join("\n") # => "1 2 3\n4 5 6
[1,2,3,4,5].pmap(2, &:to_s) # ['1', '10', '11', '100', '101']
... -
04:16 PM Bug #6479 (Assigned): ipaddr.rbの受け付ける書式が、プラットフォームによって異なる
-
02:49 AM Bug #6479 (Closed): ipaddr.rbの受け付ける書式が、プラットフォームによって異なる
- # 状況
標準添付ライブラリの ipaddr.rb に於いて、アドレス書式チェック時の厳しさがプラットフォームによって異なるよう感じました。
IPv4で気がついた限りですが、次の2点でWindowsだと常に例外を吐き、Linuxだと書式によっては(自分にとって)想定し難い値を返します。
* 0埋めを含んだ場合
* 改行文字を含んだ場合
動作例を載せます。
## 共通
require 'ipaddr'
p IPAdd... -
02:38 PM Feature #6478: BasicObject#__class__
- > "BTW, it's possible with pure-ruby."
That's a rather nasty implementation. Is there no better way than that? I tried binding Kernel method but that didn't work, obviously, b/c BasicObject isn't "an instance of Kernel".
-
02:34 PM Feature #6478: BasicObject#__class__
- =begin
To ensure proper functionality when creating new instances from subclasses.
class Foo < BasicObject
def initialize(stuff)
@stuff = stuff
end
def dup
__class__.new(@stuff)
end
end
cla... -
02:17 PM Feature #6478 (Feedback): BasicObject#__class__
- =begin
((*Why*)) do you need it?
BTW, it's possible with pure-ruby.
class Foo < BasicObject
include ::Kernel.dup.module_eval {
alias_method(:__class__, :class)
undef_method *(instance_methods - [:__class__, :object_id... -
12:20 AM Feature #6478 (Assigned): BasicObject#__class__
- Okay, thanks. I assign this to matz.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:12 AM Feature #6478: BasicObject#__class__
- =begin
Sorry, I'll be more specific via example:
class Foo < BasicObject
end
foo = Foo.new
foo.class #=> raises NoMethodError
How to get class?
I suggest adding #__class__ feature if there is no current means.
=end
-
12:03 AM Feature #6478 (Feedback): BasicObject#__class__
- I don't understand you.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:09 PM Revision 3ba0abdb (git): * lib/net/http/header.rb (Net::HTTPHeader#range): fix broken parser of
- HTTP Range request. Old one can't parse invalid specs and multiple
specs correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:48 AM Feature #6482: Add URI requested to Net::HTTP request and response objects
- Forgot patch
-
11:48 AM Feature #6482 (Closed): Add URI requested to Net::HTTP request and response objects
- =begin
This patch adds the full URI requested to Net::HTTPRequest and Net::HTTPResponse.
The goal of this is to make it easier to handle Location, Refresh, meta-headers, and URIs in retrieved documents. (While the HTTP RFC specifies... -
10:27 AM Bug #6381: Useful methods like included don't appear in RDoc
- "It would be helpful if ruby-doc.org started moving towards adding --all when building documentation."
Easily done (in fact, already done for a parallel set of docs)
The choice to omit --all as a default came from some discussions ... -
08:23 AM Bug #6476: Proc unrolls an array even without splat
- (2012/05/23 0:23), mame (Yusuke Endoh) wrote:
> prijutme4ty (Ilya Vorontsov) wrote:
>> > pr_def(*[1,2,3]) # => [1] + [2,3]
> It should be: "1 + [2, 3]"
> pr_lambda = lambda{|recv,*args| puts "#{recv.inspect} + #{args.insp... -
12:23 AM Bug #6476 (Rejected): Proc unrolls an array even without splat
- Hello,
prijutme4ty (Ilya Vorontsov) wrote:
> pr_def(*[1,2,3]) # => [1] + [2,3]
It should be: "1 + [2, 3]"
> ...
It is the spec. A method and lambda use a strict rule for arguments,
but a proc uses a flexible one: it does n... -
07:36 AM Feature #6480: [PATCH] Add HTTP status codes from RFC 6585
- Oops, I forgot a comma in my patch.
-
05:46 AM Feature #6480: [PATCH] Add HTTP status codes from RFC 6585
- Here is an updated patch after #6435
-
05:37 AM Feature #6480 (Closed): [PATCH] Add HTTP status codes from RFC 6585
- Hi, Matz and rubyists.
I attach a patch that contains additional HTTP status codes from RFC 6585 -
http://tools.ietf.org/html/rfc6585.
* lib/net/http.rb : add HTTP status codes from RFC 6585.
* lib/webrick/httpstatus.rb : add... -
07:13 AM Revision b0dd250d (git): use RB_TYPE_P() instead of comparison of TYPE()
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:50 AM Feature #6481 (Assigned): Add exists? to Pathname GH #126
-
06:48 AM Feature #6481 (Rejected): Add exists? to Pathname GH #126
- I've added Paul McMahon's patch from GH #126
https://github.com/ruby/ruby/pull/126 -
05:36 AM Feature #6435 (Closed): Break up net/http.rb into individual files
- This issue was solved with changeset r35761.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/http.rb: Broke up Net::HTTP into individual files.
[... -
05:15 AM Bug #6454 (Closed): Anonymous classes should delete tmp_classpath on dup
- This issue was solved with changeset r35759.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* class.c (rb_mod_init_copy): Clear the cached inspect string o... -
03:23 AM Feature #1122: request for: Object#try - > =begin
> : niquola (nicola ryzhikov) wrote:
> If this is not very cryptic chain:
>
> foo?bar(args)?buz
>
> It's the ternary operator already in use.
A bit confusing.
-r - 01:21 AM Revision 87c8c5ed (git): * win32/win32.c (finish_overlapped_socket, overlapped_socket_io):
- replace ECONNABORTED to EPIPE in send, sendto and sendmsg to improve
BSD socket compatibility. this change removes a failure on the test
of net/ftp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35762 b2dd03c8-39d4-4d8f-98ff-8...
05/22/2012
-
11:56 PM Bug #4413: Segmentation fault when using deliver for GMAIL SMTP
- =begin
: hectormalot (Dennis de Reus) wrote:
Other relevant parts of the setup (based on the discussion above):
* I'm running an up-2-date version of macports
* maybe relevant: I'm using a mac on OS X Lion (10.7.4)
Which OpenSSL d... -
07:45 PM Bug #4413: Segmentation fault when using deliver for GMAIL SMTP
- @sorah I think this should be re-openend, because I have exactly the same problem in a Rails 3.2.3 application using ruby 1.9.3-p0, 1.9.3-p125, and 1.9.3-p194, but not with 1.9.2-p290. This indicates that it is not an isolated issue. See...
-
10:05 PM Feature #6478 (Feedback): BasicObject#__class__
- How else is one supposed to get the class of a subclass of BasicObject?
-
08:36 PM Revision 510bbe01 (git): * lib/net/http.rb: Broke up Net::HTTP into individual files.
- [ruby-trunk - Feature #6435]
* lib/net/http/backward.rb: ditto.
* lib/net/http/response.rb: ditto.
* lib/net/http/exceptions.rb: ditto.
* lib/net/http/responses.rb: ditto.
* lib/net/http/generic_request.rb: ditto.
* lib/net/http/hea... - 08:15 PM Revision 8225fd3d (git): * 2012-05-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:15 PM Revision 1d4e7d92 (git): * class.c (rb_mod_init_copy): Clear the cached inspect string of a
- dup'd anonymous module or class. [ruby-trunk - Bug #6454]
* test/ruby/test_module.rb (class TestModule): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:57 PM Bug #6477 (Rejected): BigDecimal to_i and to_int methods
- =begin
They are not specific to (({BigDecimal})).
(({to_i})) is for explicit conversion, called by users.
(({to_int})) is for implicit conversion, called by core/libraries.
=end
-
05:48 PM Bug #6477 (Rejected): BigDecimal to_i and to_int methods
- Hello,
Why are there two methods, to_i and to_int, in BigDecimal when they are exactly same in terms of functionality. Here's the link to the docs:
http://www.ruby-doc.org/stdlib-1.9.3/libdoc/bigdecimal/rdoc/BigDecimal.html#method-... -
05:38 PM Bug #6476 (Rejected): Proc unrolls an array even without splat
- Normal behaviour:
def pr_def(recv,*args)
puts "#{recv.inspect} + #{args.inspect}"
end
pr_def(*[1,2,3]) # => [1] + [2,3]
pr_def([1,2,3]) # => [1,2,3] + []
pr_def([[1,2,3]]) # => [[1,2,3]] + []
pr_lambda = lambda{|recv,*arg... -
01:20 PM Revision cb61ea5e (git): remove trailing spaces
- * vm_core.h (rb_iseq_struct): remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:35 PM Revision 3cbf88d8 (git): rescue EPIPE raised from conn.print because of client's timeout
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:13 AM Bug #6454: Anonymous classes should delete tmp_classpath on dup
- Commit the patch.
Matz. -
12:53 AM Bug #6454: Anonymous classes should delete tmp_classpath on dup - On Mon, May 21, 2012 at 08:20:48PM +0900, mame (Yusuke Endoh) wrote:
>
> Issue #6454 has been updated by mame (Yusuke Endoh).
>
> Status changed from Open to Assigned
> Assignee set to matz (Yukihiro Matsumoto)
>
> Aaron, you'... -
08:31 AM Revision 8bcf7fc4 (git): * vm_core.h: add a data type rb_location_t to store iseq location
- information.
rb_location_t#filename, filepath, name and line_no was moved from
rb_iseq_t. rb_location_t#basename is a new field which is
similar to `name' field without any decoration.
`name' field contains some decoration such ... -
04:05 AM Feature #6470: Make attr_accessor return the list of generated method
- I want to access my private fields also via methods instead of directly via instance variables so refactoring in future is easier. For example instead of finding in class all occurrences of @var = something and changing them into either ...
-
03:21 AM Bug #6381: Useful methods like included don't appear in RDoc
- =begin
For documentation in ruby, (({:nodoc:})) is used to indicate implementation details and (({private})) is used for access control.
While not all of the standard library hides its implementation details using (({:nodoc:})), the ... -
02:10 AM Bug #6381: Useful methods like included don't appear in RDoc
- Actually, I can't understand why anyone would want to hide private methods. As long as they are clearly marked private in the documentation, then there is no confusion and it is to the advantage of the developer, in that he is able to fu...
-
01:39 AM Bug #6381: Useful methods like included don't appear in RDoc
- =begin
I'm the one running ruby-doc.org. I think there is some misunderstanding here.
The issues isn't that using the `-all` flag isn't working for ruby-doc.org. It works fine, were it to be used.
The issue is that using `--all` ex... -
02:09 AM Revision ac3be749 (git): merge revision(s) 27939,29703,29704,30164:
- * ruby.c (ruby_init_loadpath_safe): use real path for non-shared
build.
* configure.in (LIBRUBY_RELATIVE): use rpath token expansion.
* tool/rbinstall.rb (bin-comm): prepend prolog shell script if
nece... -
12:47 AM Feature #6218 (Closed): struct.cのrb_struct_s_members_m()について
- This issue was solved with changeset r35753.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* struct.c (rb_struct_members): Refactoring. As Struct#members... -
12:11 AM Feature #6218: struct.cのrb_struct_s_members_m()について
- Glass_saga さんのコミッタ化にはもうちょっと時間がかかりそうみたいなので、
とりあえず私がやっちゃいます。
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:10 AM Feature #6082 (Rejected): io_binwrite()内でwritev()を使う
- あまり意義がなさそうとのことなので、とりあえず閉じます。
同期モードで高速化してほしいユースケースはあるとか、その他何か意見があったら
reopen してください。
--
Yusuke Endoh <mame@tsg.ne.jp>
05/21/2012
-
10:33 PM Bug #6432 (Assigned): Segmentation fault after "linking miniruby"
- Hello, sorah-kun
Can you reproduce this issue?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:08 PM Feature #6452: Allow extend to override class methods
- Yeah, sorry I should have thought about this before.
You're right, for normal usage the current behavior is more useful indeed.
I was willing to patch a class from a third-party library, that is why I wanted my module method to tak... -
08:11 PM Feature #6452: Allow extend to override class methods
- Hello,
2012/5/19 rosenfeld (Rodrigo Rosenfeld Rosas) <rr.rosas@gmail.com>:
> Would you mind to explain why the current behavior is useful instead of doing what I'm proposing?
Just example:
module GenericConnection
def co... -
08:59 PM Feature #6445 (Assigned): request for default length/position on string index
- Hello,
I created a patch that add a syntactic sugar from (arg..) to (arg..-1).
ary = [1, 2, 3, 4]
p ary[2..] #=> [3, 4]
Matz, what do you think?
diff --git a/parse.y b/parse.y
index 9f9093b..d272492 100644
--- a/par... -
08:34 PM Feature #6470 (Assigned): Make attr_accessor return the list of generated method
- This duplicates #6198.
BTW, why don't you use instance variables directly? That is:
```ruby
class Something
def initialize(user, action)
@user = user
@action = action
end
def public_method
@user.do_som... -
08:20 PM Bug #6454 (Assigned): Anonymous classes should delete tmp_classpath on dup
- Aaron, you'd better think we are really lazy :-)
It would be good not only to attach a demonstration patch but also
to write the demonstration in the mail.
x = Class.new
y = x.dup
p x #=> #<Class:0x9a96ce0>
p y #=> ... -
08:11 PM Bug #6453: parallel build issue
- This might be an issue of our build infrastructure (NFS). Sorry for the noise.
-
08:43 AM Bug #6453 (Rejected): parallel build issue
- As we repeatedly told you, PPC on RHEL is not supported platform. We just don't care if a ticket don't have a patch. Moreover you shouldn't send us distro specific build log (i.e. rpm).
At least, now parallel build on x86 RHEL6 works... -
07:24 PM Bug #6456 (Assigned): [readline] Readline.point when history edited
-
07:24 PM Bug #6455 (Assigned): IRB.conf[:RC_NAME_GENERATOR] と IRB.conf[:SAVE_HISTORY] を同時に設定すると irb が起動できないのを修正する
-
07:24 PM Bug #6473 (Assigned): Enumerable#count
- Hello, drbrain
This is a doc issue of Enumerable#count.
Could you check and import Nobuhiro's patch?
English translation:
The rdoc of Enumerable#count says:
Returns the number of items in <i>enum</i> if it responds to a ... -
03:19 PM Bug #6473: Enumerable#count
- 最終的に r25603 で size は呼ばなくなったようなので、コメントを修正したパッチを添付します。
改行位置の関係で行数が多いですが、内容は1文目しか変更してません。
- 03:47 PM Revision 9c46e774 (git): * 2012-05-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:47 PM Revision f9217681 (git): * struct.c (rb_struct_members): Refactoring. As Struct#members had
- returned an array of String, the old code was needed to convert
Symbols to Strings. But it is almost unnecessary because the
method now returns an array of Symbols. A patch by Masaki
Matsushita <glass.saga at gmail dot com> [Fea... -
02:03 PM Revision 2f6c48e5 (git): OpenSSL 1.0.1 pre-beta disabled TLS v1.2 by default.
- http://cvs.openssl.org/chngview?cn=21471
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:24 PM Revision 915cbd05 (git): merge revision(s) 33944:
- * io.c: suppress unused-value warnings. fixup of r33937.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:56 PM Revision f6fb038d (git): * lib/net/ftp.rb (Net::FTP#retrbinary): close only if conn is not nil
- because transfercmd may fail and return nil.
* lib/net/ftp.rb (Net::FTP#retrlines): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:09 AM Bug #6474 (Closed): Substitution bug in String # gsub
- As Mike said backslashes are escaped in double-quoted strings.
-
08:48 AM Revision acb10b8c (git): Rescue exception from writing to a socket.
- conn.print may raise EPIPE because ftp.retrbinary closes the connection
because of read_timeout. but the exact result varies from the situation
like platform, timing, and so on.
it may raise ECONNRESET, ECONNABORTED, EOFError, or nothing... -
07:36 AM Revision e7ce7713 (git): lib/test/unit.rb: not override job_status option
- * lib/test/unit.rb (Test::Unit::Runner#_prepare_run): not override
job_status option if no tty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:35 AM Revision c869f69c (git): * 2012-05-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@35747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:35 AM Revision b0901e0f (git): * ext/syslog/syslog.c (mSyslog_inspect): Make sure self is a
- module before calling rb_class2name().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@35746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:32 AM Revision 1c816778 (git): * 2012-05-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@35745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:32 AM Revision 5968c595 (git): * ext/syslog/syslog.c (mSyslog_inspect): Make sure self is a
- module before calling rb_class2name().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@35744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:29 AM Revision 2c7e082f (git): * 2012-05-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@35743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:28 AM Revision ccb34ee9 (git): * ext/syslog/syslog.c (mSyslog_inspect): Make sure self is a
- module before calling rb_class2name().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@35742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:24 AM Revision 72aa68b0 (git): merge revision(s) 35738:
- * ext/syslog/syslog.c (mSyslog_inspect): Use rb_sprintf().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:24 AM Revision d5ba54a5 (git): merge revision(s) 35737:
- * ext/syslog/syslog.c (mSyslog_inspect): Make sure self is a
module before calling rb_class2name().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:22 AM Bug #6475 (Assigned): Fix decryption example in OpenSSL docs
-
02:17 AM Bug #6475: Fix decryption example in OpenSSL docs
- Attached patch
-
02:16 AM Bug #6475 (Closed): Fix decryption example in OpenSSL docs
- The code example in the "Decryption" section of the OpenSSL docs shows ciphertext being decrypted with the same key used to encrypt it. Instead, decryption should be done with the other key in the pair. I've verified that the sample code...
- 07:18 AM Revision 05b26a85 (git): * ext/syslog/syslog.c: Classify constants and macros into several
- sub-modules. (Syslog::Priority, Syslog::Level, Syslog::Option
and Syslog::Macros)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:18 AM Revision 28fc3689 (git): * ext/syslog/syslog.c (mSyslog_inspect): Use rb_sprintf().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:18 AM Revision 1b84082a (git): * ext/syslog/syslog.c (mSyslog_inspect): Make sure self is a
- module before calling rb_class2name().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:05 AM Revision 9c14029f (git): lib/test/unit.rb: simple ouput if verbose
- * lib/test/unit.rb (Test::Unit::Runner#_prepare_run): use simple
output if verbose mode and no job-status option given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:45 AM Revision 51a929c6 (git): * .travis.yml (install): It seems tcl/tk is skipped in Travis
- CI. Trying to fix the situation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:11 AM Revision fb2e6803 (git): enc: fix dependencies
- * enc/depend (ENCOBJS): add dependencies.
* enc/make_encmake.rb (target_encodings): extract dependencies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:27 AM Revision 52f0c678 (git): * lib/net/ftp.rb (Net::FTP#transfercmd): rescue shutdown.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
05/20/2012
-
10:53 PM Bug #6474: Substitution bug in String # gsub
- Maybe you are bing confused by the way irb displays results as double quoted strings. If you explicitly use puts:
ratdog:~ mike$ irb
1.9.3-p125 :001 > s = 'a&b'
=> "a&b"
1.9.3-p125 :002 > puts s.gsub '&', '\&'
a&b
=> nil
1... -
10:19 PM Bug #6474 (Closed): Substitution bug in String # gsub
- Hi,
I need to replace all occurences of & with \& in a String (generating LaTeX input).
However, gsub has a problem with unescaping the \ character in the replacement string:
irb(main):001:0> "a&b"
=> "a&b"
irb(main):002:0>... -
10:32 PM Bug #6450 (Closed): Shift JIS で String#tr の範囲指定がおかしい
- This issue was solved with changeset r35724.
5, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enc/shift_jis.c (code_to_mbclen): return
ONIGERR_INVALID_CODE_PO... -
09:56 PM Revision d795f2d1 (git): Shutdown gracefully.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:04 PM Feature #6472 (Third Party's Issue): Multiline mode in regexp by default
- Not a bug at least. Regexps are working as expected.
Ruby won't prevent you shooting your foot. -
06:19 PM Feature #6472: Multiline mode in regexp by default
- In Ruby there is no multiline flag, regexps in Ruby are always in multiline mode. See http://advogato.org/person/fxn/diary/498.html for some gotchas regarding regexp flags in Perl vs Ruby.
In Ruby, you need to use \A and \z (or \Z) to... -
05:33 PM Feature #6472 (Third Party's Issue): Multiline mode in regexp by default
- When using regexp there can be a vulnerability:
http://homakov.blogspot.com/2012/05/saferweb-injects-in-various-ruby.html#more
Probably it happens because multiline mode in regexp is default, but this is wrong. Need use 'm' modif... -
06:36 PM Bug #6473 (Closed): Enumerable#count
- =begin
Enumerable#count には、
Returns the number of items in <i>enum</i> if it responds to a #size call,
otherwise the items are counted through enumeration. If an argument is
というコメントが書いてありますが、実際には
class E
include Enumer... -
04:16 PM Feature #6470: Make attr_accessor return the list of generated method
- Yes, they are public.
If I understood them correctly, they are the same as this in pure ruby code:
```ruby
attr_accessor :foo
def foo
@foo
end
def foo=(i)
@foo = i
end
```
I found that I personally only need `att... -
01:54 PM Feature #6470: Make attr_accessor return the list of generated method
- Aren't accessors public by definition? If you want them to be private use attr.
-
08:29 AM Feature #6470 (Closed): Make attr_accessor return the list of generated method
- attr_accesor currently returns nil. It would be more helpful if it return list of generated methods so that it can become an argument to other methods like :private or :protected. That way private accessors can still be defined at top of...
-
04:13 PM Feature #6444: alias for String#index
- #find already exists in Enumerable. I don't think it is a good choice.
#pos is not really a proper english word. You probably meant #position.
You can however always extend class String on your own and add these methods. -
03:58 PM Revision 03570f80 (git): ext/extmk.rb: workaround for -framework option
- * ext/extmk.rb (extmake): assume non-option words are arguments.
workaround for -framework option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:58 PM Revision f244f525 (git): * 2012-05-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:58 PM Revision 78990343 (git): lib/test/unit.rb: not overwrite options itself
- * lib/test/unit.rb (Test::Unit::Runner#_prepare_run): not overwrite
options itself.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:18 PM Revision 3f6ec3dd (git): * ChangeLog: fix a typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:00 PM Revision e95d6903 (git): ext/extmk.rb: reopen stdout
- * ext/extmk.rb (extmake): reopen $stdout to NULL, since setting
$stdout cannot affect child processes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:00 PM Revision 2dc01a5f (git): ext/extmk.rb: Shellwords.join
- * ext/extmk.rb (system): use Shellwords.join.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:00 PM Revision ea0c3a88 (git): ruby.c: fixed typo
- * ruby.c (Init_enc): fixed typo. defined in dmyext.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:32 PM Revision 2053b5f4 (git): * enc/shift_jis.c (code_to_mbclen): return
- ONIGERR_INVALID_CODE_POINT_VALUE if the code is invalid.
* enc/shift_jis.c (tr_next): increment character until the code
is a valid character. [ruby-dev:45652] [Bug #6450]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35724 b2dd0... -
12:25 PM Bug #6462 (Closed): Broken build under MinGW due undefined references
- This issue was solved with changeset r35722.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Bug #6462: EXTSOLIBS
* Makefile.in (LIBRUBY_SO): link EXTSOLIBS ... -
06:03 AM Bug #6462: Broken build under MinGW due undefined references
- =begin
The issue seems to be caused by the override of SOLIBS when --enable-shared is used to build Ruby:
https://github.com/ruby/ruby/blob/trunk/ext/extmk.rb#L665-668
By doing that, system libraries defined by LIBS (which later... -
04:37 AM Bug #6462: Broken build under MinGW due undefined references
- =begin
After git bisect was done, I can confirm that r35709 (SHA1 0e60b2c6a3c5152fc4ff06054a4ae79edadf9276) introduced the breakage:
commit 0e60b2c6a3c5152fc4ff06054a4ae79edadf9276
Author: nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe6... -
12:50 AM Bug #6462 (Closed): Broken build under MinGW due undefined references
- Attempt to compile latest trunk (r35721) result in the following errors:
-
07:58 AM Bug #4387 (Feedback): test_socket_connect_nonblock(TestSocketAddrinfo) がまれに失敗する
- [ruby-list:38139] にもスレがありますね。
まとめると、
1. connect_nonblock を呼ぶ
2.1. ECONNREFUSED が返る (localhost など結果が瞬間的に返る場合)
2.2.1. EINPROGRESS が返る
2.2.2. select で待つ→成功か失敗に収束
2.2.3.1. EISCONN が返る (成功)
2.2.3.2. EINVAL が返る (失敗)
って事のようです。
ここで EI... -
05:29 AM Bug #6408: DelegateClass#eql? and <=> don't work as expected - On Thu, May 17, 2012 at 12:10:56AM +0900, mame (Yusuke Endoh) wrote:
>
> Issue #6408 has been updated by mame (Yusuke Endoh).
>
> Status changed from Open to Assigned
> Assignee set to tenderlovemaking (Aaron Patterson)
> Target... - 03:25 AM Revision 44faaf11 (git): * 2012-05-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:25 AM Revision a906a9d9 (git): Bug #6462: EXTSOLIBS
- * Makefile.in (LIBRUBY_SO): link EXTSOLIBS too.
* ext/extmk.rb (mf.macro): use EXTSOLIBS instead of SOLIBS to get rid
of discard libraries needed by default. [Bug #6462]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35722 b2dd03...
05/19/2012
-
10:54 PM Feature #6435: Break up net/http.rb into individual files
- I agree
-
05:06 PM Bug #6460 (Closed): `unexpected return' occurs when a proc is called in ensure
- =begin
辻本です。
Bug #2729, #5234 の続きのような話になりますが
以下のコードでunexpected returnとなります。
class C
def each
begin
yield :foo
ensure
1.times { Proc.new }
end
end
def detect
each{|e|
... -
11:22 AM Bug #6456 (Third Party's Issue): [readline] Readline.point when history edited
- =begin
以下のように、履歴をたどって編集した時に Readline.point の値がおかしくなるようです。
require "readline"
RUBY_DESCRIPTION # => "ruby 2.0.0dev (2012-05-19 trunk 35705) [x86_64-linux]"
Readline::VERSION # => "6.2"
IO.pipe do |r, w|
Readline.inpu... -
10:23 AM Bug #6455 (Closed): IRB.conf[:RC_NAME_GENERATOR] と IRB.conf[:SAVE_HISTORY] を同時に設定すると irb が起動できないのを修正する
- るりまを書いている最中に気づいたのですが、IRB.conf[:RC_NAME_GENERATOR] と IRB.conf[:SAVE_HISTORY] を同時に設定すると irb の起動時にヒストリファイルの読み込みで例外が発生して irb が起動できません。
$ irb
/usr/lib/ruby/1.8/irb/ext/save-history.rb:77:in `exist?': can't convert nil into String (Typ... -
10:13 AM Revision 9373d915 (git): suppress unused-but-set-variable warnings
- * ext/curses/curses.c (window_cury, window_curx, window_maxy)
(window_maxx, window_begy, window_begx): suppress
unused-but-set-variable warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35721 b2dd03c8-39d4-4d8f-98ff-823fe6... -
10:04 AM Revision 15bf3182 (git): static-linked-ext: all linked ruby
- * ext/extmk.rb (command_output): ENCOBJS is needed for all linked
ruby, if --disable-shared and --with-static-linked-ext.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:56 AM Bug #6454: Anonymous classes should delete tmp_classpath on dup
- This patch fixes the name of dup'd anonymous classes (and modules).
-
07:19 AM Bug #6454 (Closed): Anonymous classes should delete tmp_classpath on dup
- When an anonymous class is duped, it should delete tmp_classpath from the iv table so that subsequent calls to `inspect` on the duped class will have different results.
I've attached a test case to demonstrate the problem. -
08:37 AM Feature #6452: Allow extend to override class methods
- I'm not sure if prepend would have the same effect. I was expecting to call "super" in B and it would call A.a.
Does it make sense?
I don't really care if this would have another method name.
Would you mind to explain why the cu... -
08:31 AM Feature #6452 (Assigned): Allow extend to override class methods
- Hello,
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> Would this change be possible for 3.0?
Why don't you add a new method instead of changine an existing one?
What you want is allowed by a feature planned for Ruby 2.0 called
M... -
01:58 AM Feature #6452 (Assigned): Allow extend to override class methods
- ```
module A
def self.a
'a1'
end
end
module B
def a
'a2'
end
def b
'b'
end
end
A.extend B
assert A.a == 'a2' # this is the change I'm proposing - currently it is 'a1'
assert A.b == 'b'
```... -
08:30 AM Bug #6449: new does not call allocate, as advertized
- PS if you need something, tell us _why_ you need something.
In this case we prohibit (re)defining allocator beacuse we
believe redefining new should suffice all needs. If you
don't think so, please show the reason. -
08:24 AM Bug #6449 (Rejected): new does not call allocate, as advertized
- Yes it does. What's not permitted is to define your allocate method. It is for C extensions only.
-
08:12 AM Bug #6451 (Closed): Random crash when using Qt
-
03:59 AM Bug #6451: Random crash when using Qt
- Fixed it, please close it. Just made my app class be derived from Qt::MainWindow
-
01:43 AM Bug #6451: Random crash when using Qt
- By the way I am using Fedora 17 and i installed ruby-qt version 4.8.3-1.fc17 from repository.
-
01:38 AM Bug #6451 (Closed): Random crash when using Qt
- I am making a Bing Translator API Client using Ruby/Qt4. I have written some code already, but what i get is abort when i use the window. So I ran GDB and got some output. I will post it and my sources. I also have a core dump file(x86_64)
-
06:50 AM Bug #6405 (Closed): Re: [ruby-cvs:42717] ryan:r35541 (trunk): Imported minitest 2.12.1 (r7323)
- I obviously ran the tests, as stated in my commit:
Imported minitest 3.0.0 (r7435) w/ fixes for rubygems. 10955 tests, 2253343 assertions, 1 failures, 1 errors, 28 skips minus drb tests on x86_64-darwin11.3.0 and reviewed by drbra... -
06:02 AM Revision e9900867 (git): static-linked-ext: no ext/libext.a
- * configure.in: no ext/libext.a, an archive library cannot be made
from other archive libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:57 AM Revision a99bf256 (git): static-linked-ext: into libruby
- * ext/extmk.rb (command_output): dmyext is needed as DLDOBJS if no
static lined extensions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:42 AM Revision 5d43f34a (git): merge revision(s) 35451:
- * test/drb/drbtest.rb ({DRbCore,DRbAry}#teardown}: cannot pass SIGTERM
to another process on Windows, so use SIGINT instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35717 b2dd03c8-39d4-4d8f-98ff-823fe6... -
05:42 AM Revision e050fc1b (git): merge revision(s) 35434:
- * lib/drb/ssl.rb: generate 1024 bits RSA key instead of 512 bits.
OpenSSL 1.0.1 rejects 512 bits RSA key for TLS1.2 with SHA512.
http://rt.openssl.org/Ticket/Display.html?id=2769&user=guest&pass=guest
report... -
05:42 AM Revision ca27aa83 (git): merge revision(s) 35433:
- * test/drb/drbtest.rb: rescue Errno::ESRCH for Process.kill.
[ruby-dev:45551] reported by NARUSE, Yui.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:41 AM Revision 28db2377 (git): merge revision(s) 35424:
- * lib/drb/extservm.rb (DRb::ExtServManager): don't use /bin/sh to
invoke service subprocess. mark detach threads for clean up.
* test/drb/drbtest.rb: clean up the service subprocess in teardown.
* test/drb/te... -
05:40 AM Revision 336c45ea (git): merge revision(s) 35422:
- * lib/drb/ssl.rb: close accepted TCP socket if SSL accept is failed.
[ruby-dev:45541]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:40 AM Revision 0ac2587d (git): merge revision(s) 33611:
- * lib/webrick/utils.rb: fix fcntl call.
* lib/drb/unix.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:27 AM Bug #6344 (Feedback): 1.9.3 p125, p194 ruby causes SEGV with test_massign.rb on ppc/ppc64
- If anyone send me a feedback of ppc test result, I'll backport this.
-
04:59 AM Bug #6453 (Rejected): parallel build issue
- Hello,
During build of Ruby for PPC64 RHEL, the build failed. I have never met such build issue before, neither I can reproduce it again, but it seems to be caused by parallel make and some unsatisfied dependency. Please see attached ... -
03:44 AM Revision 08b15235 (git): no K&R style
- * enc/encinit.c.erb (Init_enc): no K&R style anymore.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:36 AM Revision e546f716 (git): no K&R style
- * dmyext.c (Init_enc): no K&R style anymore.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:37 AM Revision 0e60b2c6 (git): static-linked-ext: into libruby
- * Makefile.in, common.mk (PROGRAM): no extension libraries.
* common.mk (build-ext): pass macros for libruby.so.
* ext/extmk.rb (command_output): link extension libraries and encoding
libraries into libruby.so, not ruby executable.
g... -
02:36 AM Revision 1a6b07d7 (git): ext/extmk.rb: fold long macro
- * ext/extmk.rb (command_output): fold long macro lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:35 AM Revision 0a6700fe (git): use LIBEXT
- * Makefile.in (LIBEXT): add macro.
* configure.in (ENCOBJS, EXTOBJS): use LIBEXT, not hardcoded suffix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:34 AM Revision 2278902a (git): fix typo
- * Makefile.in (LIBRUBY_A): fix typo. re-applying r35242.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:44 AM Bug #6450 (Closed): Shift JIS で String#tr の範囲指定がおかしい
- =begin
CP932(Windows-31J)は,第二バイトが 0x7F になる文字が存在しない仕組みになっていますが,以下の例のように,String#tr で範囲指定を使うと,そのような文字が存在するかのような動作になります。
# encoding: cp932
p "マミムメモ".tr("マ-モ", "マ-モ") # => "マミメモモ"
p "マミムメモ".tr("マ-モ", "マ-モ") # => "マミ\x83\x7Fムメ"
...