Activity
From 03/21/2012 to 03/27/2012
03/27/2012
-
11:55 PM Feature #5583 (Assigned): Optionally typing
-
11:54 PM Feature #5460 (Closed): Improve "CONNECT" code in net/http. (patch inclulded)
- Committed in r34362.
-
11:54 PM Feature #5584 (Rejected): Array#sample!
- まつもとさんの意見に対して feedback がないので閉じます。
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:52 PM Feature #5582 (Assigned): Allow clone of singleton methods on a BasicObject
-
11:49 PM Feature #4906: rb_w32_add_socket / rb_w32_remove_socket
- Is this planned to be included in 2.0.0?
- 11:45 PM Revision 4e380912 (git): * 2012-03-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:45 PM Revision a2c56d53 (git): * ext/psych/lib/psych.rb: updating version to match gem
- * ext/psych/psych.gemspec: ditto
* ext/psych/lib/psych/visitors/to_ruby.rb: fixing deprecation warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:45 PM Feature #5574 (Assigned): Make arrays comparable
-
11:44 PM Feature #5558 (Assigned): String#% strange arity errors
- This behavior is certainly intended. See [ruby-core:5161].
There is another example that behavior changes whether it is
debug mode or not: Thread#abort_on_exception.
Thread.new { raise }
sleep 1
The above will termin... -
11:41 PM Feature #5180 (Rejected): net/http の接続時に用いる IP アドレスの指定
- これは reject します。
さておき、メンテナにはなりますかね。
まつもとさんの承認は必要だったような。 -
02:31 AM Feature #5180 (Assigned): net/http の接続時に用いる IP アドレスの指定
- 成瀬さん
微妙に反対意見が出てますが、net/http のメンテナの裁量で
好きにやっていい範囲だと思います。
しかし現在 net/http にはメンテナがいません。
成瀬さんがメンテナになりませんか?
おまけで、net/http 関係の issue が憑いてきます。
メンテナになるのってまつもとさんの了解が必要でしたっけ。
成瀬さんがメンテナやりたくないなら reject の方向で。
その場合は Eric Hodel あたりに声かけてみます... -
11:38 PM Feature #5555 (Feedback): rename #include? to #includes?
- Hello,
2011/11/13 Alexey Muranov <muranov@math.univ-toulouse.fr>:
> Good explanation. The method names can also me viewed as #(does_it_)include?
I'm not sure but the rule seems Lisp's name convention?
Maybe it also came from Lis... -
10:54 PM Feature #5534 (Assigned): Redefine Range class and introduce RelativeNumeric and RelativeRange
-
10:51 PM Feature #5531 (Assigned): deep_value for dealing with nested hashes
-
10:50 PM Feature #5458 (Assigned): DL should be removed
- In principle, nothing should be removed from 2.0 because of compatibility.
I cannot advocate DL and Syck, though...
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:47 PM Feature #5456 (Assigned): kernel#syscall() should be removed.
- Kosaki-san,
In principle, nothing should be removed from 2.0 because of compatibility.
Do you think it should be removed from 2.0?
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:45 PM Feature #5446 (Feedback): at_fork callback API
- Eric Wong,
Do you still want this feature?
If so, could you answer kosaki's comment?
OT: We noticed and surprised at your ID (normalperson) at the recent
developers' meeting in Akihabara. Clearly, you are greatperson :-)
--... -
10:38 PM Feature #5445 (Assigned): Need RUBYOPT -r before ARGV -r
-
10:25 PM Bug #5488 (Closed): autoconf failure on HP-UX/PA
-
05:48 PM Feature #6150: add Enumerable#grep_v
- trans (Thomas Sawyer) wrote:
> Can it be an option?
> ...
Agreed, adding another method seems overkill (not to mention it does not look right) for such change. -
04:04 AM Feature #6150: add Enumerable#grep_v
- Can it be an option?
grep(pattern, :invert=>true)
-
03:39 AM Feature #6150: add Enumerable#grep_v
- =begin
I think that this is a good idea.
=end
- 02:44 PM Revision 9073db5c (git): * io.c (io_unread): fixed memory leak. report by nagachika via IRC.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:44 PM Revision 61dc4a8d (git): * configure.in (verconf.h): separate load path specific stuff from
- config.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:43 PM Revision c2d7776f (git): * win32/Makefile.sub: fix config.h path to include.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:23 PM Revision c857c737 (git): merge revision(s) 33533: [Backport #6204]
- * configure.in (RUBY_STACK_GROW_DIRECTION): substitute CPU name as
shell variable name. based on the patch by The Written Word Inc. at
[ruby-core:40421]. [Bug #5488]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bra... -
09:56 AM Feature #5064: HTTP user-agent class
- =begin
I hope this shortened version is simple enough:
New class named Net::HTTP::Agent with this API:
agent = Net::HTTP::Agent.new
Built in ways to make HTTP requests similar to Net::HTTP:
agent.head "http://example/som... -
09:09 AM Feature #5219: Array#pack should warn (or raise) if an invalid pack string is given
- I was helping someone else write a patch, but they have gone missing.
Can you check this patch? -
02:46 AM Feature #5219 (Assigned): Array#pack should warn (or raise) if an invalid pack string is given
- drbrain,
> Ruby should at least warn like printf when -w is active:
Agreed. Could you offer a patch?
I think you can commit it, unless there is objection.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:27 AM Revision 35259b72 (git): * win32/win32.c (check_if_dir): fix memory leak.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:06 AM Revision 2434ad11 (git): fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:17 AM Feature #5364: How about new syntax: "object.\method" returns a Method instance?
- Personally I think it's a ugly notation. Also methods aren't 1st class --you don't get the same method object each time. If we did, then I say it agree it would be important to have a concise syntax.
-
03:22 AM Feature #5364 (Assigned): How about new syntax: "object.\method" returns a Method instance?
- Anyone is interested in facilitating the discussion?
Personally, I believe this proposal is the right way.
I tentatively assign this to matz, but I don't think
this is going to end well.
--
Yusuke Endoh <mame@tsg.ne.jp> -
04:13 AM Revision ab9c982c (git): * string.c (str_new_empty): should copy also the encoding as an
- empty substring. [ruby-dev:45441][Bug #6206]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:33 AM Feature #5394 (Feedback): Anonymous Symbols, Anonymous Methods
-
03:32 AM Feature #5392 (Assigned): Symbol GC
-
03:32 AM Feature #5389 (Assigned): New method Enumerator#iterate
-
03:27 AM Feature #5373 (Assigned): SMTP - new method
-
03:26 AM Feature #5372 (Assigned): Promote blank? to a core protocol
-
03:24 AM Feature #5371 (Rejected): add marshalling support for Mutex
- There is no feedback or revised proposal from OP.
I close this as Rejected.
--
Yusuke Endoh <mame@tsg.ne.jp> -
03:11 AM Revision 9052a8cd (git): * tool/make-snapshot (package): EXEEXT is now used in mkmf.rb.
- [ruby-core:43685]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:11 AM Revision be42c354 (git): * tool/make-snapshot (package): suppress constant overwritting warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:08 AM Feature #5361 (Assigned): Lice?
-
03:07 AM Feature #5352 (Assigned): How about using <> to represent Here Document?
-
03:06 AM Bug #5317 (Assigned): rubyのヘッダファイルを使った拡張を行う際にoff_tの宣言回避をする事が出来ない。
- まあこれは何かしら対処すべきじゃないですかね。
#define off_t を入れたのはなかださんっぽい (r10720) ので、
なかださんお願いします。
--
Yusuke Endoh <mame@tsg.ne.jp> -
03:04 AM Feature #5310 (Assigned): Integral objects
- Hello, Mrkn-san
Could you tell me the status?
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:50 AM Feature #5281 (Assigned): Support for custom sitearch and vendorarch directories
- Nobu, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:49 AM Feature #5231 (Assigned): Allow to disable versioned paths
- Nobu, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:48 AM Feature #5220 (Rejected): NilClass#to_i should accept an argument to match String#to_i
- There is no feedback or revised proposal from OP.
I close this as Rejected.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:43 AM Feature #5206 (Assigned): ruby -K should warn
- Naruse-san, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:42 AM Feature #3963 (Assigned): Map class in standard library
- Okay, thanks. I mark this ticket as matz's issue.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:32 AM Feature #3963: Map class in standard library
- Not much difference, except perhaps for the more flexible #convert_key idea. I was just clarifying in this ticket b/c of some of the comments made about Map specifically.
The conversation referenced did not seem to have any kind of co... -
02:20 AM Feature #3963: Map class in standard library
- Did you read the thread Shyouhei said?
shyouhei wrote:
> FYI: There has been a Mash merge request about a year ago. Pleas take a look at
> ...
I don't remember it in detail, but a similar idea you are talking about
was discussed, I... -
01:49 AM Feature #3963: Map class in standard library
- Just to be sure, I think I should clarify.
I do not mean Ruby ought provide Ara's Map class specifically (though, for the most part it is probably a very good implementation which is why I reference it). But that Ruby provide at least... -
12:53 AM Feature #3963: Map class in standard library
- Hello,
2012/3/25, akr (Akira Tanaka) <akr@fsij.org>:
> I think no hope to add Map class as builtin.
I agree for two reasons.
The name "map" is not suitable. In computer science, "map" stands for
an abstract data stru... -
02:34 AM Feature #5185 (Assigned): Set#merge acts in place but Hash#merge does not
- I understand the problem, but I guess it is too late to fix it.
Anyway, I'm assigning this to knu, the maintainer of lib/set.rb.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:20 AM Bug #6205 (Closed): YAML Regexp in anchor gets converted to String
- Thanks for the bug report!
This was fixed in r33679. I'll make a request to backport the fix to the 1.9.3 branch. -
02:12 AM Feature #5145 (Feedback): Function extension of Array#transpose
- Interesting but do you have any use case?
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:55 AM Feature #5129 (Assigned): Create a core class "FileArray" and make "ARGF" its instance
- Hello,
I like the idea, but it requires matz's approval.
> Now when I "p ARGF.class", I get "ARGF.class", so ARGF is an instance of ARGF.class, how meaningless it is.
FYI: In fact, it is meaningful. You can "exploit" it.
... -
01:44 AM Feature #6118: Hash#keys_of(values), returns related keys of given values
- Here is the updated patch
-
01:38 AM Feature #6118: Hash#keys_of(values), returns related keys of given values
- Here is the implementation for Hash#keys_of
-
01:44 AM Feature #5106 (Feedback): Is MurmurHash overkill?
- Hello,
> Simpler hash functions may be appropriate for hash tables, esp. small
> ...
Please make it quantitative when talking about performance.
Please show a benchmark first.
How slow is MurmurHash? How fast will st.c be if the... - 01:41 AM Revision f25efeb8 (git): * 2012-03-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:41 AM Revision e9e93e5d (git): * test/net/ftp/test_ftp.rb: property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:36 AM Feature #5006 (Rejected): Allow ~> as a method
- Hello,
This syntax would bring ambiguity.
Consider "0.~>1". This can parse as:
0.send("~>", 1)
as well as:
0.send("~") > 1
. So I close this ticket as Rejected.
There are some incomplete or arguable points in th... -
01:29 AM Bug #6159: Enumerable::Lazy#inspect
- Hello,
2012/3/27 Yusuke Endoh <mame@tsg.ne.jp>:
>> So I prefer the current behavior.
>
> I agree with you, as a core team member.
> It is a simple and straightforward implementation.
> But I also agree with Benoit, as a u... -
12:29 AM Bug #6159: Enumerable::Lazy#inspect
- Hello,
2012/3/25, shugo (Shugo Maeda) <redmine@ruby-lang.org>:
> So I prefer the current behavior.
I agree with you, as a core team member.
It is a simple and straightforward implementation.
But I also agree with Benoit,... -
01:19 AM Feature #4967 (Rejected): dmalloc reported memory leaks in ruby
- Hello,
Thank you for introducing an analysis tool and providing the
result. But, please send such information as a mail, not open
a ticket. A ticket should be for each concrete problem.
I guess valgrind (with option --show-reac... -
01:05 AM Feature #4712 (Feedback): File.writable? inaccurate in windows
- Hello,
usa wrote:
> The problem is who/when/how does it...
We need contribution. I mark this ticket as Feedback.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:03 AM Feature #4601 (Closed): Re-ordering method parameters.
- Hello,
More or less, this problem is solved by keyword arguments, I guess.
So I close this ticket.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:30 AM Feature #4057 (Rejected): FileUtils.copy with FIFOs and Special Devices
- Hello,
Runpaint, I think you meant FileUtils.copy_entry.
$ mkfifo fifo
$ ruby -rfileutils -e 'FileUtils.copy_entry("fifo", "lifo")'
...:in `copy': cannot handle FIFO (RuntimeError)
> So,
> ...
I object to replac... -
12:18 AM Feature #5903: Optimize st_table (take 2)
- Add couple of commits to pull request https://github.com/ruby/ruby/pull/107 :
1. Removal of ST_CHECK .
ST_CHECK were always returned instead of ST_CONTINUE inside of some st_foreach loops.
Now such calls to st_foreach are conv...
03/26/2012
-
11:28 PM Feature #6166: Enumerator::Lazy#pinch
- I like having a method myself b/c it reads better. I think "pinch" conveys the sort of "closing action" of the de-lazying.
Of course, #fetch would work as well, and that's a standard method, but it's interface only accepts an index, n... -
10:46 PM Bug #6203: Array#values_at does not handle ranges with end index past the end of the array
- Hi,
nobu (Nobuyoshi Nakada) wrote:
> It's definitely not a bug.
It's not?
How do you explain:
[1, 2, 3].values_at(2...42) # => [3]
[1, 2, 3].values_at(2..41) # => [3, nil]
I feel that both must return the same res... -
02:12 PM Bug #6203: Array#values_at does not handle ranges with end index past the end of the array
- It's definitely not a bug.
-
01:50 PM Bug #6203 (Closed): Array#values_at does not handle ranges with end index past the end of the array
- =begin
When I use Array#values_at I expect that it would be the same as successive calls to (({Array#[]})).
There is one case where this does not hold:
a = [0,1,2,3,4,5]
a[4..6] # => [4, 5]
a.values_at(4..6) # => [4,... -
09:36 PM Feature #6201: do_something then return :special_case (include "then" operator)
- Thank you for your feedback Yusuke. And yes, you understood it right. I actually tried to quickly find out first if "if ... then" was a valid syntax in Ruby, but I couldn't find it. It seems I didn't look hard enough...
I think my pro... -
09:21 PM Feature #6201 (Assigned): do_something then return :special_case (include "then" operator)
- Hello, Rodrigo
In short, you are proposing a syntactic sugar:
A then B
as
(A; B)
, so that you can rewrite the following idiom:
(render(...); return) if condition?
with:
render(...) then return if conditio... -
11:14 AM Feature #6201: do_something then return :special_case (include "then" operator)
- nobu (Nobuyoshi Nakada) wrote:
> =begin
> ...
Yes, Nobu, that is the other common idiom (the one I actually use), but I still don't find this readable. -
10:52 AM Feature #6201 (Feedback): do_something then return :special_case (include "then" operator)
-
10:51 AM Feature #6201: do_something then return :special_case (include "then" operator)
- =begin
(follow response['location']; return :redirected) if response.redirect?
=end
-
10:34 AM Feature #6201 (Rejected): do_something then return :special_case (include "then" operator)
- =begin
I've read several aproaches to deal with this case and this just feels like Ruby doesn't have a good idiom yet for the common use case.
You want to do some special action under certain conditions and then return the method.
... -
08:43 PM Bug #6205 (Closed): YAML Regexp in anchor gets converted to String
- I'll try to illustrate with code:
YAML:
---
hello: &allow-float
!ruby/regexp '/hello/'
bla: *allow-float
RUBY:
require 'yaml'
config = YAML.load_file('config.yaml')
puts config.inspect
puts config['hell... -
02:43 PM Revision bb314d33 (git): * lib/net/ftp.rb (parse227, parse228, parse229): don't use $~.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:39 PM Revision d68b3a38 (git): * lib/net/ftp.rb (parse227, parse228, parse229): don't use local
- variables defined by named capture for other Ruby implementations
such as Rubinius.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:39 PM Revision 422c8bae (git): * lib/net/ftp.rb (parse_pasv_port): refactored.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:22 PM Bug #6202 (Rejected): The 'rescue' modifier can not be used in 'require'
- 'rescue' modifier and 'rescue' clause with no exception classes catch only StandardError and its subclasses.
LoadError can't be caught. -
12:15 PM Bug #6202 (Rejected): The 'rescue' modifier can not be used in 'require'
- My Ruby version is: ruby 1.9.3p125 (2012-02-16) [i386-mingw32]
I found that the 'rescue' modifier can not be used in 'require', for example:
require 'not_exist' rescue require 'set' # this will raise a LoadError
I must write a... -
11:46 AM Feature #2408 (Closed): better error reporting in windows when you try to run a directory
- This issue was solved with changeset r35131.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ruby.c (load_file_internal): bail out if the script is a direc... -
10:52 AM Revision cae1d532 (git): * test/net/ftp/test_ftp.rb: add the test, which was forgotten in the
- previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:52 AM Revision 8c89d8ef (git): * lib/net/ftp.rb (parse227, parse228, parse229): refactored.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:52 AM Revision b9f67c41 (git): * enumerator.c (inspect_enumerator): show method arguments of
- lazy enumerators correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:33 AM Feature #1400: Please add a method to enumerate fields in OpenStruct
- Hi,
Peter Vandenabeele wrote:
> Is there a specified order for the enumeration? (I presume not, but
> ...
As the implementation uses a hash, it would be the same order, i.e. order in which they were set.
Thomas Sawyer wrote:
> ... -
05:08 AM Revision ddc7bcd6 (git): * win32/Makefile.sub (newline.c, miniprelude.c): search from source
- directory, not depending on VPATH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:51 AM Revision 7a0d81ea (git): * win32/win32.c (check_if_dir, check_if_wdir): fix for Visual C++
- not to use S_ISDIR(). [Feature #2408][ruby-core:26925]
* ruby.c (load_file_internal): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:57 AM Revision 06fba523 (git): * tool/merger.rb (interactive): allow editing commit message.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:57 AM Revision 1b2a6075 (git): * tool/merger.rb (default_merge_branch): use IO.popen to invoke pager.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:46 AM Revision 764d5478 (git): * ruby.c (load_file_internal): bail out if the script is a directory.
- [Feature #2408][ruby-core:26925]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:41 AM Revision 8a57e0bf (git): * 2012-03-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:41 AM Revision b83ad31c (git): * win32/win32.c (rb_w32_open, rb_w32_wopen): check if the file is a
- directory when access denied, to set errno to EISDIR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:57 AM Revision c34b551c (git): merge revision(s) 33542,33543: [Backport #6200]
- * parse.y (parser_nextc): set encoding for the buffer of ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:07 AM Feature #4840: Allow returning from require
- I've had occasion to use this as well, especially for RUBY_VERSION specific code.
I wonder if it is okay to be embedded in other code though. Would this work?
~~~ruby
class Q
def foo
exit_script
end
end
...
03/25/2012
-
11:57 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- I'm trying to get used to the idea of eating a pizza taue, myself. :-)
This is the classic chicken and egg situation -- "We'll do it if it's popular", but "It won't get popular unless people do it".
I think Tau=2*Pi is a good idea.... -
04:29 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- We have discussed this at today's developers' meeting in Akihabara.
We highly doubt that there are many mathematicians, physicists, engineers, and so on, who use τ. Once τ is widely accepted in these communities, we might add it.
J... -
04:23 PM Feature #4897 (Feedback): Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
-
10:20 PM Feature #3346: __DIR__ revisted
- Ruby does not provide way to get root of app/lib, and current working directory is not always root of applicable app/lib, so that's not always helpful way.
Sometimes practical choice outweighs theoretical ideal. `File.dirname(__FILE__)`... -
02:27 PM Feature #3346: __DIR__ revisted
- UNIX style directory hierarchy prepare a directory to put everything relate to the app/lib. I hesitate to add a method/directive that encourage file system convention apparently against UNIX style.
-
01:57 PM Feature #3346 (Assigned): __DIR__ revisted
-
10:03 PM Feature #4247: New features for Array#sample, Array#choice
- Whatever happened to #pick and #pick! which picked one random element? The term #sample strongly suggests the return of a subset.
Anther consideration, maybe it would be more useful to use a random delegator.
enum.random.sample
... -
02:18 PM Feature #4247 (Assigned): New features for Array#sample, Array#choice
-
09:22 PM Feature #5064: HTTP user-agent class
- Comment, mostly to drbrain (Eric Hodel):
At the developers' meeting today in Akihabare, we assigned this issue to Matz to decide on the main direction, but we thought that it might help Matz to get a shorter summary of the proposal. -
05:17 PM Feature #5064 (Assigned): HTTP user-agent class
-
09:11 PM Bug #5536: String#start_with? and end_with? ignore arguments convertible to a String [PATCH]
- I have uploaded a new set of patchs to better respect the style in test/ruby/test_string.rb (use S(str) for strings).
Could we merge this? -
08:53 PM Feature #3388: regexp support for start_with? and end_with?
- > A patch is welcome.
I'm willing to give this a shot, but I think #5536 should be merged first. -
02:09 PM Feature #3388 (Feedback): regexp support for start_with? and end_with?
- A patch is welcome.
--
Yusuke Endoh <mame@tsg.ne.jp> -
06:20 PM Bug #6167 (Closed): String#count: wrong result for multiple complements of multi-byte characters
- This issue was solved with changeset r35127.
John, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c (tr_setup_table): fix multiple non latin argument for
... -
05:26 PM Feature #5120 (Assigned): String#split needs to be logical
-
05:23 PM Feature #5016: Kernel#caller with negative limit should limit result to N initial frames
- > Calling Kernel#caller with a negative limit should limit result to N initial frames. When using Kernel#caller you often only want the first element of the result to get the information of the immediate caller. Generating the whole b...
-
04:57 PM Feature #5016 (Assigned): Kernel#caller with negative limit should limit result to N initial frames
-
05:22 PM Feature #5106 (Assigned): Is MurmurHash overkill?
-
05:21 PM Feature #5088 (Assigned): Refactor and Document vm_method.c / method.h
-
05:15 PM Feature #5607: Inconsistent reaction in Range of String
- We have discussed this issue at today's developers' meeting in Akihabara.
We agreed that it would be desirable to fix this, but that it may not be easy to implement. To avoid endless loops, one has to be able to check whether the star... -
05:12 PM Feature #5607: Inconsistent reaction in Range of String
- I presented String#succ mechanism:
http:www.a-k-r.org/pub/string-succ-rejectkaigi2008.pdf
(in Japanese) -
05:15 PM Feature #5053 (Assigned): ruby コマンドと libruby の食い違いチェック
-
05:03 PM Feature #5044 (Assigned): #zip with block return mapped results
-
05:02 PM Feature #5044: #zip with block return mapped results
- Currently it can be implemented as follows.
% ruby -e 'p [1,2,3].zip([1,2,3]).map {|a,b| a + b }'
[2, 4, 6]
% ruby -e 'p [1,2,3].lazy.zip([1,2,3]).map {|a,b| a + b }.to_a'
[2, 4, 6]
-
04:54 PM Feature #5007 (Assigned): Proc#call_under: Unifying instance_eval and instance_exec
-
04:45 PM Feature #5006 (Assigned): Allow ~> as a method
-
04:44 PM Feature #4965: The problem of "print line if line = DATA.gets"
- Just for completeness, at today's developers' meeting in Akihabara, there were several people who were supportive of this proposal. Arguments given were that humans read code top-down, but not necessarily left-to-right character-by-chara...
-
04:38 PM Feature #4965 (Assigned): The problem of "print line if line = DATA.gets"
-
04:44 PM Feature #5005 (Assigned): Provide convenient access to original methods
-
04:43 PM Feature #4990 (Assigned): Proposal: Internal GC/memory subsystem API
-
04:41 PM Feature #4967 (Assigned): dmalloc reported memory leaks in ruby
-
04:35 PM Feature #4946 (Assigned): Building libruby-static.a with option nodynamic and --with-static-link-ext doesn't disable dlopen
-
04:32 PM Feature #4935 (Assigned): Quoted Label Form for 1.9 Hashes
-
04:30 PM Feature #4924 (Assigned): mkmf have_header fails with C++ headers
-
04:28 PM Feature #4910 (Assigned): Classes as factories
-
04:25 PM Feature #4907 (Assigned): enumerable#permutation and combination
-
04:20 PM Feature #4865 (Assigned): Documentation of FileUtils is very unclear on how errors are handled
-
04:18 PM Feature #4862 (Assigned): Struct#to_hash
-
04:12 PM Feature #4849 (Assigned): io/wait should have a way to avoid FIONREAD
-
04:10 PM Feature #4840 (Assigned): Allow returning from require
-
04:09 PM Feature #4822 (Rejected): String#capitalize improvements
- yeban (Anurag Priyam) wrote:
> > Hmm, how about this?
> ...
We have discussed this issue at today's developers' meeting in Akihabara.
This kind of processing is not only dependent on language, but even for a specific language needs ... -
04:06 PM Feature #4824 (Assigned): Provide method Kernel#executed?
-
04:03 PM Feature #4786 (Rejected): RCR new Feature: Numeric#grouped
- naruse (Yui NARUSE) wrote:
> Ruby doesn't include Locale depended features on current policy.
> ...
We have looked at this issue today at our Ruby developer meeting in Akihabara, and we agree with Yui. We have therefore rejected this i... -
03:59 PM Feature #4786 (Assigned): RCR new Feature: Numeric#grouped
-
04:02 PM Feature #4801 (Assigned): Shorthand Hash Syntax for Strings
-
03:55 PM Feature #4772 (Assigned): Hash#add_keys
-
03:53 PM Feature #4592: Tempfileを直接保存したい
- (2012/03/25 15:33), akr (Akira Tanaka) wrote:
> remove_finalizer とか、save とかよりももうちょっと長い名前がいいんじゃないかなぁ、と思います。
mv なり hardlink などして,File を返すインターフェースとかだと良かった
りしないでしょかね.「消されない」Tempfile ってのに違和感がありまして.
Tempfile#mv(filepath) #=> F... -
03:33 PM Feature #4592: Tempfileを直接保存したい
- remove_finalizer とか、save とかよりももうちょっと長い名前がいいんじゃないかなぁ、と思います。
-
03:33 PM Feature #4592 (Assigned): Tempfileを直接保存したい
-
03:48 PM Feature #4712 (Assigned): File.writable? inaccurate in windows
-
03:46 PM Feature #4646 (Assigned): [PATCH] io/wait: add IO#wait_writable method
-
03:44 PM Feature #4633 (Assigned): iterate method / extended version of for
-
03:39 PM Feature #4610 (Assigned): Proc#curry behavior is inconsistent with lambdas containing default argument values
-
03:38 PM Feature #4601 (Assigned): Re-ordering method parameters.
-
03:35 PM Feature #4598 (Assigned): Net::SMTP should raise more helpfully when mail can't send
-
03:20 PM Feature #4589 (Assigned): add Queue#each() method and include Enumerable
-
03:16 PM Feature #4560 (Assigned): [PATCH] lib/net/protocol.rb: avoid exceptions in rbuf_fill
-
03:15 PM Feature #4514 (Assigned): #deep_clone and #deep_dup for Objects
-
03:05 PM Feature #4477 (Assigned): Kernel:exec and backtick (`) don't work for certain system commands
-
03:04 PM Bug #4044: Regex matching errors when using \W character class and /i option
- Hello Yui,
We discussed this issue at today's developpers' meeting in Akihabara.
There was wide consensus among the attendees that it is very strange to have 'k' and 's' included in the set of non-word (\W) characters. Therefore we... -
02:41 PM Bug #4044: Regex matching errors when using \W character class and /i option
- Interesting example:
~~~
% ruby -ve '("a".."z").each {|ch| p(/[\W]/i.match(ch)) }'
ruby 2.0.0dev (2012-03-16 trunk 35049) [x86_64-linux]
-e:1: warning: character class has duplicated range: /[\W]/
nil
nil
nil
nil
nil
nil
nil... -
02:38 PM Bug #4044: Regex matching errors when using \W character class and /i option
- I think this is bug:
~~~
$ ruby -e "puts /[\W]|\u1234/i.match('k').inspect"
#<MatchData "k">
$ ruby -e "puts /[\W]|\u1234/.match('k').inspect"
nil
~~~
-
02:55 PM Feature #4265 (Assigned): Provide a core method Kernel#ruby for invoking a new Ruby instance
-
02:48 PM Feature #4264 (Assigned): General type coercion protocol for Ruby
-
02:46 PM Feature #4057 (Assigned): FileUtils.copy with FIFOs and Special Devices
-
02:27 PM Feature #4043 (Assigned): グローバル関数current_classの提案
-
02:24 PM Feature #3963 (Rejected): Map class in standard library
- I think no hope to add Map class as builtin.
-
02:24 PM Feature #3963 (Assigned): Map class in standard library
-
02:13 PM Feature #3591 (Assigned): Adding Numeric#divisor? (Have working implementation)
-
02:08 PM Feature #3356 (Feedback): Add GetShortPathName to ruby
- What do you mean by "canonical"?
It doesn't feel like "canonical" at all. -
02:06 PM Feature #3356 (Assigned): Add GetShortPathName to ruby
-
01:53 PM Feature #3330 (Assigned): mkmf (find|have)_cxx_header
-
09:20 AM Revision 73a184cc (git): * string.c (tr_setup_table): fix multiple non latin argument for
- non latin (over 256 characters) tr-like methods.
[ruby-core:43371] [Bug #6167]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:07 AM Feature #6199 (Closed): Organize gc.c a bit
- 1. Move immutable fields from struct heaps_slot and struct sorted_heaps_slot into struct heaps_header.
One exception is limit field, but it starts to be mutable just before freeing a heaps_header, so that it is not big issue.
2. Emb... -
06:37 AM Feature #5903: Optimize st_table (take 2)
- As far this ticket not closed, I'll post hash related patch here:
https://github.com/ruby/ruby/pull/107
https://github.com/ruby/ruby/pull/107.patch
1. remove some unused code from st.c and hash.c
2. change rb_hash_modify to rb_ha... -
05:05 AM Bug #6159: Enumerable::Lazy#inspect
- Right, thank you for the explanation.
-
02:07 AM Bug #6159: Enumerable::Lazy#inspect
- Eregon (Benoit Daloze) wrote:
> Your answer raises another question: Would it not be more readable if #inspect was closer to the code?
> ...
The former can distinguish the following lazy enumerators, but the latter can't:
p (1..10... -
01:24 AM Bug #6159: Enumerable::Lazy#inspect
- Awesome, thanks!
Your answer raises another question: Would it not be more readable if #inspect was closer to the code?
(1..10).lazy.select(&:odd?).map(&:to_s).cycle(2).inspect
Instead of
"#<Enumerator::Lazy: #<Enumerator... -
12:23 AM Bug #6159: Enumerable::Lazy#inspect
- Eregon (Benoit Daloze) wrote:
> > I agree that It would be nice. However, unlike Enumerator, Enumerator::Lazy doesn't have enough information, so it needs to have some information only for inspect.
> ...
I guess it wouldn't impact perf... -
12:17 AM Bug #6159 (Closed): Enumerable::Lazy#inspect
- This issue was solved with changeset r35124.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enumerator (enumerator_inspect): include the original receive... -
02:58 AM Feature #6198 (Rejected): public/protected/private with attr_*
- I'd like to set visibility like this:
class X
protected attr_accessor :x, :y
end
attached patch(for 1.9.3-p125) is sample implementation (it seems to pass test-all)
- make attr_* to return array of method-symbols which a...
03/24/2012
-
10:22 PM Bug #6193 (Closed): Time.new does not accept seconds as a String
- This issue was solved with changeset r35122.
John, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* time.c (time_init_1): Time.new will accept seconds as string or... -
06:48 AM Bug #6193: Time.new does not accept seconds as a String
- Here is the updated patch using obj2subsecx.
-
01:20 AM Bug #6193: Time.new does not accept seconds as a String
- I think you want to use the obj2subsecx helper, not obj2vint, so that fractional seconds are still supported.
-
09:56 PM Bug #6197 (Third Party's Issue): readline module doesn't work with ansi code
- The upstream of readline is not here.
And if you're using screen, try without it. -
09:36 PM Bug #6197 (Third Party's Issue): readline module doesn't work with ansi code
- Dear ruby community,
When escape is set no new line, it rewrite same line.
Have a look here : http://img11.hostingpics.net/pics/790780Sanstitre.png
This bug was published here : https://github.com/pry/pry/issues/493 -
08:19 PM Bug #6159: Enumerable::Lazy#inspect
- > I agree that It would be nice. However, unlike Enumerator, Enumerator::Lazy doesn't have enough information, so it needs to have some information only for inspect.
> ...
I'm not sure, but it would certainly be helpful when debugging.
... -
04:30 PM Bug #6184 (Third Party's Issue): [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
- This problem apparently still exists, so it should not be just rejected.
And if it's obviously caused by OpenSSL, should be stated as "Third Party's Issue". -
02:57 PM Bug #6184 (Rejected): [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
- I've seen many same problems and all same problems have "CFUNC :connect" at the first of ruby's error log :)
-
05:22 AM Bug #6184: [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
- It was openssl... I changed it as you said, and everything did go as expected.
I most likely used OS X's default openssl.
Here is the crash report.
Many thanks!
PS: To sorah, how did you understand that it was an openssl probl... -
03:53 PM Revision 0c9f66eb (git): * enumerator (lazy_initialize): set the instance variable "receiver"
- to include the receiver to the return value of inspect on a lazy
enumerator directly created by Enumerator::Lazy.new.
* enumerator (RETURN_LAZY): don't set the instance variable "receiver".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby... - 03:17 PM Revision fa288063 (git): * 2012-03-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:17 PM Revision 6b885f6e (git): * enumerator (enumerator_inspect): include the original receiver and
- method name of Enumerator::Lazy in the result of inspect.
[ruby-core:43345] [Bug #6159]
* enumerator (InitVM_Enumerator): don't use rb_define_alias for
some methods such as collect in order to make rb_frame_this_func()
return the ... - 01:22 PM Revision 576a69a5 (git): * 2012-03-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:22 PM Revision 28e48d3f (git): * time.c (time_init_1): Time.new will accept seconds as string or
- int. [ruby-core:43569][Bug #6193]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:33 AM Bug #6147: should we check a result returned by fcntl?
- 単に失敗したら死ねばいいんじゃないですかね。
- どうせ失敗しないだろう
- 失敗しても動くようなコードかけないだろう
の2つの意味で
時間見つけてやっときます
03/23/2012
-
11:53 PM Bug #6193: Time.new does not accept seconds as a String
- Here is the patch which will fix the problem with the seconds. There is also pull request for github.
-
12:21 PM Bug #6193 (Closed): Time.new does not accept seconds as a String
- Time.new accepts any or all of the year, month, day, hour, or minute specified as a String, but does not accept a String value for seconds:
>> Time.new("2012", "3", "22", "8", "19", 30)
=> 2012-03-22 08:19:30 -0700
> ...
TypeError: ... -
11:38 PM Bug #6195: String#[] に逆順の Range を渡した場合の挙動
- 前田です。
mrkn (Kenta Murata) wrote:
> 以下のように String#[] に対して、範囲の開始インデックスが文字列の長さ以下の値である逆順の Range (beg > end) を渡した場合に空文字列が返ります。
> ...
私も最初そう思ったのですが、PythonやJavaScriptではどちらの場合も空文字列を返すようです。
# 以下の例はどちらもRubyのs[x...y]相当(s[x..y]ではない)です。
de... -
06:52 PM Bug #6195 (Rejected): String#[] に逆順の Range を渡した場合の挙動
- 以下のように String#[] に対して、範囲の開始インデックスが文字列の長さ以下の値である逆順の Range (beg > end) を渡した場合に空文字列が返ります。
"1"[1..0] #=> ""
"1"[1..-1] #=> ""
"123"[2..1] #=> ""
"123"[2..-2] #=> ""
一方、範囲の開始インデックスが文字列の長さより大きい場合は nil が返ります。
"1"[2..0] #=>... -
07:15 PM Feature #3908: private constant
- Methods are different b/c they can effect state --they can be *dangerous*. If it wasn't for that, there would be little reason to have private methods either.
So, what does this "if you really want to get at them, you still can" look ... -
09:53 AM Feature #3908: private constant
- On Thu, Mar 22, 2012 at 23:46, trans (Thomas Sawyer) <transfire@gmail.com>wrote:
> But codifying that, rather than just documenting it, is bound to be more
> frustrating than useful.
Isn't that the point of trying to crac... -
08:46 AM Feature #3908: private constant
- Isn't that really best left to a documentation detail?
While these private classes might be an implementation detail in your design, what if someone comes along and wants to build off the work and thus needs to subclass one of these i... -
02:53 AM Feature #3908: private constant
- On Thu, Mar 22, 2012 at 17:08, trans (Thomas Sawyer) <transfire@gmail.com>wrote:
> I can't think of single reason why anyone would actually have to have a
> "private", as opposed to a "public", constant. Constants are CONSTANT so... -
02:23 AM Feature #3908: private constant
- On Thu, Mar 22, 2012 at 18:08, trans (Thomas Sawyer)
<transfire@gmail.com> wrote:
> I can't think of single reason why anyone would actually have to have a "private", as opposed to a "public", constant.
Private modules and c... -
02:08 AM Feature #3908: private constant
- What was this deemed significant? I can't think of single reason why anyone would actually have to have a "private", as opposed to a "public", constant. Constants are CONSTANT so they aren't supposed to be changed after they are defined ...
-
06:49 PM Feature #6166: Enumerator::Lazy#pinch
- Hello,
trans (Thomas Sawyer) wrote:
> In previous issue #6158 it has been determined that Enumerator::Lazy#take should be lazy. But an eager form of #take would still be useful.
> ...
Enumerator::Lazy#pinch provides a random access ... -
06:43 PM Bug #6142 (Feedback): Enumerable::Lazy#zip doesn't rewind internal enumerators
-
06:42 PM Bug #6159 (Feedback): Enumerable::Lazy#inspect
-
01:19 PM Bug #6192 (Closed): Integer() doesn't handle UTF-16 input
- This issue was solved with changeset r35120.
John, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* bignum.c (rb_str_to_inum): must be ASCII compatible encoding as... -
01:00 PM Bug #6192: Integer() doesn't handle UTF-16 input
- =begin
I made this patch:
Index: bignum.c
===================================================================
--- bignum.c (revision 35117)
+++ bignum.c (working copy)
@@ -11,6 +11,7 @@
#include "ruby/ruby.h"
... -
10:34 AM Bug #6192: Integer() doesn't handle UTF-16 input
- Related, String#to_i:
>> "2007".encode("UTF-16le").to_i
=> 2
-
10:30 AM Bug #6192 (Closed): Integer() doesn't handle UTF-16 input
- >> Integer("2007".encode("UTF-16le"))
ArgumentError: string contains null byte
from (irb):209:in `Integer'
from (irb):209
from /Users/john/.rvm/rubies/ruby-1.9.3-p125/bin/irb:16:in `<main>'
-
11:33 AM Bug #6094 (Closed): [OpenSSL] wrong argument of rsa_generate()
- This issue was solved with changeset r35117.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Refix Bug #6094: use unsigned long integer literal.
* ext/o... -
11:03 AM Bug #6094 (Open): [OpenSSL] wrong argument of rsa_generate()
-
06:12 AM Revision 463633e4 (git): transcode.c (documentation for str_encode): Explain
- that transcoding to the same encoding is a no-op
(i.e. no exceptions, no replacements,...).
[ruby-core:43557][Bug #6190]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:19 AM Revision 163ab0a4 (git): * bignum.c (rb_str_to_inum): must be ASCII compatible encoding as
- well as String#hex and String#oct. [ruby-core:43566][Bug #6192]
* string.c (rb_must_asciicompat): check if ASCII compatible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:38 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
- Updated patch with the following changes:
* rb_eEWOULDBLOCKReadable and rb_eEWOULDBLOCKWritable added
* EWOULDBLOCK versions are set to EAGAIN versions if EAGAIN == EWOULDBLOCK
* renamed function rb_readwrite_sys_fail to match error... -
02:37 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
- Ok, will do.
-
03:14 AM Revision a1348699 (git): * test/ruby/test_io.rb (try_fdopen): more GCable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:04 AM Revision 2bf3b20d (git): * file.c (rb_file_s_basename): rb_enc_asciicompat() evaluates the argument multiple times.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:33 AM Revision ee3e7dcf (git): Refix Bug #6094: use unsigned long integer literal.
- * ext/openssl/ossl_pkey_rsa.c (rsa_generate): fix argument type.
[Bug #6094]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:02 AM Revision cca049e0 (git): Revert "* ext/openssl/ossl_pkey_rsa.c (rsa_generate): fix argument type."
- This reverts commit r35102.
It breaks tests on FreeBSD.
6) Failure:
test_new_with_exponent(OpenSSL::TestPKeyRSA)
[/usr/home/chkbuild/build/ruby-trunk/20120323T010301Z/ruby/test/openssl/test_pkey_rsa.rb:59]:
<3> expected but was
<12884... -
12:56 AM Revision 6d8580fe (git): * configure.in (Makefile): get rid of confliction with -j.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/22/2012
- 10:52 PM Revision e91983b4 (git): * 2012-03-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:52 PM Revision 4725c988 (git): Revert "* configure.in (Makefile): get rid of confliction with -j."
- This reverts commit r35104 because it breaks build on FreeBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:10 PM Bug #6186: Bug trying to compile Ruby 1.9.3p105
- shevegen (markus heiler) wrote:
> (I want to try to get a static version of ruby)
Well, without any flags a ruby consists of following parts:
1. the ruby binary (/usr/local/bin/ruby)
2. the libruby shared object
3. extensi... -
02:55 PM Bug #6186 (Rejected): Bug trying to compile Ruby 1.9.3p105
- shevegen (markus heiler) wrote:
> CFLAGS in use: -static -O2 -g
Do not use -static.
It makes all shared objects linked statically with libc routines.
-
01:23 PM Bug #6186: Bug trying to compile Ruby 1.9.3p105 - >
>Issue #6186 has been reported by shevegen (markus heiler).
>
>----------------------------------------
>Bug #6186: Bug trying to compile Ruby 1.9.3p105
>https://bugs.ruby-lang.org/issues/6186
>
>Author: shevegen (markus... -
01:07 PM Bug #6186: Bug trying to compile Ruby 1.9.3p105
- Sorry that it is so long. Do you need config.log too?
The bug is at:
/Depot/j/ruby-1.9.3p105/.ext/x86_64-linux/enc/encdb.so: [BUG] Segmentation fault
I am not sure what encdb.so is though. :) -
01:05 PM Bug #6186 (Rejected): Bug trying to compile Ruby 1.9.3p105
- Hi!
First my system information:
GCC Version: GCC version 4.4.3
Glibc Version: ldd (GNU libc) 2.11.2
CFLAGS in use: -static -O2 -g
Binutils Version: GNU ld (GNU Binutils) 2.22
I am trying to compile ruby version:
... -
02:14 PM Revision 2b846261 (git): * transcode.c (str_encode_bang, encoded_dup): if nothing was
- transcoded, just set encoding but leave coderange unchanged as
forcee_encoding. [ruby-core:43557][Bug #6190]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:05 PM Revision 7cbff3b9 (git): * io.c (static int io_fflush): add the definition.
- Use it in set_binary_mode_with_seek_cur().
* io.c (set_binary_mode_with_seek_cur): refactoring to split the
content into io_unread(). Fix the possibility of buffer overflow.
* io.c (io_unread): add new implementation for Windows. Pre... -
01:43 PM Bug #6094 (Closed): [OpenSSL] wrong argument of rsa_generate()
- This issue was solved with changeset r35102.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl_pkey_rsa.c (rsa_generate): fix argument t... -
11:47 AM Revision 3d22e33a (git): * include/ruby/win32.h (fstati64): fix macro conflicts.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:37 AM Feature #6177: array.cのrb_ary_equal()の高速化
- Nobuyoshi Nakada wrote:
>最も大きいのはrb_ary_elt()呼び出しのオーバーヘッドということのようですね。
そのようです。
> ...
おっしゃる通りです…
凡ミスをやらかしてしまいました。
p1,p2が有効であるかどうかのチェックを止め、rb_equal()を呼び出したら有効なポインタを取得するようにしました。
ベンチマークの結果はpatch3.diffとほとんど変わりません。 -
10:55 AM Revision ff075693 (git): * win32/win32.c (rb_w32_fstat, rb_w32_fstati64): convert FILETIME
- to time_t directly, not to be affected by TZ unnecessarily.
* win32/win32.c (unixtime_to_filetime): convert time_t to FILETIME
simply.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:37 AM Revision 0b83d3b2 (git): * test/ruby/test_m17n.rb (test_env): show failed values.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:37 AM Revision d28c1896 (git): * regint.h (BITS_IN_ROOM, BS_ROOM, BS_BIT): suppress warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:22 AM Feature #5097 (Closed): Supported platforms of Ruby 1.9.3
-
09:22 AM Bug #5094 (Closed): Supported platforms of Ruby 1.9.3
-
09:21 AM Bug #6144 (Closed): regexec may allocate extra memory?
-
09:20 AM Bug #6145 (Closed): two possible bugs in Onigmo
-
09:20 AM Bug #6143 (Closed): Onigmo allows broken regexp: /(?(x.)/
-
08:07 AM Bug #6184: [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
- Also, please include crash report from ~/Library/Logs/CrashReporter or /Library/Logs/CrashReporter.
I suspect this is a similar bug to #6181 which include a CrashReporter log. -
07:25 AM Bug #6184: [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
- Ah, also you can install openssl using rvm.
http://beginrescueend.com/packages/openssl/
:) -
07:23 AM Bug #6184 (Feedback): [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
-
07:04 AM Bug #6184: [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
- Seems openssl is something wrong.
1. If you're using OS X's default openssl -> do like `brew install openssl` and build with installed openssl, then try again.
2. If you're using openssl that installed by user -> build with OS X defa... -
06:51 AM Bug #6184 (Third Party's Issue): [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
- System:
OSX 10.7.3
Xcode 4.3.1
rvm 1.10.2
bundle 1.1.2
$ ruby -v
ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
I did:
CODE
---------------------------------------
$ rvm ruby-1.9.3-head
$ rvm g... -
07:32 AM Feature #6180: to_b for converting objects to a boolean value
- I too would very much like to see a #to_bool method on every object.
In my opinion, if you define a public API, you should be as strict as possible about what each method returns, so that your users can rely on it, but also to minimiz... -
06:04 AM Revision 9accaad5 (git): * configure.in (Makefile): add missing test.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:59 AM Revision cd71db0a (git): * configure.in (Makefile): check with svn info, since svn 1.7 doesn't
- have .svn under descendent directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:59 AM Revision 11c57111 (git): * configure.in (Makefile): get rid of confliction with -j.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:57 AM Revision 3417dd28 (git): TRY_LINK needs EXEEXT
- * lib/mkmf.rb (TRY_LINK): need EXEEXT for cross-compiling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:43 AM Revision 39113275 (git): * ext/openssl/ossl_pkey_rsa.c (rsa_generate): fix argument type.
- [Bug #6094]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:17 AM Revision 24513fe2 (git): workaround for mingw
- * lib/mkmf.rb (try_link0, try_compile, try_cpp): check if the target
file get created actually. workaround for the case that the exit
status of a cygwin program seems lost on mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk... -
02:17 AM Revision b1bdada1 (git): remove conftest files
- * lib/mkmf.rb (try_constant): remove conftest files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:14 AM Revision 99594056 (git): * 2012-03-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:14 AM Revision caf627af (git): * test/ruby/test_io.rb (TestIO#test_pos_with_getc): updated.
- see [ruby-core:43550]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/21/2012
-
11:35 PM Feature #6183 (Rejected): Enumerator::Lazy performance issue
- Hello,
Enumerator::Lazy is not a silver bullet; it removes the overhead for
creating an intermediate array, but brings the drawback for calling
a block. Unfortunately, the latter is much bigger than the former.
Thus, in general, L... -
11:33 PM Feature #6183: Enumerator::Lazy performance issue
- Granted that seems like a bit too much overhead, but the advantage to lazy is not in a 1-to-1 comparison with non-lazy. Try removing the `.each` call at the end and adding `.take(10)` instead.
-
10:24 PM Feature #6183 (Closed): Enumerator::Lazy performance issue
- I benchmarked Enumerator::Lazy and that's what I got:
user system total real
Lazy: 0.690000 0.010000 0.700000 ( 0.733160)
Normal: 0.160000 0.010000 0.170000 ( 0.186695)
It seem... -
09:13 PM Feature #3479: Array#binary_find et al
- Hello,
2012/3/18, nahi <nakahiro@gmail.com>:
> Endoh-san, how do you think?
Thank you for reminding this.
I think this is a duplicate (or a subset) of #4766 which is accepted by matz.
So I'm going to commit my patch within a rea... -
08:15 PM Feature #2065 (Rejected): An ancestors iterator
- Hello,
I'm not keen to import this feature.
I'm closing the ticket. Please reopen it if you find a piece of
code in the wild whose bottleneck is solved by #each_ancestor.
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:53 PM Feature #3908: private constant
- Hello,
2012/3/18, Hiroshi Nakamura <nakahiro@gmail.com>:
> Closing as implemented at 1.9.3.
Thanks.
When I think about it now, 2.0.0 were enough for
this feature. No one thought 2.0.0 would become
close to reality ... -
07:53 PM Feature #6180: to_b for converting objects to a boolean value
- On 21/03/12 01:44, trans (Thomas Sawyer) wrote:
>
> Issue #6180 has been updated by trans (Thomas Sawyer).
>
>
> Also, what you are asking for should probably be called #to_bool.
>
> Where as #to_b can have a broader, and ... -
03:53 PM Feature #6180: to_b for converting objects to a boolean value
- drbrain (Eric Hodel) wrote:
> Issue #6180 has been updated by drbrain (Eric Hodel).
>
> Why do you need to convert objects to boolean values?
1. To avoid breaking encapsulation. For example:
def connected?
!! @... -
11:40 AM Feature #6180: to_b for converting objects to a boolean value
- =begin
If you're testing that a method returns exactly true and not a true value you're probably being over-specific in your tests. An assertion that a method returns a true value and not exactly true will allow the tests to be used un... -
11:32 AM Feature #6180: to_b for converting objects to a boolean value
- The only problem with that is that Ruby defines #nil? which is a strict check for NilClass instance. Hence #true? and #false? make more sense doing the same for TrueClass and FalseClass.
-
11:26 AM Feature #6180: to_b for converting objects to a boolean value
- @drbrain - Very true but it is nice to be consistent with return values. It makes testing a little easier and fits a little better with the principle of least surprise.
@hasari - to_s could easily be string or symbol. It doesn't seem ... -
10:44 AM Feature #6180: to_b for converting objects to a boolean value
- Also, what you are asking for should probably be called #to_bool.
Where as #to_b can have a broader, and generally more useful definition, e.g.
"true".to_b #=> true
"yes".to_b #=> true
"on".to_b #=> true
1.to_b ... -
10:40 AM Feature #6180: to_b for converting objects to a boolean value
- Also, to_b is ambiguous. 'b' can stand for "bits", "bytes", "binary", just to name a few.
-
10:15 AM Feature #6180: to_b for converting objects to a boolean value
- It is even shorter if you just omit the !! or the to_b altogether:
$ ruby20 -e'puts RubyVM::InstructionSequence.compile(%[foo]).disasm'
== disasm: <RubyVM::InstructionSequence:<compiled>@<compiled>>==========
0000 trace 1... -
10:13 AM Feature #6180: to_b for converting objects to a boolean value
- I think that "to_b" is more clear and fits well with the other to_*. Using "!!" isn't the most obvious choice for people looking to create a boolean. I am a bit disheartened to find out that it's slower.
-
09:46 AM Feature #6180: to_b for converting objects to a boolean value
- BasicObject#! is optimized by YARV as following:
% ruby -e'puts RubyVM::InstructionSequence.compile(%[!!foo]).disasm'
== disasm: <RubyVM::InstructionSequence:<compiled>@<compiled>>==========
0000 trace 1 ... -
09:16 AM Feature #6180: to_b for converting objects to a boolean value
- Typically this comes up when you have a method ending in a question mark to indicate a boolean return value.
def foo?
!!@foo
end
def has_vowel?
!!(value =~ /[aeiou]/)
end -
08:09 AM Feature #6180: to_b for converting objects to a boolean value
- Why do you need to convert objects to boolean values?
-
06:51 AM Feature #6180 (Rejected): to_b for converting objects to a boolean value
- When a boolean return value is required it has become common practice is to use "!!" to convert the object. It would be more consistent to provide a "to_b" method on Object.
-
05:57 PM Bug #6099 (Closed): [BUG] probable buffer overflow
-
05:05 PM Bug #6182: ruby crashed with trace inof below !(Ruby interpreter or extension libraries)
- Could you try it with trunk/1.9.3?
-
04:57 PM Bug #6182 (Feedback): ruby crashed with trace inof below !(Ruby interpreter or extension libraries)
- Can you show us how we can see that output on our machine?
-
03:20 PM Bug #6182 (Closed): ruby crashed with trace inof below !(Ruby interpreter or extension libraries)
- /home/bourne/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/timeout.rb:75: [BUG] rb_register_sigaltstack. malloc error
ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]
-- control frame ----------
c:0006 p:---- s:0024 b:0024 l:0... -
12:58 PM Bug #6181: Ruby crash when trying to send a mail (tls/gmail)
- The crash is during X509 certificate verification.
-
12:28 PM Bug #6181 (Third Party's Issue): Ruby crash when trying to send a mail (tls/gmail)
- The following code made ruby crash:
require 'net/smtp'
smtp = Net::SMTP.new 'smtp.gmail.com', 587
smtp.enable_starttls
smtp.start("gmail.com", "***edited***", "***edited***", :login) do
smtp.send_message("hello world!!", "... -
10:53 AM Revision b2cc0976 (git): * regcomp.c: Merge Onigmo 3d855b30d574536d3ae600260208c6624ae4791c.
- [Bug#6143] [Bug#6144] [Bug#6145]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:59 AM Bug #6175: watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault
- michaelcm (Michael McWilliam) wrote:
> Also, I posted it here because the bugreport.html page said to click on the link for ruby 1.9.2 or 1.9.3, but neither were links, so I looked for something that had 9.3 in it, and that was this bac... -
08:53 AM Bug #6155: Enumerable::Lazy#flat_map raises an exception when an element does not respond to #each
- Hello,
Ah, I see. RubySpec defines to_a to assert that it's never called, right?
That makes sense.
2012/03/20 2:27 "marcandre (Marc-Andre Lafortune)" <ruby-core@marc-andre.ca
>:
>
>
> Issue #6155 has been updated by ma... - 08:03 AM Revision 51f41bb8 (git): * 2012-03-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:03 AM Revision af86dba2 (git): * test/ruby/test_io.rb (TestIO#test_pos_with_getc): added.
- see [Bug #6179][ruby-core:43518]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:50 AM Bug #4434: make test-all "-j10000" のように大きな並列数を与えると異常終了
- Too many open files を出してるのがマネージャープロセスなら、しょうがないんじゃない。それはRLIMIT上げればいいんだし。
workerプロセスが出してるなら問題で、それはfdリークを意味してるので -j の数によってテストが変わってしまう可能性があるのでよくないよね。
-
06:27 AM Bug #5973: Bus Error in simple project requiring YARD
- Thanks, I tried with 1.9.3-p125 and the problem does seem to be resolved.
-
01:42 AM Bug #6143: Onigmo allows broken regexp: /(?(x.)/
- OnigmoのRubyマージ作業用ブランチにも修正を反映しました。
https://github.com/k-takata/Onigmo/tree/tmp/ruby-2.0.x -
01:41 AM Bug #6145: two possible bugs in Onigmo
- 1つめは、ENCLOSE_CONDITION で node->target が NULL になることはありません。
チェック無しに node->target をデリファレンスをしているのは、ENCLOSE_STOP_BACKTRACK のケースも同様なので、今回は修正していません。
2つめは修正しました。
https://github.com/k-takata/Onigmo/tree/tmp/ruby-2.0.x -
01:35 AM Bug #6144: regexec may allocate extra memory?
- sizeof(char*)をsizeof(OnigStackIndex)に修正しました。
https://github.com/k-takata/Onigmo/tree/tmp/ruby-2.0.x -
12:23 AM Feature #6177: array.cのrb_ary_equal()の高速化
- Glass_saga (Masaki Matsushita) wrote:
> patchを直し、rb_equal()を実行した後に互いのRARRAY_LENのチェックと
> ...
最も大きいのはrb_ary_elt()呼び出しのオーバーヘッドということのようです
ね。
> >もう一点、&&ではなく||ではないでしょうか。
> ...
たしかに。
> 新しいpatchを添付します。
i != 0 なら常に (p1 != RARRAY_PTR(... -
12:09 AM Feature #3916: Add flag to ruby to make warnings fatal.
- It wouldn't break backward compatibility, but it would take time for libraries to adjust to take the most advantage of it. And yet, any library with active development will likely adjust very quickly.
I would expect existing uses of w...