Activity
From 05/21/2012 to 05/27/2012
05/27/2012
-
11:17 PM Bug #6506 (Closed): configure --disable-install-doc していると make install で ruby がビルドされない
- configure --disable-install-doc を指定していると、make install しても
miniruby だけ再ビルドされて ruby は古いままで install されるようです。
make clean した状態から make install してもやっぱり ruby が作成されないのでエラーになります。
以下のパッチで一応 make install は成功する(再ビルドされる)ようになりました。
diff --git a/... -
09:23 PM Bug #6501: Documentation for Exception#set_backtrace is incorrect
- (2012/05/27 19:26), mame (Yusuke Endoh) wrote:
> ko1, tell us if you have any opinion (or objection) about this.
I don't have any opinion about it.
--
// SASADA Koichi at atdot dot net -
07:26 PM Bug #6501 (Assigned): Documentation for Exception#set_backtrace is incorrect
- Hello drbrain,
Could you treat this?
ko1, tell us if you have any opinion (or objection) about this.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:42 AM Bug #6501 (Closed): Documentation for Exception#set_backtrace is incorrect
- The documentation for Exception#set_backtrace is incorrect. It currently says that its argument must be an array of strings.
/*
* call-seq:
* exc.set_backtrace(array) -> array
*
* Sets the backtrac... -
07:25 PM Feature #6503 (Assigned): Support for the NPN extension to TLS/SSL
- Thank you Ilya!
Martin, could you tell me how hard is it to implement this?
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:57 PM Feature #6503 (Closed): Support for the NPN extension to TLS/SSL
- OpenSSL 1.0.1+ added support for Next Protocol Negotiation (NPN) extensions. A couple of relevant links:
- Google technical note: https://technotes.googlecode.com/git/nextprotoneg.html
- IETF draft: http://tools.ietf.org/html/draft-a... -
04:25 PM Revision 92b6597b (git): * ChangeLog: fix a typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:14 PM Revision 77dc968e (git): * benchmark/bm_vm1_lvar_init.rb: fix newline code.
- * benchmark/bm_vm2_bigarray.rb: ditto.
* benchmark/bm_vm2_bighash.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:14 PM Revision 233e48dc (git): * 2012-05-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:14 PM Revision 26282b53 (git): * ChangeLog: remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:41 PM Revision 7796c7d7 (git): * benchmark/bm_vm1_lvar_init.rb: added.
- This benchmark measures a initialize time of non-used variable.
* benchmark/bm_vm1_lvar_set.rb: added.
This benchmark measures a local variables initialization time.
* benchmark/bm_vm2_bigarray.rb: added.
This benchmark mesures a big... -
02:35 PM Feature #5937: Zlib::Inflate#add_dictionary to pre-supply dictionaries for inflate streams
- What are the odds of having this be backported to 1.9.x? We need custom dictionary support to support SPDY without relying on FFI or other native extensions.
ex: https://github.com/igrigorik/spdy/blob/master/lib/spdy/compressor.rb -
05:52 AM Bug #6500 (Rejected): File#open with a ':binmode => true' opt
- This issue is fixed at trunk. This seems a duplicate of Bug #6055.
-
12:36 AM Bug #6500: File#open with a ':binmode => true' opt
- Yusuke, assigning to Hiroshi Shirosaki who is more familiar with File IO.
-
12:30 AM Bug #6500 (Assigned): File#open with a ':binmode => true' opt
- Luis, could you treat this?
--
Yusuke Endoh <mame@tsg.ne.jp> -
04:47 AM Revision 24b1d2f2 (git): * NEWS: expanded a tab.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:35 AM Revision 06653c19 (git): * benchmark/driver.rb: fix to continue benchmarks when
- an error is occurred.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:53 AM Bug #6502 (Closed): include Syslog
- knu さん
http://d.hatena.ne.jp/nagachika/20120521#r35737
で指摘されていますが、Syslog#inspect が rb_define_module_function なのは意図的でしょうか。
rb_define_singleton_method の方が適切なように思います。
具体的には、以下のように include したクラスが inspect できません。
$ ruby -rsyslog -... -
02:27 AM Revision 2d8b8b4d (git): fix operator precedence
- * lib/test/unit.rb (Test::Unit::Runner#_prepare_run): fix operator
precedence, so that platform and TERM should be counted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:23 AM Revision a000c52b (git): * untabified.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:07 AM Feature #6482: Add URI requested to Net::HTTP request and response objects
- Hello, drbrain
Are you willing to be a net/http(s) maintainer?
I think you deserve it.
Matz, do you accept him if he is willing?
--
Yusuke Endoh <mame@tsg.ne.jp> - 01:05 AM Revision 9f698ff1 (git): modified test.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:04 AM Revision 83d8d057 (git): * ext/date/date_strftime.c: allows %Ok and %Ol.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:00 AM Bug #6490 (Assigned): The 'printf' method in trace_func is not sent to 'stdout' variable in tracer.rb
-
12:50 AM Feature #6483 (Assigned): parametric map
- Assigning to matz.
Eregon (Benoit Daloze) wrote:
> For info, this is http://bugs.ruby-lang.org/issues/show/4146 (I had a hard time finding it back).
Thanks Benoit! I added it as a related ticket.
--
Yusuke Endoh <mame@tsg.... -
12:45 AM Bug #6495 (Assigned): uninitialized constant due to missing require
- I'm not sure if the author had assumed that dl/struct is require'ed directly.
Aaron, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:35 AM Bug #6496 (Assigned): Adding a bit of DL and friends documentation
- Aaron, please let Eric know your opinion if any.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:33 AM Feature #6480: [PATCH] Add HTTP status codes from RFC 6585
- Please commit it unless there is objection within a few days or a week.
Thanks!
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:30 AM Feature #6480 (Assigned): [PATCH] Add HTTP status codes from RFC 6585
- 12:30 AM Revision 6ba96bbe (git): * ext/date/date_core.c: modified doc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:16 AM Feature #6499 (Assigned): Array::zip
-
12:07 AM Bug #6498 (Assigned): Cygwin needs $(DEFFILE) for extension libraries.
- Looks acceptable to me because the proposed patch affects just cygwin.
(Note that cygwin is not supported now)
Nobu, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp>
05/26/2012
-
11:05 PM Bug #6500 (Rejected): File#open with a ':binmode => true' opt
- Here's the problem, under Windows:
irb(main):001:0> f = File.open('x',binmode:true)
ArgumentError: both textmode and binmode specified
from (irb):1:in `initialize'
from (irb):1:in `open'
from (irb):1
... -
10:29 PM Feature #6130: inspect using to_s is pain
- I attach the updated tests (sorry about the delay :/).
Please comment is something is wrong.
After speaking with Yusuke, it seems best to not include a (complete) specification for #inspect in RubySpec yet, because the exact #inspect... - 06:18 PM Revision 9a6a94f7 (git): * 2012-05-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:18 PM Revision 18454e6f (git): * ChangeLog: fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:05 PM Bug #6491: DateTime.strftime('%Z') output is incorrect format
- Time's one also says.
but, actually it depends on platform.
on windows, may not always return abbreviation.
this may be a matter of common sense.
but, it's not so good for novice. -
01:09 PM Bug #6491: DateTime.strftime('%Z') output is incorrect format
- If this is expected functionality, then perhaps the documentation should be changed. It clearly says `%Z - Time zone abbreviation name`. This in my eyes (and about 10 other ruby developers I asked before i filed this) means UTC, CST, etc...
-
12:39 PM Bug #6491: DateTime.strftime('%Z') output is incorrect format
- i tried to avoid the term of UTC or similar words here carefully.
because, we use +00:00 as a local time.
ruby's Time object has a mode UTC/local time.
but, DateTime does not so.
DateTime does not have the obvious local time zone.
... -
12:15 PM Bug #6491: DateTime.strftime('%Z') output is incorrect format
- And if it's not a bug, what's the difference between `%:z` and `%Z`? Currently they basically output the same thing. The documentation says: `%Z - Time zone abbreviation name`.
-
12:11 PM Bug #6491: DateTime.strftime('%Z') output is incorrect format
- Time.parse().strftime('%Z') outputs `UTC`. Notice I said "similar format". It should output a human consumable output like Time.strftime('%Z') does. If nothing else, the two identically named functions output two different things.
-
12:05 PM Bug #6491 (Rejected): DateTime.strftime('%Z') output is incorrect format
i don't know how to determine such a name.
moreover, GMT is already dead.
this is not a bug, not an incorrect format.
-
01:42 PM Feature #6499 (Rejected): Array::zip
- Sometimes it's more natural to have Array::zip rather than Array#zip. Otherwise first array of list became unnecessary dedicated
For example
cols = first_row.zip(second_row,third_row,fourth_row)
have more natural analog:
cols = Arra... -
10:28 AM Bug #6498 (Rejected): Cygwin needs $(DEFFILE) for extension libraries.
- It seems that Bug #2684 is also valid for Cygwin.
For example, "gem install glib2 atk" fails with many undefined references:
...
linking shared-object atk.so
Creating library file: libruby-atk.arbatkaction.o: In function `rg_set_desc... -
10:18 AM Feature #6497 (Closed): Disabling TLS client-side renegotation
- I added support for completely disabling client renegotiation on SSL/TLS servers in r35797.
Client renegotiation is still considered a problem, even with secure renegotiation support.
It's now possible to either completely disable cl... -
10:08 AM Feature #6265: Remove 'useless' 'concatenation' syntax - I agree with Alex that when I first saw it I thought it was cool, but then I never really needed to use it, like trans says.
- 10:05 AM Revision 76547ea7 (git): * ext/date/date_core.c: added description.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:21 AM Revision 43e8bf0c (git): re-modified
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:16 AM Revision 2199c85d (git): * ext/date/date_strftime.c: reduced the code.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:10 AM Revision 0976f312 (git): * time.c: modified doc.
- * ext/date/date_core.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:08 AM Revision ec187ff8 (git): * vm.c (backtrace_*): change type of lev and n from size_t to int.
- Also set type of rb_backtrace_t#backtrace_size to int.
A patch from nobu.
* vm_eval.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:26 AM Revision 5212b7fb (git): file.c: fix for UNC
- * file.c (realpath_rec): UNC prefix does not end with path separator,
so new separator is needed after it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:24 AM Revision 62bab7fc (git): test/ruby/test_file.rb: fix for UNC
- * test/ruby/test_file.rb (test_realpath, test_realdirpath): fix for
UNC enabled platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:48 AM Feature #1873: MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group - Hi everyone. I am a newbie user of computer languages (< 1 year), and I am
providing my feedback from this position.
Summary:
I find that this feature proposal is basically an extension of Regex state
machine functionality. I am ag... -
06:31 AM Revision 9c3d8bb0 (git): * test/ruby/test_backtrace.rb (test_caller_lev):
- decreaze recursion size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:03 AM Revision a28b100f (git): ChangeLog: fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:51 AM Revision ca433168 (git): * NEWS: add Kernel#caller's second argument.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:49 AM Revision 4f54d471 (git): * vm.c (RubyVM::FrameInfo): add a class to access each frame
- information. You don't need to parse strings from caller().
FrameInfo has the following methods:
FrameInfo#name: method name, class name, etc with decorations.
FrameInfo#basename: name without decorations.
FrameInfo#line_no: lin... -
04:25 AM Feature #905: Add String.new(fixnum) to preallocate large buffer - Uh oh, this discussion is already a pain to read.
-
03:31 AM Bug #6496 (Closed): Adding a bit of DL and friends documentation
- Here is a little bit of documentation for DL. Overall it add 0.15% documentation coverage. \o/
-
03:25 AM Revision fbf531c4 (git): * vm.c (frame_info_to_str): add `break'.
- * vm.c (backtrace_object): remove lev and n parameter.
backtrace_object always returns all of backtrace information.
* vm.c (rb_backtrace_to_str_ary): fix to use backtrace_object().
This change improve performance of caller(lev, n).
... -
02:19 AM Bug #6495 (Closed): uninitialized constant due to missing require
- <issue>
irb(main):022:0> require 'dl/struct'
NameError: uninitialized constant DL::CStructEntity::ValueUtil
from /usr/lib64/ruby/1.9.1/dl/struct.rb:48:in `<class:CStructEntity>'
from /usr/lib64/ruby/1.9.1/dl/struct.rb:46:in `<modul... -
02:10 AM Revision 6d597718 (git): * vm.c (rb_frame_info_t): keep previous ISEQ frame info for CFUNC
- frame info. And fix to cache a calculated line_no of ISEQ frame
info.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:06 AM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
- naruse (Yui NARUSE) wrote:
> If Inflater's @socket.read returns nil or a string shorter than clen, it means the input is finished and @inflate can finish.
> ...
I hadn't thought of that, I will implement it.
> But on persistent conn... - 12:56 AM Revision 2240dc2e (git): * 2012-05-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:56 AM Revision 50ba64ab (git): * ext/openssl/ossl_ssl.c: Allow disabling client-side renegotiation.
- * test/openssl/test_ssl.rb: Simple tests for this.
Client-side renegotiation is still considered problematic, even
when used in the context of secure renegotiation (RI, RFC 5746).
The changes allow users to either completely disab...
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