Activity
From 12/04/2010 to 12/10/2010
12/10/2010
-
11:50 PM Bug #4143: warning: "SUPPORT_JOKE" is not defined
- =begin
2010年12月10日22:38 Kazuhiro NISHIYAMA <redmine@ruby-lang.org>:
> チケット #4143 が更新されました。 (by Kazuhiro NISHIYAMA)
>
> ステータス ClosedからOpenに変更
>
> 説明に書いたように警告が出るのはちゃんと vm_opts.h の定義が反映されていないからなので、無視するだけだと、 vm_opts.h で
>
> #define S... -
10:37 PM Bug #4143 (Open): warning: "SUPPORT_JOKE" is not defined
- =begin
説明に書いたように警告が出るのはちゃんと vm_opts.h の定義が反映されていないからなので、無視するだけだと、 vm_opts.h で
#define SUPPORT_JOKE 1
にしたときに SUPPORT_JOKE が有効な状態でコンパイルされるファイルと無効な状態でコンパイルされるファイル (がほとんど) があってまずいです。
=end
-
08:07 PM Bug #4143 (Closed): warning: "SUPPORT_JOKE" is not defined
- =begin
This issue was solved with changeset r30165.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
11:18 AM Bug #4143 (Closed): warning: "SUPPORT_JOKE" is not defined
- =begin
chkbuild で以前から
id.h:110:5: warning: "SUPPORT_JOKE" is not defined
id.h:116:5: warning: "SUPPORT_JOKE" is not defined
という警告が出ているのですが、id.h で「#if SUPPORT_JOKE」として参照しているのに
SUPPORT_JOKE を #define している vm_opts.h を include せずに i... -
11:40 PM Feature #3647: Array#sample(n, replace=false)
- `Array#sample`の提案が出ていて思い出しました。
これはどうなってるんでしたっけ?
>`replace` の指定を、オプショナルなハッシュを経由して行うように patch を変更しました。
> ...
オプショナルなハッシュ経由は名前を覚えなければならないという点で反対したいです。
サンプリングで再抽選(復元抽出?)するかどうかはかなり基本的な話だと思うので、
オプションをつけること自体は賛成します。
-
11:13 PM Revision 6c7608c0 (git): Document RSA, RSA encryption/decryption and PKCS #5 encryption/decryption
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:00 PM Feature #4147: Array#sample で重みを指定したい
- =begin
すみません、入れ違いでした。
=end
-
10:58 PM Feature #4147: Array#sample で重みを指定したい
- メソッドの引数を考慮しない簡易的なコードでよろしければ。
```ruby
class Array
alias :org_sample :sample
def sample
if block_given?
prob_map = collect {|v| yield(v) }
rn = rand * prob_map.inject(0) {|r, v| r += v }
prob_map.each_with_index ... -
10:47 PM Feature #4147: Array#sample で重みを指定したい
- ミスがあったので訂正。
```ruby
# -- テスト
def a
[1,2,3].sample { |v| v*100 }
end
def b
[1,2,3].sample { |v| v }
end
ary = 100.times.map{a}
bry = 100.times.map{b}
result_a = {}
ary.each do |i|
result_a[i] ||= 0
result_a[i] += 1
end
resul... -
10:45 PM Feature #4147: Array#sample で重みを指定したい
- Rubyで実装してみました。あまりコストとか速度は気にしていないので速度は気にせず。
```ruby
class Array
def sample(n=1)
if block_given?
self.size.times.map do |i|
Array.new(yield(self[i]), self[i])
end.flatten.sample(n)
else
n == 1 ? self[ra... -
10:22 PM Feature #4147 (Feedback): Array#sample で重みを指定したい
- =begin
実装のたたき台があるとなおよいかとおもいます。
まずRubyで同等の処理をするコードを書いてみるというのはどうでしょう。
妥当であれば、取り込まれたり、あるいは高速化のためにCで書きなおされたりするかもしれません。
=end
-
10:06 PM Feature #4147 (Feedback): Array#sample で重みを指定したい
- =begin
Array#sample にブロックを渡したとき、ブロックの戻り値を要素の重みとして使用するのはいかがでしょうか。
下記のサンプルで、"大吉" が "凶" の 1000 倍の確率で選択されるようにしたいです。
omikuji_box = [
{:name => "大吉", :weight => 1000},
{:name => "中吉", :weight => 100},
{:name => "小吉", :w... -
09:26 PM Revision 62e2f905 (git): Include Comparable in OpenSSL::X509::Name, document #<=>
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:02 PM Revision f79d54ea (git): * 2010-12-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@30172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:02 PM Revision 31168874 (git): * ext/tk/lib/multi-tk.rb: infinite loop on method_missing at loading.
- (backport from Ruby 1.9).
* ext/tk/lib/multi-tk.rb: when no eventloop is running, ruby freezes at exit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@30171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:01 PM Revision 1bd8a97e (git): add an entry.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:58 PM Revision 30b7855f (git): * ext/tk/lib/multi-tk.rb: infinite loop on method_missing at loading.
- [ruby-dev:42716] [Ruby 1.9-Bug#4129]
* ext/tk/lib/multi-tk.rb: when no eventloop is running, ruby freezes at exit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:02 PM Feature #4146 (Rejected): Improvement of Symbol and Proc
- 現在`Symbol#to_proc`で `%w[12 45 32].map(&:to_i)` のようなことはできますが、
引数を付けてメソッドを呼ぶことはできません。`Symbol`リテラルに引数を付け
たらその引数と共にメソッドを呼ぶ`Proc`を作る構文というのはどうでしょうか。
```ruby
%w[12 45 32].map(&:to_i(9)).map(&:*(2)) #=> [22, 82, 58]
%w[abc def ghi].map(&:... -
06:17 PM Bug #4144 (Closed): check_signedness("size_t")
- =begin
This issue was solved with changeset r30160.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
11:26 AM Bug #4144 (Closed): check_signedness("size_t")
- =begin
ext/iconv で
.../ext/iconv/iconv.c:481:5: warning: "SIGNEDNESS_OF_SIZE_T" is not defined
という警告が出ていたので調べてみたところ、 check_signedness がおかしいようです。
% ruby-trunk -v -r mkmf -e 'check_signedness("size_t")'
ruby 1.9.3dev (2010-1... -
06:15 PM Feature #4145: The result of UTF-16 encoded string concatenation
- =begin
We should try to get a better overall idea of what "UTF-16" and so on
are for. I asked some questions at the very end of [ruby-core:33461].
Yui, can you try to give answers? I hope this will help having a general
discussion... -
06:14 PM Feature #4145: The result of UTF-16 encoded string concatenation
- =begin
We should try to get a better overall idea of what "UTF-16" and so on
are for. I asked some questions at the very end of [ruby-core:33461].
Yui, can you try to give answers? I hope this will help having a general
discussion... -
02:53 PM Feature #4145 (Assigned): The result of UTF-16 encoded string concatenation
- =begin
Strings encoded in UTF-16 don't support concatenation.
Use UTF-16BE or UTF-16LE for processing.
I'm considering to warn concatenation of strings encoded in dummy encoding.
=end
-
01:59 PM Feature #4145 (Closed): The result of UTF-16 encoded string concatenation
- =begin
C:\work>irb
irb(main):001:0> a = 'abc'.encode('UTF-16')
=> "\uFEFFabc"
irb(main):002:0> b = a + a
=> "\uFEFFabc\uFEFFabc"
irb(main):003:0> c = b.encode('UTF-8')
=> "abc\uFEFFabc"
irb(main):004:0> d = b.encode('US-AS... - 05:24 PM Revision c3752248 (git): * 2010-12-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:24 PM Revision f6b49243 (git): * ext/openssl/extconf.rb: try pkgconfig first, then fall back to
- normal have_library, etc. Thanks Erik Hollensbe. [ruby-core:32406]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:34 PM Revision e14a0042 (git): * dln_find.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:05 AM Revision a18a4811 (git): * template/id.h.tmpl (ruby_method_ids): suppress warnings.
- [ruby-dev:42730]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:47 AM Bug #4133 (Closed): Unexpected result of Time#strftime("%s") on Windows with trunk
- =begin
This issue was solved with changeset r30156.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
10:27 AM Feature #4071 (Closed): support basic auth for Net::HTTP.get requests
- =begin
This issue was solved with changeset r30155.
coderrr, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
09:29 AM Revision 1a4bf594 (git): * ruby.c (ruby_init_loadpath_safe): relatively called non-shared
- binary cannot be found in PATH, so use given pathname.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:28 AM Revision f5aca8a4 (git): * cygwin/GNUmakefile.in (SCRIPTPROGRAMS): ignore backup files and etc.
- * cygwin/GNUmakefile.in (scriptbin): set executable bit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:27 AM Revision 31a974df (git): * tool/rbinstall.rb (install_recursive): always skip default ignored
- files. if block is given, call it instead of calling install.
* tool/rbinstall.rb (bin-comm): use install_recursive.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:17 AM Feature #4142 (Closed): multipart/form-data for net/http
- =begin
multipart/form-data 対応を net/http に入れませんか。
追加される API は Net::HTTPRequest#set_form になります。
akr さんからは multipart/form-data 用のデータを出力する API 案も示唆されたのですが、
chunked encoding を考慮に入れるとうまくまとまらなかったので見送っています。
diff --git a/lib/net/h... -
09:12 AM Revision 61d197a6 (git): * test/mkmf/base.rb (TestMkmf#config_value): extract macro value from
- config.h.
* test/mkmf/test_sizeof.rb (TestMkmf::TestSizeof#test_sizeof_builtin),
(TestMkmf::TestSizeof#test_sizeof_struct): more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:11 AM Revision 30e0f51a (git): * lib/mkmf.rb (check_signedness): should use the prelude code.
- [ruby-dev:42731]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:11 AM Revision b38cc52c (git): * lib/mkmf.rb (Logging.log_close): separate from Logging.logfile.
- * test/mkmf/base.rb (TestMkmf::MKMFLOG): show mkmf.log at failures.
* test/mkmf/base.rb (TestMkmf#teardown): close log file for each tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:01 AM Bug #4141 (Closed): Tk extension is not accepting any type of parameter combination
- =begin
Hello,
As part of RubyInstaller team, we want to include tk extension in the next release. For that purpose, we built both tcl and tk 8.5.9 and made bin, includes and lib directories available using the standard GCC variabl... -
04:49 AM Bug #3834: ext/openssl fails to build in certain scenarios due to misordered pkg-config check
- =begin
Sorry, forgot to mention.
It needs to be:
result = pkg_config("openssl") && have_header("openssl/ssl.h")
As we don't want consider all the libraries found just because it found oepnssl/ssl.h header file. Correct?
=... -
04:47 AM Bug #3834: ext/openssl fails to build in certain scenarios due to misordered pkg-config check
- =begin
Hello,
RubyInstaller do not bundle pkg-config, so that part will fail and will check for crypto libeay32 and ssl ssleay32 as usual.
I just checked and compiles fine, following are the snip of mkmf.log that matters:
... -
04:05 AM Bug #3834: ext/openssl fails to build in certain scenarios due to misordered pkg-config check
- =begin
This patch seems good to me, but I'm not sure how pkg_config will behave on windows builds.
Luis, can you comment on this?
=end
-
04:06 AM Feature #3793: No test for OpenSSL::PKCS12
- =begin
I will add some tests.
=end
-
04:01 AM Feature #3846 (Closed): ext/openssl: choose the OpenSSL::Digest class for OpenSSL::OCSP::CertificateId
- =begin
=end
-
03:59 AM Bug #3862: Bugs in the OpenSSL extension on sparc64
- =begin
=end
-
03:58 AM Feature #3916: Add flag to ruby to make warnings fatal.
- =begin
I'm not sure this is necessary. For example, sprintf() will raise an exception if in debug mode:
irb(main):001:0> $-w = true
=> true
irb(main):002:0> "foo" % 10
(irb):2: warning: too many arguments for format string
... -
03:53 AM Bug #4030: ext/openssl OpenSSL::ASN1::decode / to_der
- =begin
=end
-
02:26 AM Bug #4030: ext/openssl OpenSSL::ASN1::decode / to_der
- =begin
I've reviewed this patch. It seems fine except for one thing, OpenSSL::ASN1::EndOfContent#initialize is defined with -1, but then ignores the argv and argc. Can we just make the initialize 0 argument?
I haven't tried apply... -
03:52 AM Feature #4116: OpenSSL::X509::Name provides <=> but not ==
- =begin
The patch looks good to me. Can you apply?
=end
-
03:50 AM Bug #4122: test_x509store.rbのtest_set_errorsが失敗する
- =begin
=end
-
02:42 AM Revision fe1f0df9 (git): remove a comma at end of enumerator list.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:27 AM Bug #4033 (Closed): Segmentation fault : ext/openssl:OpenSSL::X509::StoreContext#cleanup - =begin
This issue was solved with changeset r30152.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
01:50 AM Revision 9ea7e27d (git): * sprintf.c (_HAVE_SANE_QUAD_): Don't forget LP64, r30156.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:41 AM Revision 450680a5 (git): * sprintf.c (_HAVE_SANE_QUAD_): if a certain platform has LONG_LONG in
- 8 byte, it might be sane quad. [ruby-core:33634]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:21 AM Revision d10fab31 (git): Add doc to warn the userinfo for auth. [ruby-core:33255]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:08 AM Revision c37ca966 (git): * lib/net/http.rb: remove version 1.1 features.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/09/2010
-
08:17 PM Bug #4137 (Closed): Test Failure because of assigned but unused variable: ruby/test_rubyoptions.rb
- =begin
This issue was solved with changeset r30151.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
03:50 AM Bug #4137 (Closed): Test Failure because of assigned but unused variable: ruby/test_rubyoptions.rb
- =begin
test-all が以下のように失敗します
3) Failure:
test_shadowing_variable(TestRubyOptions) [/home/naruse/ruby/test/ruby/test_rubyoptions.rb:462]:
[ruby-dev:42718].
<["-e:3: warning: shadowing outer local variable - a"]> expected but... -
07:16 PM Bug #4136: Enumerable#reject should not inherit the receiver's instance variables
- =begin
I have attempted to codify this new behaviour in RubySpec in https://github.com/rubyspec/rubyspec/pull/31 and would appreciate any feedback.
=end
-
04:30 PM Bug #4136: Enumerable#reject should not inherit the receiver's instance variables
- =begin
On Dec 8, 2010, at 10:37 , Hiro Asari wrote:
> irb(main):001:0> a=[]
> => []
> irb(main):002:0> a.instance_variable_set "@foo", "bar"
> => "bar"
> irb(main):003:0> a.reject {}.instance_variable_get "@foo"
> => "bar"
> ... -
03:47 PM Bug #4136 (Closed): Enumerable#reject should not inherit the receiver's instance variables
- =begin
This issue was solved with changeset r30148.
Hiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
07:15 AM Bug #4136: Enumerable#reject should not inherit the receiver's instance variables
- =begin
In the similar vein, if you subclass Array, that class's #reject returns an object of that subclass, rather than an Array.
$ irb
irb(main):001:0> RUBY_DESCRIPTION
=> "ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-... -
04:45 AM Bug #4136: Enumerable#reject should not inherit the receiver's instance variables
- =begin
I find this behavior unintuitive. #reject returns a *new* array, which I would not expect to have instance variables from the old array. It could, in fact, drag along data I don't intend for it to drag along, with no obvious way ... -
03:36 AM Bug #4136 (Closed): Enumerable#reject should not inherit the receiver's instance variables
- =begin
re
Below, you see that a.reject returns a copy of the receiver, which inherits the instance variable @foo. This is not the case with Array#select.
irb(main):001:0> a=[]
=> []
irb(main):002:0> a.instance_variable_set "@... -
06:38 PM Bug #4140 (Rejected): segfault recursion inside a thread
- =begin
The code below (thanks to flavorjones from Nokogiri) makes ruby 1.9.2 to segfault. It works with 1.8.7 or without the thread, just raising a SystemStackError (stack level too deep).
You can find the stack trace attached.
... - 05:18 PM Revision ac5482dc (git): * 2010-12-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:18 PM Revision 16a166dd (git): * ext/openssl/ossl_x509store.c (ossl_x509stctx_cleanup): removing C
- implementation of `cleanup`.
* ext/openssl/lib/openssl/x509.rb: adding ruby implementation of
`cleanup`. OpenSSL::X509::StoreContext#cleanup is deprecated since
reusing the underlying struct doesn't make sense. [ruby-dev:42546]
gi... -
11:14 AM Revision 2dc98cd0 (git): * parse.y (lvar_defined_gen, shadowing_lvar_gen, dvar_defined): no
- warnings for unused method and block arguments.
[ruby-dev:42718] [ruby-dev:42724]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:26 AM Revision 1547331c (git): * dln.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:16 AM Revision d99801bb (git): * lib/webrick/accesslog.rb (WEBrick::AccessLog#format): support
- %{remote}p for logging remote (client) port number.
[ruby-dev:42670]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:07 AM Bug #4138 (Closed): Test Failure because of method redefined: test/irb/test_option.rb
- =begin
This issue was solved with changeset r30147.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
03:51 AM Bug #4138 (Closed): Test Failure because of method redefined: test/irb/test_option.rb
- =begin
test-all が以下のように失敗します。
2) Failure:
test_end_of_option(TestIRB::TestOption) [/home/naruse/ruby/test/irb/test_option.rb:8]:
[ruby-core:33574].
<[]> expected but was
<["/home/naruse/ruby/lib/irb/ext/save-history.rb:29... -
06:46 AM Revision 11b3b5ed (git): * array.c (rb_ary_dup): should copy contents only. no instance
- variable, no class would be copied. it would affect methods
#sort, #reject, #transpose, #uniq, #compact, and #shuffle.
[ruby-core:33640]
* array.c (rb_ary_reverse_m): ditto.
* array.c (rb_ary_rotate_m): ditto.
git-svn-id: svn+ssh...
12/08/2010
-
10:37 PM Bug #4134 (Closed): assigned but unused variable
- =begin
This issue was solved with changeset r30146.
Kouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
08:52 PM Bug #4134 (Closed): assigned but unused variable
- =begin
テストを-vを付けて実行するとassigned but unused variableの警告が大量に出るのですが、
ライブラリ側で出ていた警告のうち消せそうなものを消してみました。
(残りは、assigned but unused variableの警告は出るがERBテンプレートで参照しているもの)
Index: ext/dl/lib/dl/struct.rb
=================================... -
10:31 PM Bug #4135: bug in calculations in 1.9.3dev / 1.9.2
- =begin
Stupid me. Sorry guys.
=end
-
10:12 PM Bug #4135: bug in calculations in 1.9.3dev / 1.9.2
- =begin
Learn floating point numbers.
What Every Computer Scientist Should Know About Floating-Point Arithmetic
http://docs.sun.com/source/806-3568/ncg_goldberg.html
http://wiki.github.com/rdp/ruby_tutorials_core/ruby-talk-faq#f... -
10:00 PM Bug #4135 (Rejected): bug in calculations in 1.9.3dev / 1.9.2
- =begin
=end
-
09:02 PM Bug #4135 (Rejected): bug in calculations in 1.9.3dev / 1.9.2
- =begin
$ ruby -v
ruby 1.9.3dev (2010-12-08 trunk 30125) [i686-linux]
I just installed ruby-head from rvm and run this in irb:
$ irb
ruby-head > 125.33 - (125.33/100.0*50.0)
=> 62.66499999999999
ruby-head > 125.33 / 10... -
10:00 PM Revision fc2748e7 (git): * test/irb/test_option.rb (test_end_of_option): don't read .irbrc. Bug#4138
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:11 PM Bug #4133: Unexpected result of Time#strftime("%s") on Windows with trunk
- =begin
=end
-
03:49 PM Bug #4133 (Closed): Unexpected result of Time#strftime("%s") on Windows with trunk
- =begin
C:\work>ruby -ve 'p Time.now.strftime("%s")'
ruby 1.9.3dev (2010-12-07 trunk 30123) [i386-mswin32_90]
"0000000000000000000000000000000000000000000000000000001291790065"
C:\work>ruby -ve 'p Time.now.strftime("%s")'
ruby... -
01:29 PM Revision b2ea6df3 (git): * ext/dl/lib/dl/struct.rb: clean a warning: assigned but unused
- variable. patched by Kouhei Yanagita. [ruby-dev:42722]
* ext/dl/lib/dl/import.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:39 PM Revision af670814 (git): * vm_dump.c (rb_vm_bugreport): suppress a warning.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:36 PM Revision 2f26014e (git): * parse.y (shadowing_lvar_gen): fix line number. [ruby-dev:42718]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:38 AM Revision fad7d95a (git): * dir.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:19 AM Bug #4103: String#hash not returning consistent values in different sessions
- =begin
On 2010/12/01 2:07, NARUSE, Yui wrote:
> It is intended. Ruby 1.9 explicitly use session local random seed
> to calculate a hash for strings (and some other objects).
>
> This is because the implementation of Object#hash is... - 10:55 AM Revision af3d6b53 (git): * 2010-12-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:55 AM Revision 87a826b8 (git): reverted to r30124; r30124 breaks test
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:09 AM Revision c9116c68 (git): merges r29798 from trunk into ruby_1_9_2.
- --
* vm_eval.c (rb_funcall): ensure va_end after va_init_list. Coverity
Scan found this bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:09 AM Revision 751a5cfa (git): merges r29786 from trunk into ruby_1_9_2.
- --
Prevent timing failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:09 AM Revision c5089cab (git): merges r29784,r29787 and r29788 from trunk into ruby_1_9_2.
- --
* etc/openssl/ossl_ssl.c (ossl_ssl_get_cert): raise exception if
pointer is invalid. Thanks Ippei Obayashi! [ruby-dev:42573]
--
STDIN is not valid when ruby doesn't have tty.
--
making ssl test a little better
git-svn-id: svn+ssh:... -
08:09 AM Revision 9fa9adf1 (git): * cygwin/GNUMakefile.in ($(RCFILES)): fixes [ruby-core:33525].
- Patch by Luis Lavena <luislavena AT gmail.com>.
http://groups.google.com/group/rubyinstaller/browse_thread/thread/412abfdcb695aecb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:09 AM Revision aeebb6e5 (git): * string.c (rb_str_concat): partially reverts r30040 because
- it unpexpectedly changed the behavior of String#<<.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:09 AM Revision b62f04f5 (git): merges r29743 from trunk into ruby_1_9_2.
- --
* io.c (pipe_finalize): status is success if no process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:09 AM Revision 1f87ac7b (git): merges r29693 from trunk into ruby_1_9_2.
- --
* common.mk (ext/ripper/ripper.c): RUBY needs to be set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:09 AM Revision d9f37868 (git): merges r29691 from trunk into ruby_1_9_2.
- --
* ext/fiddle/extconf.rb: fixing ffi library location on windows.
Thanks Usa! [ruby-core:32930]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:09 AM Revision 40236a58 (git): merges r29676 from trunk into ruby_1_9_2.
- --
* string.c (rb_enc_cr_str_buf_cat): concatenation of valid
encoding string and invalid encoding string should result
invalid encoding. [ruby-core:33027]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30132 b2dd0... -
08:09 AM Revision 2f7d3b46 (git): merges r29674 from trunk into ruby_1_9_2.
- --
* lib/irb/ruby-lex.rb (RubyLex#identify_string): parse multiple
regex options. a patch from Heesob Park in [ruby-core:32988].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:09 AM Revision 11aa04e2 (git): merges r29632 from trunk into ruby_1_9_2.
- --
* test/pathname/test_pathname.rb (TestPathname#test_grpowned?): the
group of the created file is inherited from the parent
directory on BSDs and MacOS X. Linux also inherit the group if
the setgid bit of the directory is set. ... -
08:09 AM Revision 04bc7dbc (git): merges r29622 from trunk into ruby_1_9_2.
- --
* string.c (rb_str_dump): fix expected length. [ruby-core:32935]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:08 AM Revision ee72d1c4 (git): merges r29544 from trunk into ruby_1_9_2.
- --
* lib/net/telnet.rb (Net::Telnet#close): added.
patched by Erik Hollensbe [ruby-dev:42260] #3830
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:08 AM Revision 7231be4c (git): merges r29541,r29607,r29608 and r29611 from trunk into ruby_1_9_2.
- --
* test/ruby/test_io.rb (TestIO#pipe): get rid of deadlock on pipe.
a patch from Tomoyuki Chikanaga at [ruby-dev:42435]. #3970
* test/ruby/test_io_m17n.rb (TestIO_M17N#pipe): ditto.
--
* test/ruby/test_io.rb (TestIO#pipe): need to ... -
08:08 AM Revision f87402c3 (git): merges r29523 from trunk into ruby_1_9_2.
- --
* lib/net/http.rb (transport_request): @socket may be nil.
patched by Egbert Eich [ruby-core:32829]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:37 AM Bug #4130 (Closed): wrong line number with shadowing and unused variable
- =begin
This issue was solved with changeset r30124.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
12:52 AM Revision 2e65b0d8 (git): * parse.y (LVAR_USED): should be int same as ruby_sourceline.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/07/2010
-
10:47 PM Bug #4131 (Closed): can't set length of shared string error in IO#read
- =begin
This issue was solved with changeset r30122.
Masaya, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
10:28 PM Bug #4131 (Closed): can't set length of shared string error in IO#read
- =begin
IO#readにおいて、
lengthがnilでbufferにsharedなStringを指定したときに以下のようにエラーになります。
>ruby -ve "a='abcdefghijkl';b=a[1,3];STDIN.read(nil,a)"
ruby 1.9.3dev (2010-12-07 trunk 30119) [i386-mswin32_90]
-e:1:in `read': can't set length of s... -
10:29 PM Revision 43cfe6c6 (git): * parse.y (struct vtable, struct local_vars, vtable_add):
- restructued to add declared line. [ruby-dev:42718]
* parse.y (shadowing_lvar_gen): should not add dvar to vars.
* parse.y (local_push_gen, local_id_gen, dvar_defined_gen): check
local variable usage for args and vars respectedly.
git... -
10:27 PM Bug #4130 (Closed): wrong line number with shadowing and unused variable
- =begin
shadowing outer local variableとassigned but unused variableの組み合わせで行番号がおかしくなります。
$ cat test.rb
def foo
a = 1
tap do |a|
end
end
$ ./ruby -v test.rb
ruby 1.9.3dev (2010-12-07 trunk 30114) [i386-darwin9.0]
... -
09:33 PM Bug #3686 (Closed): Error in parsing musicbrainz.org with rexml
- =begin
It had been fixed in trunk.
=end
-
09:17 PM Bug #4083 (Closed): warning in rexml/doctype.rb
- =begin
This issue was solved with changeset r30113.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
09:14 PM Bug #4129 (Closed): multi-tk を require すると、おかしい
- =begin
こうなります
$ ruby19 -rmulti-tk -e ''
/usr/local/lib/ruby/1.9.1/multi-tk.rb: [BUG] Segmentation fault
ruby 1.9.3dev (2010-12-05 trunk 30086) [x86_64-freebsd8.2]
-- Control frame information ------------------------------... -
08:57 PM Bug #4128 (Closed): String#kconvでfrom_encを指定していないときにString#encodingを使うようになっていない
- =begin
This issue was solved with changeset r30112.
Kouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
07:57 PM Feature #4085: Refinements and nested methods
- =begin
On Dec 7, 2010, at 11:34 , Charles Oliver Nutter wrote:
> On Tue, Dec 7, 2010 at 2:58 AM, Haase, Konstantin
> <Konstantin.Haase@student.hpi.uni-potsdam.de> wrote:
>> Since I explained one use case I'd have for local rebind... -
07:34 PM Feature #4085: Refinements and nested methods
- =begin
On Tue, Dec 7, 2010 at 2:58 AM, Haase, Konstantin
<Konstantin.Haase@student.hpi.uni-potsdam.de> wrote:
> Since I explained one use case I'd have for local rebinding: I think not having local rebinding is mostly what we want, lo... -
05:59 PM Feature #4085: Refinements and nested methods
- =begin
Since I explained one use case I'd have for local rebinding: I think not having local rebinding is mostly what we want, local rebinding would mostly cause unwanted side effects and would be a pure horror to debug.
Konstantin
... -
05:52 PM Feature #4085: Refinements and nested methods
- =begin
Hi,
In message "Re: [ruby-core:33610] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods"
on Tue, 7 Dec 2010 16:08:28 +0900, Shugo Maeda <shugo@ruby-lang.org> writes:
|I don't mean to merge refinements in... -
05:04 PM Feature #4085: Refinements and nested methods
- =begin
(2010/12/07 15:58), Charles Oliver Nutter wrote:
> On Mon, Dec 6, 2010 at 8:48 AM, Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
>> (2010/12/06 21:17), Charles Oliver Nutter wrote:
>>> This is what topic branches are for :)
... -
04:15 PM Feature #4085: Refinements and nested methods
- =begin
Hi,
2010/12/7 Charles Oliver Nutter <headius@headius.com>:
>>> It shouldn't be done on
>>> mainline, in my opinion, until it has solidified a bit more and it's
>>> certain to be included in an upcoming "standard" Ruby relea... -
03:59 PM Feature #4085: Refinements and nested methods
- =begin
On Mon, Dec 6, 2010 at 8:48 AM, Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
> (2010/12/06 21:17), Charles Oliver Nutter wrote:
>> This is what topic branches are for :)
>
> No. That idea is not a SVN way. A trunk in SVN ... -
03:53 PM Feature #4085: Refinements and nested methods
- =begin
Hi,
2010/12/6 Charles Oliver Nutter <headius@headius.com>:
>> I also hope that 1.9.x would be stable, but I'd like to develop
>> aggressively in trunk. I don't think the current design and
>> implementation of refinements ... -
03:27 PM Feature #4085: Refinements and nested methods
- =begin
Hi,
2010/12/6 Yehuda Katz <wycats@gmail.com>:
> I think that, for this same reason, `using` should normally not apply
> outside of the immediate lexical scope. I actually believed that this was
> the default behavior, and e... -
04:30 AM Feature #4085: Refinements and nested methods
- =begin
Speaking as someone who writes a lot of libraries, I would be very likely to
use a purely lexical refinement feature all the time.
If the feature *was* limited to a purely lexical scope, most of my gems
would probably have a... -
03:23 AM Feature #4085: Refinements and nested methods
- =begin
On Sat, Dec 4, 2010 at 06:31, Charles Oliver Nutter <headius@headius.com>wrote:
> To be honest, I think it should be a using directive at the file's
> toplevel, so subsequently-parsed blocks know they're going to be
> refine... -
03:04 AM Feature #4085: Refinements and nested methods
- =begin
Hi,
On 12/6/2010 7:13 AM, Charles Oliver Nutter wrote:
> I suggest we drop the "pseudo" from "pseduolexical" in the Refinements
> specification, and see where that takes us. Anything "pseudo" lexical
> is dynamic scoping, w... -
05:17 PM Feature #4111 (Closed): Add XLIST support to Net::IMAP
- =begin
This issue was solved with changeset r30108.
Geoff, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
02:24 PM Revision 7fd6016e (git): Set DH Parameter for SSLContext to clean warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:38 PM Revision 9865ee2c (git): * io.c (io_read): duplicate string if shared. [ruby-dev:42719]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:31 PM Revision 11ef8746 (git): * lib/optparse.rb (OptionParser::Officious): separate completion
- options from --help. [ruby-dev:42690]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:29 PM Revision ff1fb427 (git): * lib/optparse.rb (OptionParser::Completion#candidate),
- (OptionParser::Switch#compsys): remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:12 PM Revision 4ec63ef2 (git): fix typo: not response.attr.data, but response.data.attr.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:05 PM Revision 5bf72d1f (git): * transcode.c (transcode_loop): call default handler of the given
- hash, method, proc or [] method as fallback. [ruby-dev:42692]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:01 PM Revision c207b0b7 (git): * lib/rexml/light/node.rb: remove circular require.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:57 PM Revision 40a50123 (git): * test/rexml/test_light.rb: really suppress a warning.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:55 PM Revision d5e607eb (git): * test/rexml/test_light.rb: suppress a warning.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:29 PM Bug #4124: optparse: needless argument: --help=zshcomplete=COMMAND
- =begin
--help ではなく http://www.rubyist.net/~rubikitch/archive/zshcomplete.txt のように --zshcomplete (と --bashcomplete) にするというのはどうでしょうか?
=end
-
12:02 PM Bug #4124 (Closed): optparse: needless argument: --help=zshcomplete=COMMAND
- =begin
どうしようもないと思うのですが、何かアイデアがあれば。
=end
-
10:28 AM Bug #4124 (Assigned): optparse: needless argument: --help=zshcomplete=COMMAND
- =begin
opttest.rb の変更で閉じるということは rspec などのようにすでに独自の --help があるものは非対応のままということでしょうか?
% ruby-trunk -v
ruby 1.9.3dev (2010-12-07 trunk 30107) [i686-linux]
% generate-complete-function/ruby/optparse rspec-trunk
/home/kazu/opt/ruby-... -
12:16 PM Revision 766d38e6 (git): * debug.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:10 PM Revision 9ce40aac (git): * lib/rexml/doctype.rb, test/rexml/test_doctype.rb: suppress warnings.
- [ruby-core:33305]
Reported by Aaron Patterson. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:47 AM Revision 85eb93d0 (git): * ext/nkf/lib/kconv.rb (String#kconv): fix typo and update rdoc.
- patched by Kouhei Yanagita [ruby-dev:42696]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:32 AM Revision 1f70a6ba (git): * test/rexml/test_doctype.rb: add Accessor to test case name.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:31 AM Revision 25a6a3fd (git): * test/rexml/test_doctype.rb: Doctype -> DocType.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:30 AM Revision eb20de88 (git): * test/rexml/test_doctype_mixin.rb: rename to ...
- * test/rexml/test_doctype.rb: ... this to remove needless name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:07 AM Revision fd019a5c (git): * lib/net/imap.rb (xlist): supported the XLIST command, which is an
- extension by Apple and Google. patch by Geoff Youngs.
[ruby-core:33521]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:07 AM Bug #4120 (Closed): 2 failures on test/mkmf/test_convertible.rb
- =begin
This issue was solved with changeset r30107.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
03:07 AM Feature #4068: Replace current standard Date/DateTime library with home_run
- =begin
On Sat, Dec 4, 2010 at 13:31, Jeremy Evans <redmine@ruby-lang.org> wrote:
> Fractional dates means that a Date object also holds a time component.
> They are an implementation detail of the current standard date library,
> ...
12/06/2010
-
11:49 PM Feature #4085: Refinements and nested methods
- =begin
(2010/12/06 21:17), Charles Oliver Nutter wrote:
> On Sat, Dec 4, 2010 at 6:32 AM, Shugo Maeda <shugo@ruby-lang.org> wrote:
>>> Note that this is just my opinion, and that I seem to be in the
>>> minority ;-)
>>> I hope that ... -
09:17 PM Feature #4085: Refinements and nested methods
- =begin
On Sat, Dec 4, 2010 at 6:32 AM, Shugo Maeda <shugo@ruby-lang.org> wrote:
>> Note that this is just my opinion, and that I seem to be in the
>> minority ;-)
>> I hope that 1.9.x would be stable, but many other committers seem t... -
09:14 PM Feature #4085: Refinements and nested methods
- =begin
On Sun, Dec 5, 2010 at 11:41 PM, Yehuda Katz <wycats@gmail.com> wrote:
> I think that, for this same reason, `using` should normally not apply
> outside of the immediate lexical scope. I actually believed that this was
> the d... -
02:42 PM Feature #4085: Refinements and nested methods
- =begin
I think that, for this same reason, `using` should normally not apply
outside of the immediate lexical scope. I actually believed that this was
the default behavior, and explained why I thought it was a good idea on my
blog (h... -
02:13 PM Feature #4085: Refinements and nested methods
- =begin
Hi,
2010/12/5 Yukihiro Matsumoto <matz@ruby-lang.org>:
> I am neutral about local rebinding. It is useful sometimes (as
> someone has pointed out in this thread). At the same time, I agree
> with you that performance impa... -
02:09 PM Feature #4085: Refinements and nested methods
- =begin
I disagree with this argument. If the feature behaved as you expected, you
would never be able to include a refinement into a scope without reading the
implementation of all callees to make sure that the refinements you include... -
12:16 PM Feature #4085: Refinements and nested methods
- =begin
On Dec 4, 2010, at 5:37 PM, Yukihiro Matsumoto wrote:
> Hi,
>
> I am neutral about local rebinding. It is useful sometimes (as
> someone has pointed out in this thread). At the same time, I agree
> with you that perfo... -
11:00 PM Revision e806b0fe (git): * configure.in, win32/Makefile.sub (WERRORFLAG): flag to treat
- warnings as errors.
* lib/mkmf.rb (Logging.postpone): yield log file object.
* lib/mkmf.rb (xsystem): add options, :werror only right now.
* lib/mkmf.rb (with_werror): check as if warnings are errors.
* lib/mkmf.rb (convertible_int): mak... -
11:00 PM Bug #4128: String#kconvでfrom_encを指定していないときにString#encodingを使うようになっていない
- =begin
その上の方にも直すべきコメントがありましたのでパッチを送り直します。
Index: ext/nkf/lib/kconv.rb
===================================================================
--- ext/nkf/lib/kconv.rb (リビジョン 30091)
+++ ext/nkf/lib/kconv.rb (作業コピー... -
10:52 PM Bug #4128 (Closed): String#kconvでfrom_encを指定していないときにString#encodingを使うようになっていない
- =begin
typoがあり、意図した通りの動作になっていません。
あと、コメントが古かったので修正してみました。
Index: ext/nkf/lib/kconv.rb
===================================================================
--- ext/nkf/lib/kconv.rb (リビジョン 30091)
+++ ext/nkf/lib/k... -
10:57 PM Bug #4124 (Closed): optparse: needless argument: --help=zshcomplete=COMMAND
- =begin
This issue was solved with changeset r30098.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
07:17 PM Bug #4124 (Closed): optparse: needless argument: --help=zshcomplete=COMMAND
- =begin
opttest.rb のようにデフォルト以外の --help があると補完の生成がうまくいかないようです。
% generate-complete-function/ruby/optparse sample/optparse/opttest.rb
opttest: needless argument: --help=zshcomplete=opttest.rb
%
=end
-
10:48 PM Bug #4120: 2 failures on test/mkmf/test_convertible.rb
- =begin
こんにちは、なかむら(う)です。
In message "[ruby-dev:42694] Re: [Ruby 1.9-Bug#4120][Assigned] 2 failures on test/mkmf/test_convertible.rb"
on Dec.06,2010 21:09:36, <kosaki.motohiro@gmail.com> wrote:
> >> VCでは以下のコードがエラーにならずに警告しか出ないからなの... -
09:10 PM Bug #4120: 2 failures on test/mkmf/test_convertible.rb
- =begin
2010年12月6日15:53 U.Nakamura <usa@garbagecollect.jp>:
> こんにちは、なかむら(う)です。
>
> In message "[ruby-dev:42688] Re: [Ruby 1.9-Bug#4120][Assigned] 2 failures on test/mkmf/test_convertible.rb"
> on Dec.06,2010 15:34:02, <nobu@ruby-l... -
03:54 PM Bug #4120: 2 failures on test/mkmf/test_convertible.rb
- =begin
こんにちは、なかむら(う)です。
In message "[ruby-dev:42688] Re: [Ruby 1.9-Bug#4120][Assigned] 2 failures on test/mkmf/test_convertible.rb"
on Dec.06,2010 15:34:02, <nobu@ruby-lang.org> wrote:
> VCでは以下のコードがエラーにならずに警告しか出ないからなのですが、何を
> ... -
03:34 PM Bug #4120: 2 failures on test/mkmf/test_convertible.rb
- =begin
なかだです。
At Mon, 6 Dec 2010 11:11:12 +0900,
Usaku NAKAMURA wrote in [ruby-dev:42684]:
> 1) Failure:
> test_typeof_builtin(TestMkmf::TestConvertible) [C:/Users/usa/ruby/test/mkmf/test_convertible.rb:8]:
> <"long"> expected ... -
11:10 AM Bug #4120 (Closed): 2 failures on test/mkmf/test_convertible.rb
- =begin
表題のテストで、以下の2件の失敗が出ています。
なんかよくわからんので報告のみ。
1) Failure:
test_typeof_builtin(TestMkmf::TestConvertible) [C:/Users/usa/ruby/test/mkmf/test_convertible.rb:8]:
<"long"> expected but was
<"int">.
2) Failure:
test_... -
09:17 PM Bug #4030: ext/openssl OpenSSL::ASN1::decode / to_der
- =begin
Ok, thanks for that!
=end
-
09:40 AM Bug #4030: ext/openssl OpenSSL::ASN1::decode / to_der
- =begin
I think, this proposal is reasonable, but the code should be reviewed.
So anyone can review this?
=end
-
09:07 PM Bug #4126 (Rejected): Pathname#+ サブクラスの場合
- =begin
Pathnameを継承したときにいくつかのメソッドが自身のクラスのインスタンスを生成すべきだというpull requestが来ています。ご判断下さい。
https://github.com/shyouhei/ruby/pull/2
=end
-
08:56 PM Revision 75877a30 (git): * cont.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:33 PM Bug #4123: thread-safe problem in libxml_ruby.so
- =begin
HI,
Just make a further test based on the testthreadxml.rb.
Change file
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4/lib/active_support/xml_mini.rb
From
XmlMini.backend = 'REXML'
To:
XmlMini.backen... -
05:26 PM Bug #4123 (Third Party's Issue): thread-safe problem in libxml_ruby.so
- =begin
Hi,
We set up a rails webservice app using libxml_ruby.so, Hash.from_xml funtion.
This Webserive server works as one process and start new thread to handle each request. But crash always happens at the second call.
r... - 03:29 PM Revision 02989162 (git): * 2010-12-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:29 PM Revision 88ab39f6 (git): * win32/win32.c (rb_w32_read): fixed more for readline, and so on. [ruby-core:33511]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:47 PM Revision 03693cd5 (git): * common.mk (test-build): test-all runs build tests on cross-compiling.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:43 PM Revision c42bfb08 (git): * common.mk (test-build): run all test normally on native environments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:18 PM Revision 5d8fd7f1 (git): * test/mkmf/base.rb (TestMkmf#setup): run quietly.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:17 PM Revision 6852bf09 (git): * test/mkmf/test_find_executable.rb (test_find_executable): use
- configured results.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:57 PM Bug #4122 (Closed): test_x509store.rbのtest_set_errorsが失敗する
- =begin
CentOS 5.5 で、test_x509store.rbが失敗します。
$ make test-all TESTS='openssl/test_x509store.rb'
./miniruby -I./lib -I.ext/common ./tool/runruby.rb --extout=.ext -- "./test/runner.rb" openssl/test_x509store.rb
Run options:
... -
01:55 PM Revision a3732110 (git): * common.mk (test-build): test for build process.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:47 PM Revision 76c286d1 (git): * lib/optparse.rb (OptionParser#candidate): skip separators.
- * sample/optparse/opttest.rb: should not override --help.
[ruby-dev:42690]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:44 PM Bug #4121 (Closed): test_getpty_nonexistentで止まることがある
- =begin
CentOS 5.5 で、test_pty.rbが途中で止まることがあります。
毎回止まるわけではなく、正しくテストが実行されることも多いです。
while true; do make test-all TESTS='test_pty.rb'; done
などと連続で実行させると簡単に再現できます。
Debian lennyでは問題は発生しませんでした。
$ make test-all TESTS... -
10:01 AM Revision 6c715d1d (git): * misc/rb_optparse.zsh: fix typos.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:01 AM Revision 71f81f81 (git): * NEWS: add new encodings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:01 AM Revision 9208951d (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:01 AM Revision dd77ae9f (git): * test/ruby/test_string.rb (TestString#test_scan): add a test for
- [ruby-core:33338] #4087.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:01 AM Revision 9600d969 (git): * test/uri/test_common.rb (TestCommon#test_encode_www_form): add
- tests for r30015.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:01 AM Revision 8d7e9e53 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:27 AM Bug #4110 (Closed): ホスト名の先頭が数字であるとき、WEBrickのテストでErrorが出る
- =begin
This issue was solved with changeset r30089.
Kouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
01:41 AM Revision 68b18291 (git): * lib/uri/common.rb (URI::Parser#initialize_pattern):
- refix for restrict the pattern.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:54 AM Revision 41bfc7a7 (git): Add toplevel documentation for OpenSSL
- Add additional documentation for OpenSSL::SSL::SSLContext and
OpenSSL::SSL::SSLSocket.
Move "let rdoc know about mOSSL" comments so they don't show up in output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30090 b2dd03c8-39d4-4... -
12:19 AM Revision 2a35a782 (git): * lib/uri/common.rb (URI::Parser#initialize_pattern):
- workaround fix pattern of hostname for RFC 3986. [ruby-dev:42672]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:19 AM Revision e959e9f3 (git): * 2010-12-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:19 AM Revision 02c0481f (git): * lib/mkmf.rb (check_signedness): rename unused variable prelude.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/05/2010
-
09:51 PM Bug #4119 (Rejected): about encoding convertion
- =begin
It means,
* 0xA3A0 is valid in GBK encoding scheme
* but the code point 0xA3A0 is not assgined any characers
* so the convert fails conversion
=end
-
11:31 AM Bug #4119 (Rejected): about encoding convertion
- =begin
test script:
#encoding: gbk
p "asdf".encode('utf-8')
p "的".encode('utf-8')
p " ".encode('utf-8')
p "\xa3\xa0".encode('utf-8')
output:
"asdf"
"\u7684"
"\u3000"
D:/doc/Ruby Projects/Arachno Default/t... -
12:17 PM Bug #4117 (Closed): irb: typo when parsing command line options
- =begin
This issue was solved with changeset r30085.
Julien, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
03:05 AM Bug #4117 (Closed): irb: typo when parsing command line options
- =begin
Under ruby 1.9.2, "irb --" raises NoMethodError because of a typo when parsing command-line options.
How to reproduce ?
{{{
#!sh
julien@devstation:~$ irb --
/home/julien/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/ir... -
10:38 AM Feature #4085: Refinements and nested methods
- =begin
Hi,
I am neutral about local rebinding. It is useful sometimes (as
someone has pointed out in this thread). At the same time, I agree
with you that performance impact is a huge negative factor against
local rebinding. We... -
10:07 AM Feature #4085: Refinements and nested methods
- =begin
Hello,
On Sat, Dec 4, 2010 at 11:56 AM, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
> |For the main cases, I see it working this way:
> |
> |* Parser sees "using" in a scope
> |* Child scopes will now be parsed as thoug... -
02:56 AM Feature #4085: Refinements and nested methods
- =begin
Hi,
In message "Re: [ruby-core:33568] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods"
on Sat, 4 Dec 2010 21:48:00 +0900, Charles Oliver Nutter <headius@headius.com> writes:
|For the main cases, I see ... -
08:59 AM Feature #4068: Replace current standard Date/DateTime library with home_run
- =begin
> t = Time.new(2001)
#=> 2001-01-01 00:00:00 +0900
> t += 0.5
#=> 2001-01-01 00:00:00 +0900
> t + 0.5
#=> 2001-01-01 00:00:01 +0900
same.
not problem.
and date objest shows the difference in inspect.
=end
-
04:28 AM Feature #4068: Replace current standard Date/DateTime library with home_run
- =begin
mathew,
Fractional dates means that a Date object also holds a time component. They are an implementation detail of the current standard date library, which stores both Date and DateTime objects using the same data structur... -
03:00 AM Feature #4068: Replace current standard Date/DateTime library with home_run
- =begin
On Sat, Dec 4, 2010 at 01:28, Jeremy Evans <redmine@ruby-lang.org> wrote:
> switch_hitter looks great. I still don't think the Date class should
> handle fractional dates, but it's true that doing so will increase
> compati... -
08:56 AM Revision 1a3f4dba (git): * class.c (make_metaclass): fix probable typo. builtin type flag
- cannot be used with FL_TEST.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:09 AM Revision 504e6b4d (git): * lib/irb/init.rb (IRB.parse_opts): fix typo. [ruby-core:33574]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:27 AM Revision af54c169 (git): * ruby.c (load_file_internal): decrement for ungotten line.
- [ruby-dev:42680]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:37 AM Revision c19cba44 (git): * 2010-12-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:37 AM Revision 02441dab (git): * complex.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:08 AM Feature #4111: Add XLIST support to Net::IMAP
- =begin
How does that work? It's basically the same format as the LIST command...
=end
12/04/2010
-
11:19 PM Feature #4085: Refinements and nested methods
- =begin
Hi,
2010/12/4 Charles Oliver Nutter <headius@headius.com>:
>>> * "using" not being a keyword requires all calls to check for
>>> refinements all the time, globally degrading performance.
>>
>> This means that you should ch... -
10:52 PM Feature #4085: Refinements and nested methods
- =begin
Hi,
2010/12/3 Yusuke ENDOH <mame@tsg.ne.jp>:
> I might find serious concurrency problem of Shugo's patch, though I'm
> not sure that this is what you mean. Indeed, we may have to give up
> propagating refinements via block... -
09:48 PM Feature #4085: Refinements and nested methods
- =begin
Hello,
On Thu, Dec 2, 2010 at 9:42 PM, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
> 2010/11/30 Charles Oliver Nutter <headius@headius.com>:
>> The global serial number approach in 1.9 means that any change that
>> flip that seria... -
09:32 PM Feature #4085: Refinements and nested methods
- =begin
Hi,
2010/12/3 Yusuke ENDOH <mame@tsg.ne.jp>:
>>> ... Oops! This does not work as excepted. I had believed that this
>>> would work... Why don't you allow this?
>>
>> Currently refine doesn't work without blocks, but do ... -
09:31 PM Feature #4085: Refinements and nested methods
- =begin
Hello,
On Thu, Dec 2, 2010 at 11:05 PM, Shugo Maeda <shugo@ruby-lang.org> wrote:
> 2010/11/30 Charles Oliver Nutter <headius@headius.com>:
>> * "using" not being a keyword requires all calls to check for
>> refinements all ... -
08:50 PM Feature #4068: Replace current standard Date/DateTime library with home_run
- =begin
if we can adopt switch_hitter's design, we may use home_run's implementation.
if so, i'd like the author of home_run to maintain it.
and anyway, i'd like to talk also about improvements of some format methods in the near futu... -
08:42 PM Feature #4068: Replace current standard Date/DateTime library with home_run
- =begin
akr,
stolen_base use internal functions of time.c.
i supposed it may affect your works.
however now i'm interested in switch_hitter rather than stolen_base.
it never use time's private functions.
thanks
=end
-
07:31 PM Feature #4068: Replace current standard Date/DateTime library with home_run
- =begin
2010/12/4 tadayoshi funaba <redmine@ruby-lang.org>:
> no.
> it's not my aim.
Why you want my support?
Will you modify time.c?
--
Tanaka Akira
=end
-
04:27 PM Feature #4068: Replace current standard Date/DateTime library with home_run
- =begin
switch_hitter looks great. I still don't think the Date class should handle fractional dates, but it's true that doing so will increase compatibility with the current standard date library. I fully support switch_hitter replacin... -
10:05 AM Feature #4068: Replace current standard Date/DateTime library with home_run
- =begin
i've just written initial version of "switch_hitter".
i've attached the patch to trunk and a script.
swich_hitter provides both speed and quality.
swich_hitter has highly compatibility with the current date.
> d = D... -
09:50 AM Feature #4068: Replace current standard Date/DateTime library with home_run
- =begin
Hi,
In message "Re: [ruby-core:33552] [Ruby 1.9-Feature#4068] Replace current standard Date/DateTime library with home_run"
on Sat, 4 Dec 2010 08:30:27 +0900, tadayoshi funaba <redmine@ruby-lang.org> writes:
|in the fi... -
08:47 AM Feature #4068: Replace current standard Date/DateTime library with home_run
- =begin
in fact, unix cal(1) inspired the first yasuo version.
=end
-
08:32 AM Feature #4068: Replace current standard Date/DateTime library with home_run
- =begin
akr,
no.
it's not my aim.
=end
-
08:30 AM Feature #4068: Replace current standard Date/DateTime library with home_run
- =begin
matz,
in the first place, i don't want any restrictions if possible.
stolen_date does what Time does.
it is stolen_base's concept.
built-in Time exists outside of real world?
=end
-
07:17 AM Feature #4068: Replace current standard Date/DateTime library with home_run
- =begin
I agree with Benoit and Mathew, that a date should be a point in a calendar, not in time (and reserve DateTime or Time for those cases). Furthermore, I think the partials (below), e.g. day and month without year or just a day, wo... -
11:45 AM Feature #4116 (Closed): OpenSSL::X509::Name provides <=> but not ==
- =begin
It is not easy to compare to X509 Name objects.
#<=> is provided allowing equality or ordering to be determined only through roundabout means.
#hash and #eql? are provided using the same underlying C call as #<=>
T... -
08:33 AM Bug #4106 (Rejected): 1.9.2 regression - invoking protected singleton methods
- =begin
=end
-
06:34 AM Revision d6c66534 (git): merge revision(s) 23240:
- * lib/mkmf.rb (init_mkmf): needs default library path even if
cross compiling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Signed-off-by: URABE, Shyouhei <shyouhei@r... -
06:34 AM Revision 1a70fe69 (git): merge revision(s) 29933:
- * re.c (rb_reg_regcomp): should succeed the taint status from the
origin. [ruby-core:33338]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Signed-off-by: URABE, Shyouhe... -
02:41 AM Revision f462afa5 (git): Add documentation for OpenSSL::X509::Extension.new
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:21 AM Revision 2d4b0d62 (git): * hash.c (rb_hash_update_by): new API for Hash#update.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:18 AM Revision 5c6b43d9 (git): * class.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:08 AM Revision 0987b3cb (git): * vm_core.h (rb_vm_inc_const_missing_count): missing prototype.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e