Activity
From 03/19/2012 to 03/25/2012
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 <[email protected]> -
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) <[email protected]>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) <[email protected]>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)
<[email protected]> 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 <[email protected]>:
> 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 <[email protected]> -
07:53 PM Feature #3908: private constant
- Hello,
2012/3/18, Hiroshi Nakamura <[email protected]>:
> 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)" <[email protected]
>:
>
>
> 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...
03/20/2012
-
11:34 PM Feature #6177: array.cのrb_ary_equal()の高速化
- Nobuyoshi Nakada wrote:
>rb_equal()はメソッドを呼び出すので、その後ではp1,p2が有効である保証がありません。
patchを直し、rb_equal()を実行した後に互いのRARRAY_LENのチェックと
p1, p2の有効性のチェック、無効であれば有効なポインタを得る処理を入れました。
rb_ary_elt()を使えば簡潔に書けるのですが、以下のように遅くなってしまいました。
user syst... -
10:00 PM Feature #6177: array.cのrb_ary_equal()の高速化
- =begin
もう一点、(({&&}))ではなく(({||}))ではないでしょうか。
=end
-
09:58 PM Feature #6177: array.cのrb_ary_equal()の高速化
- =begin
(({rb_equal()}))はメソッドを呼び出すので、その後では(({p1})),(({p2}))が有効である保証がありません。
=end
-
08:29 PM Feature #6177: array.cのrb_ary_equal()の高速化
- Nobuyoshi Nakada wrote:
>先頭だけではなく、同一オブジェクトかどうかを常に先に調べるようにするとどうなるでしょうか。
最初の要素だけobject_idに依らない同値性の判定が必要なケース(先に添付したpatch.diffを適用したrubyにとって最悪のケース)を加えてベンチマークを取りました。
patch1は先に添付したpatch.diffを適用したもので、patch2は同一オブジェクトかどうかを常に先に調べるようにしたものです。
... -
06:13 PM Feature #6177: array.cのrb_ary_equal()の高速化
- =begin
先頭だけではなく、同一オブジェクトかどうかを常に先に調べるようにするとどうなるでしょうか。
=end
-
12:08 PM Feature #6177 (Closed): array.cのrb_ary_equal()の高速化
- できる限りVALUEの値の比較のみに留め、必要になったらrb_equal()を用いるという方針でrb_ary_equal()の高速化を試みました。
次のベンチマークを行ったところ、以下のような結果となりました。
require 'benchmark'
A = Array.new(100_0000){|n| n }
B = Array.new(1_0000){|n| n.to_s }
C = Array.new(1_0000){|n| n.to_s }
... -
11:34 PM Feature #3773: Module#parent
- I will eventually try again. I don't really understand having #name, but not being able to get the actual constant named by #name.
-
09:51 PM Feature #4523 (Rejected): Kernel#require to return the path of the loaded file
-
07:29 PM Feature #4523: Kernel#require to return the path of the loaded file
- On 19/03/12 23:24, Eric Hodel wrote:
> On Mar 19, 2012, at 10:16 AM, Alex Young wrote:
>> On 19/03/12 11:58, Luis Lavena wrote:
<snip>
>>> $LOADED_FEATURES include full paths
>>
>> Does it? Is that now part of the spec?
>... -
08:29 AM Feature #4523: Kernel#require to return the path of the loaded file
- On Mar 19, 2012, at 10:16 AM, Alex Young wrote:
> On 19/03/12 11:58, Luis Lavena wrote:
>> On Mon, Mar 19, 2012 at 8:06 AM, Alex Young<[email protected]> wrote:
>>> On 18/03/12 10:22, nobu wrote:
>>>>
>>>>
>>>> Issue #4523 h... -
02:23 AM Feature #4523: Kernel#require to return the path of the loaded file
- On 19/03/12 11:58, Luis Lavena wrote:
> On Mon, Mar 19, 2012 at 8:06 AM, Alex Young<[email protected]> wrote:
>> On 18/03/12 10:22, nobu wrote:
>>>
>>>
>>> Issue #4523 has been updated by nobu.
>>>
>>>
>>> I don't th... -
03:20 PM Bug #6131: Ctrl-C handler do not work from exec process (Windows)
- h.shirosaki (Hiroshi Shirosaki) wrote:
> Specify options:
> ...
Silly option. Should be 'new_process_group: true' or similar, at least.
> Python module does similar things.
> ...
Sigh. - 01:55 PM Revision 905eb21d (git): * 2012-03-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:54 PM Revision 1e42030f (git): test_thread: test_condvar_wait_not_owner duplicates test_condvar_nolock
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:52 PM Feature #3916: Add flag to ruby to make warnings fatal.
- There are no priorities for warnings at present, so any code using warnings would need to be updated to take advantage of the feature, breaking backwards compatibility.
Existing uses of #warn could be set as "lowest priority" which ma... -
10:48 AM Feature #3916: Add flag to ruby to make warnings fatal.
- @drbrain Wouldn't using priorities and setting such a warning to a very low priority solve this?
-
07:40 AM Feature #3916: Add flag to ruby to make warnings fatal.
- Sometimes when I use Kernel#warn in my code it is a message the user may not be able to do anything about, such as a deprecation message in library "a" that is used in library "b" that has not yet been updated, but the user wishes to use...
-
11:28 AM Bug #6099: [BUG] probable buffer overflow
- Yui NARUSE wrote:
>IO#readpartial は
> ...
IO#readpartialも場合によってはblockする事があるんですね。
勉強になりました。 -
09:46 AM Feature #6176: Allow Enumerable#flatten to take a block
- > I think #flat_map makes more sense than #flatten accepting a block. It's unclear to me what #flatten would do with the block based on the name alone.
I never felt that this is a good kind of argument per-se. For instance, at first I... -
07:38 AM Feature #6176: Allow Enumerable#flatten to take a block
- I think #flat_map makes more sense than #flatten accepting a block. It's unclear to me what #flatten would do with the block based on the name alone.
Also, there is no Enumerable#flatten -
12:31 AM Feature #6176 (Rejected): Allow Enumerable#flatten to take a block
- I see a new method `#flat_map` has been added to Enumerable. Yet passing a block to #flatten has no use. That seems a waste, as it adds yet another method to remember when one we already know can do the job and makes sense.
-
08:37 AM Feature #3575: String#split is inconsistent with empty string and negative limit
- I will add a note to the documentation to cover the behavior of empty strings.
-
08:26 AM Bug #6089: Test suite fails with OpenSSL 1.0.1
- > Hi Martin,
> ...
Hi Bohuslav, hi Vit,
thanks for the info. OK, if the problem remains, I'll look into it now that 1.0.1 is released. The problem with DSS1 and RSA is probably that DSS1 was defined in combination with DSA signatures. S... -
05:31 AM Bug #4421: [ext/openssl] Fix RSA public key encoding
- MartinBosslet (Martin Bosslet) wrote:
> [...] and you need the latter instead of the former, let me know, I could also provide a code sample for that case.
Martin, I'd appreciate an example for the latter, yes, thanks in advance. In ... -
04:54 AM Bug #6175: watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault
- michaelcm (Michael McWilliam) wrote:
> Re: win32console, it is used by the ansi 1.4.2 gem, is that also no longer being maintained?
ansi gem do not directly depend on win32console, but you use to support ANSI colors on Windows.
Pl... -
04:43 AM Bug #6175: watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault
- Re: win32console, it is used by the ansi 1.4.2 gem, is that also no longer being maintained?
-
04:08 AM Bug #6175: watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault
- 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 backport.
http://www.ruby-lang.org/bugre... -
04:00 AM Bug #6175: watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault
This is the minimum snapshot of code:
require 'watir'
begin
browser = Watir::Browser.attach( :url, /someUrl/i )
rescue
browser = Watir::Browser.start 'http://someUrl'
end
Line 87 in Session.rb that is the last line of ...-
12:48 AM Bug #6175 (Feedback): watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault
- Hello,
Please don't report issues on the backports projects. Use ruby-trunk instead.
Now, if you can provide code to reproduce the issue we all will appreciate it, reproducibility is the key.
I also see you have win32console gem... -
12:23 AM Bug #6175 (Rejected): watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault
- See attached log. Occurs about 5% of the time. Not sure why. Running script again immediately avoids the issue.
C:/pslibs/extlib/tools/ruby/1.9.3/lib/ruby/gems/1.9.1/gems/watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault... -
02:27 AM Bug #6155: Enumerable::Lazy#flat_map raises an exception when an element does not respond to #each
- Hi,
shugo (Shugo Maeda) wrote:
> Why the last example defines to_a? flat_map doesn't call to_a, but to_ary.
I think it's to spec that it doesn't call `to_a`.
-
02:11 AM Feature #2322 (Rejected): [PATCH] Add standard deviation function to Math Module
- Why do we need to specially treat the 2nd central moment, that is standard deviation, than the other nth moment, such as skewness (3rd) and kurtosis (4th)?
You can use NArray for that reason. See http://narray.rubyforge.org/index.html.en
03/19/2012
-
11:39 PM Bug #6131: Ctrl-C handler do not work from exec process (Windows)
- How about removing CREATE_NEW_PROCESS_GROUP flag by default and providing a way to specify CREATE_NEW_PROCESS_GROUP flag by spawn methods's arguments?
Ruby user can specify CREATE_NEW_PROCESS_GROUP flag if it's needed.
spawn method h... -
06:27 PM Bug #6131: Ctrl-C handler do not work from exec process (Windows)
- r34389 (not 34387) is the revision.
Shirosaki-san, how do you think about this? -
06:08 PM Bug #6131: Ctrl-C handler do not work from exec process (Windows)
- As you may know, this bug is due to the Revision r34387.
If the CREATE_NEW_PROCESS_GROUP flag is specified in a call to the CreateProcess function, CTRL+C signal is disabled for all processes within the new process group.
I think r... -
09:07 PM Feature #4551: uri.set_scheme should downcase schemes
- I agree with this.
Please commit it. -
09:07 PM
Bug #6089: Test suite fails with OpenSSL 1.0.1
- Also, this new OpenSSL is breaking the drb test suite:
$ make test-all TESTS="test/drb/test_drbssl.rb"
/builddir/build/BUILD/ruby-1.9.3-p125/lib/drb/ssl.rb:185: warning: SSL_accept returned=1 errno=0 state=SSLv3 write key exchange A: E... -
08:20 PM
Bug #6089: Test suite fails with OpenSSL 1.0.1
- Hi Martin,
so OpenSSL v 1.0.1 is now public [1] and the problem seems to stay. I myself am not SSL expert, but why exactly should signing DSS1 with RSA2048 be a mismatch? I think that it's actually the right behaviour that it doesn't.
... -
08:59 PM Feature #4523: Kernel#require to return the path of the loaded file
- On Mon, Mar 19, 2012 at 8:06 AM, Alex Young <[email protected]> wrote:
> On 18/03/12 10:22, nobu wrote:
>>
>>
>> Issue #4523 has been updated by nobu.
>>
>>
>> I don't think it's useful if it may return false.
>
>
> On the ... -
08:23 PM Feature #4523: Kernel#require to return the path of the loaded file
- On 18/03/12 10:22, nobu wrote:
>
> Issue #4523 has been updated by nobu.
>
>
> I don't think it's useful if it may return false.
On the contrary - if it returns false, you know the set of loaded files
hasn't changed. ... -
03:30 AM Feature #4523: Kernel#require to return the path of the loaded file
- No, b/c that's not running in the process and at the point in code which is in question.
-
03:22 AM Feature #4523: Kernel#require to return the path of the loaded file
- If you have two files with the same name isn't `gem which --all` enough to discover the collision?
-
02:09 AM Feature #4523: Kernel#require to return the path of the loaded file
- I haven't worked on the project where such comes into play in a few months, so I can only recollect the obvious usecase at the moment -- When debugging a problem were you suspect the wrong file is being required. Then this could be very ...
-
07:29 PM Feature #1122: request for: Object#try
- On 15/03/12 15:26, Thomas Sawyer wrote:
>
> Issue #1122 has been updated by Thomas Sawyer.
>
>
> How about just `respond` ?
>
> foo.respond(:bar)
>
> And really, there's no reason it can't support delegation style... -
05:22 PM Bug #6155 (Closed): Enumerable::Lazy#flat_map raises an exception when an element does not respond to #each
- This issue was solved with changeset r35092.
Dan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enumerator.c (lazy_flat_map_func): convert the block value to
... -
04:57 PM Bug #6155: Enumerable::Lazy#flat_map raises an exception when an element does not respond to #each
- I'll fix lazy flat_map respecting Matz's opinion, but let me clarify one point.
dkubb (Dan Kubb) wrote:
> > > [1, 2, 3].flat_map { |n| n }.to_a
> ...
Why the last example defines to_a? flat_map doesn't call to_a, but to_ary.
... -
03:41 PM Bug #6158 (Closed): Enumerator::Lazy#take: should it be lazy?
- This issue was solved with changeset r35090.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enumerator.c (enumerable_lazy): add an example of take and fi... -
09:26 AM Feature #6173: re.cのrb_memsearch()におけるmemchr()の利用
- optflags='-O0 -g'を付けてビルドしたtrunkを使っていたので、ベンチマークでproposalが不当に有利でした。
optflagsを外してビルドした上でベンチマークを取り直したところ、以下の結果となりました。
trunk(r35087):
user system total real
0.000000 0.000000 0.000000 ( 0.000049)
proposal... -
12:10 AM Feature #6173: re.cのrb_memsearch()におけるmemchr()の利用
- 特に添字を使う意味もなかったのでpatchを修正しました。
-
08:22 AM Revision ded27bf5 (git): * enumerator.c (lazy_flat_map_func): convert the block value to
- Array if it doesn't respond to each. [ruby-core:43334]
[Bug #6155]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:01 AM Feature #4102 (Rejected): Proposal for 'let'. A new approach using block-defaults in 1.9
- The definition of let would be: "def let() yield; end"; I don't think it's worth to add.
Matz. -
07:39 AM Revision 592a629b (git): * enum.c (zip_i): variadic argument needs explicit cast on the
- platforms where VALUE is longer than int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:41 AM Revision 831898bd (git): * enumerator.c (enumerable_lazy): add an example of take and first
- to the documentation. [ruby-core:43344] [Bug #6158]
add the description of the behavior when a block is given to zip
or cycle.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:20 AM Revision 0d1c2268 (git): * compile.c (iseq_specialized_instruction): DRY and replace chain
- of if-else with switch for special instructions. based on a
patch by Vasfed. https://github.com/ruby/ruby/pull/105
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:08 AM Revision d4f0f284 (git): * test/test_pty.rb: same as r29280, skip tests when PTY allocation
- failed (that's not our fault).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:46 AM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
- Related issue (but about plain ruby realization)
https://bugs.ruby-lang.org/issues/6174 -
12:41 AM Bug #6174: Fix collision of ConditionVariable#wait timeout and #signal (+ other cosmetic changes)
- > and native method could not be interrupted (unless it will)
Sorry, it should be read as "(unless it wish)" -
12:40 AM Bug #6174 (Rejected): Fix collision of ConditionVariable#wait timeout and #signal (+ other cosmetic changes)
- 1. Currently, when Thread wakes on timeout, it could not remove itself from ConditionVariable waiters until it acquires lock.
So that, when ConditionVariable#signal is called, it will try to wakeup
such thread, instead of some one else... -
12:23 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
- Charles, do you create a patch to introduce 4 constants (+2 for
EWOULDBLOCK) ? We discussed this issue today and we concluded that
that's better than anonymous class caching (to avoid Marshalling
issue.)
I think I can take c...