Activity
From 08/30/2012 to 09/05/2012
09/05/2012
- 11:25 PM Revision d80f56cb (git): * 2012-09-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:24 PM Revision a3980eb2 (git): Imported minitest 3.4.0 (r7762)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:07 PM Feature #6972: 特化命令opt_emptyの追加
- ささださんからご指摘頂いた点ですが、特化命令の名前をopt_empty_pに変更し(idEmptyやBOP_EMPTYも同様)、テストを追加しました。
-
06:59 PM Feature #6767: Utility method to get a duplicated string whose encoding is ASCII-8BIT
- duerst (Martin Dürst) wrote:
> naruse (Yui NARUSE) wrote:
> ...
リテラルだと文法が変わるので、過去のバージョンで読めなくなります。
一方、メソッドならば自分で定義すれば簡単に語感レイヤーを作ることができます。
これが「ハードルが高い」という意味です。
> 成瀬さんには短くて便利で使っていただくのは全く問題ないですが、一般の方には「.b を付ければ問題が解決する」風潮 (ようするに、文字コードは... -
05:52 PM Feature #6767: Utility method to get a duplicated string whose encoding is ASCII-8BIT
- naruse (Yui NARUSE) wrote:
> また、リテラルくらい楽に書きたいという観点からしても .b の短さは合理的です。
リテラルらしくはわからりますが、それでしたら思い切って本当のリテラルにした方がいいのではないかと思います。
成瀬さんには短くて便利で使っていただくのは全く問題ないですが、一般の方には「.b を付ければ問題が解決する」風潮 (ようするに、文字コードはわからないがとりあえず適当になにかやってしまう) を広げたくないです。
-
11:36 AM Feature #6767: Utility method to get a duplicated string whose encoding is ASCII-8BIT
- duerst (Martin Dürst) wrote:
> naruse (Yui NARUSE) wrote:
> ...
binary だと binary を期待させすぎて良くないように思います。
また、リテラルくらい楽に書きたいという観点からしても .b の短さは合理的です。
名前空間の消費的にも、Stringなど組み込みクラスを継承して別のクラスを作るのは一般に危険な行為なので、
問題ないように思います。
これの使いやすさは個人的にはちょうど .i... -
03:53 PM Feature #6946: FIPS support?
- This is my OpenSSL version:
# rpm -q openssl-libs
openssl-libs-1.0.1c-1.el7.x86_64
However, I am unsure, what other information you need. There is no FIPS Kernel module to my knowledge (but my knowledge is limited :/ ).
-
12:37 PM Feature #6958 (Rejected): buggy BigDecimal#integer?
- Closing, as it is now covered by feature request #6973
I was also surprised by the fact that `.integer?` is equivalent to `is_a?(Integer)`. It makes that method completely redundant (and less clear than using is_a?).
Did we ever re... -
11:09 AM Feature #6936: Forbid singleton class and instance variabls for float
- ko1 (Koichi Sasada) wrote:
> (2012/08/27 22:35), NARUSE, Yui wrote:
> ...
以下のような感じですかね
diff --git a/class.c b/class.c
index 1d871fb..1df38e4 100644
--- a/class.c
+++ b/class.c
@@ -1324,6 +1324,10 @@ singleton_class_of(VALUE obj)... - 10:22 AM Revision 8ee22260 (git): * parse.y (rb_warn4S): renamed from rb_warn4(), because the case in
- r36911 takes a string.
* parse.y (rb_warn4S): use ripper_warnS() for ripper.
* parse.y (ripper_warnS): now it is used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:39 AM Feature #6980: OpenSSL support for AEAD additional authenticated data and tags
- =begin
I'm not necessarily happy with a GCM-specific (({gcm_tag})), and an (unimplemented but hypothetical) (({ccm_tag})) et al. But having a single (({tag})) method that probed for which mode it was currently in seemed too magical. I'm ... -
05:46 AM Feature #6980 (Assigned): OpenSSL support for AEAD additional authenticated data and tags
-
04:14 AM Feature #6980: OpenSSL support for AEAD additional authenticated data and tags
- Sorry, patch included unintentional whitespace changes. Reuploaded without whitespace changes.
-
04:11 AM Feature #6980 (Closed): OpenSSL support for AEAD additional authenticated data and tags
- =begin
I've added support to OpenSSL::Cipher to support AEAD modes of operation. AEAD modes allow for plaintext additional authentication data to be combined with a ciphertext to generate a "tag" (e.g., a MAC). This tag can then be veri... -
07:00 AM Revision b3c60b27 (git): * .travis.yml (notifications): [experimental] update notification template.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:23 AM Revision 406f6a23 (git): * parse.y (rb_warn4): added as a rb_warn variant to warn with explicit
- source file name and line in parse.y.
* parse.y (warn_unused_var): use rb_warn4 to suppress warning on ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:23 AM Revision d4e2cb15 (git): Suppress warnings
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:03 AM Bug #6981 (Closed): set_trace_func passes strange bindng on method call defined by define_method
- set_trace_func passes strange binding on method call ("call") if invoked method was defined by define_method. Correctly speaking, the caller's binding was passed.
# example
class C
define_method(:foo){
p:foo
}
def ba... -
05:29 AM Revision 5809d668 (git): common.mk: partial revert r36867
- * common.mk: revert r36867 partially, to use files in the source
directory when out-of-place build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:29 AM Revision ad2e34c6 (git): win32/file.c: simplify
- * win32/file.c (rb_file_expand_path_internal): simplify a condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:29 AM Revision f961b80a (git): win32/file.c: prototype and cosmetic changes
- * win32/file.c (home_dir, system_code_page): use prototype, adjust
indent, and fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:29 AM Revision a1fa2695 (git): file.c: no longer used functions
- * file.c (getcwdofdrv, append_fspath): no longer used except for
cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:30 AM Revision 83185f91 (git): dir.c: fix recursion
- * dir.c (glob_make_pattern): names under recursive need to be single
basenames to match for each name. [ruby-core:47418] [Bug #6977]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:03 AM Revision f1df537a (git): test_dir_m17n.rb: test_glob_incompatible
- * test/ruby/test_dir_m17n.rb (TestDir_M17N#test_glob_incompatible):
move from test_dir.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 AM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
- On 04/09/12 11:01, jballanc (Joshua Ballanco) wrote:
>
> Issue #6973 has been updated by jballanc (Joshua Ballanco).
>
>
> Just a suggestion, but I don't think "integral" really explains what
> you want this method to do, an... -
01:44 AM Revision f65e683c (git): dir.c: not recurse dot files
- * dir.c (glob_helper): skip dot files early on recursive match.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:44 AM Revision 9e9dff33 (git): * 2012-09-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:44 AM Revision 65a61792 (git): dir.c: enumm answer
- * dir.c (enumm answer): remap NO and YES to false and true,
respectively.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/04/2012
-
10:57 PM Bug #6978 (Assigned): RDoc does not convert <Ruby_element>@<paragraph_name> to hyperlinks
-
06:44 PM Bug #6978 (Closed): RDoc does not convert <Ruby_element>@<paragraph_name> to hyperlinks
- With attached "test.rb" I issue command "rdoc test.rb" and gets some HTML doc. In the HTML doc I expect to see "Test@Some+Paragraph" replaced with a hyperlink with text "Some Paragraph at Test" and reference to "Some Paragraph" paragraph...
-
10:27 PM Feature #6946: FIPS support?
- vo.x (Vit Ondruch) wrote:
> It is getting better, but there is still a lot of failing tests. Please see attached output-r36887.txt. Thank you.
Thank you for the list! Something is totally wrong with the FIPS module I compiled. It hap... -
04:29 PM Feature #6946 (Open): FIPS support?
- It is getting better, but there is still a lot of failing tests. Please see attached output-r36887.txt. Thank you.
-
07:23 AM Feature #6946: FIPS support?
- What a mess. Versions prior to 1.0.0 (FIPS, too) require DSS1 as the digest to be used in conjunction with DSA. DSS1 is just SHA-1 under a different name. Now while non-FIPS >= 1.0.0 allows both DSS1 and SHA-1, the FIPS version suddenly ...
-
07:13 AM Feature #6946 (Closed): FIPS support? - This issue was solved with changeset r36893.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* Reference feature #6946 in Changelog entry. -
10:23 PM Feature #6936: Forbid singleton class and instance variabls for float
- (2012/08/27 22:35), NARUSE, Yui wrote:
> (2012/08/27 17:46), KOSAKI Motohiro wrote:
>>>> 後者の具体的手法はいくつかあると思いますが、即値は最初から frozen にしておくとかもありかなと思っています。
>>>
>>> Numeric は freeze しちゃう,というのだとやり過ぎでしょうか.
>>
>> ぼくはありだとおもう。数という概念は世界がはじ... -
09:45 PM Bug #6965 (Closed): Ramdom test failure for test_pstore_files_are_accessed_as_binary_files - This issue was solved with changeset r36900.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
test_pstore.rb: fix for timeout
* test/ruby/envutil.rb (EnvUt... -
07:00 PM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
- Just a suggestion, but I don't think "integral" really explains what you want this method to do, and it is confusingly close to "integer?". Why not Numeric#whole_number?
Personally, I'm not entirely convinced this method is a good ide... -
06:03 AM Feature #6973 (Assigned): Add an #integral? method to Numeric to test for whole-number values
- Numeric#integer? checks whether an instance is an Integer. It is often useful to check whether the value of a non-Integer variable is actually a whole number, and the #integer? method doesn't help here.
This patch adds Numeric#integr... -
05:00 PM Feature #6975: Changing UID/GID when calling spawn/popen
- posix_spawn has an option to dropping privileges: POSIX_SPAWN_RESETIDS
I guess primitive setuid/setgid is too generic for this use case.
-
04:39 PM Feature #6975: Changing UID/GID when calling spawn/popen
- Here is a patch
https://github.com/nobu/ruby/compare/uid-gid_exec_options
But I have no ideas how to test this feature. -
01:16 PM Feature #6975 (Closed): Changing UID/GID when calling spawn/popen
- Hello,
If I am not wrong it seems that there is no way to properly drop all privileges when spawning a process with spawn/popen.
AFAIK, proper privilege dropping should be done after the fork() and before the exec() and there doesn... -
12:45 PM Revision 0dc94b8b (git): test_pstore.rb: fix for timeout
- * test/ruby/envutil.rb (EnvUtil#invoke_ruby): show Timeout::Error
instead of IOError if the timeout has expired.
* test/test_pstore.rb
(PStoreTest#test_pstore_files_are_accessed_as_binary_files):
increase timeout because this test... -
11:59 AM Bug #6974 (Closed): Functionality Loss in Bignum for Very Large Numbers (5.9 million digits)
- The 'run' program for hwm = 10 runs fine in 1.9.2 (ruby 1.9.2p290 (2011-07-09) [i386-mingw32]) but it goes awry at coefficient 526 for 1.9.3. The numerator and denominator are correct so I suspect Bignum and not BigDecimal (the 'check' p...
-
08:06 AM Feature #6497 (Closed): Disabling TLS client-side renegotation
- Closing, as it did not seem to have negative impact of any kind so far.
-
06:06 AM Feature #6958: buggy BigDecimal#integer?
- Sure. I've created #6973 for this, although I've switched the method names around from my suggestion above. I'm guessing there's rather more code relying on #integer?'s current implementation than I'd want to personally fix right now :...
-
03:19 AM Bug #6957: Net::HTTP#request_get bug
- Also, if you only want content-length, a HEAD request will be sufficient:
[...]
http.head uri.request_uri do |req|
puts req['content-length']
end -
02:52 AM Revision 4ef43fc0 (git): adjust style
- * thread_pthread.c, vm_eval.c: adjust style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:35 AM Revision 99e63fba (git): * vm_eval.c (ruby_eval_string_from_file_protect): initializer element is not computable at load time.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:40 AM Revision 7d79f355 (git): rbinstall.rb: skip symlinks
- * tool/rbinstall.rb (install_recursive): skip symlinks, which are made
by `make runnable'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:57 AM Revision 1ff165c9 (git): property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:57 AM Revision af6c038b (git): remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:29 AM Feature #6972: 特化命令opt_emptyの追加
- いいんでないかと思うのですが,2点ほど.
- opt_empty だと empty なのか empty? なのかわからないから,opt_empty_p
がいいでしょうか.
- テストは? 再定義された時のテストも忘れずに.
(2012/09/03 23:24), Glass_saga (Masaki Matsushita) wrote:
>
> Issue #6972 has been reported by G...
09/03/2012
-
11:28 PM Feature #6311: memmem()によるrb_memsearch()の高速化
- 時間が経ってしまいましたが、いかがでしょうか。
特に反対や議論がないようであれば、取り込んで頂けると幸いです。 -
11:24 PM Feature #6972 (Closed): 特化命令opt_emptyの追加
- YARVの特化命令opt_emptyの追加を提案します。
opt_emptyはrecv.empty?に対応する特化命令で、opt_sizeやopt_lengthと同じくString、Array、Hashがレシーバである場合に有効です。
次のベンチマークでopt_emptyを有効にした場合のパフォーマンスを比べました。
require 'benchmark'
Ary = []
Times = 10_000_000
Benchmark.bm do... -
10:54 PM Revision 4bb125f9 (git): * test/openssl/test_asn1_rb:
- test/openssl/test_ssl_session.rb:
test/openssl/test_x509name.rb:
test/openssl/test_buffering.rb:
test/openssl/test_x509cert.rb:
test/openssl/test_ssl.rb: Refactor code that leads to warnings on
Ruby CI.
git-svn-id: svn+ssh:/... -
10:13 PM Revision b6c38f67 (git): * Reference feature #6946 in Changelog entry.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:09 PM Revision a6a52c9c (git): * 2012-09-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:09 PM Revision 78755b8d (git): * test/openssl/utils.rb: Use DSS1 as DSA signature digest for all
- OpenSSL versions < 1.0.0.
[ruby-core:47405]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:39 PM Feature #6163: Remove syck YAML extension
- Seems that in r36786 the syck was dropped, but its directory structure remains in the SCM. It should be probably removed as well. Thank you.
-
09:22 PM Bug #6971 (Closed): r36832 breaks test/mkmf/test_convertible.rb
- This issue was solved with changeset r36890.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
ruby.h: suppress warnings
* include/ruby/ruby.h (rb_float_value):... -
08:08 PM Bug #6971 (Closed): r36832 breaks test/mkmf/test_convertible.rb
- # make test-all TESTS=test/mkmf/test_convertible.rb
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -mtune=generic -fPIC -m... -
05:28 PM Bug #6967 (Closed): Vector#inner_product は複素数ベクトルのとき不適切
- #6966 に関連して,Vector#inner_product は成分の単なる積和ですが,複素数ベクトル v については v.inner_product(v) が非負性を破るので,内積の定義に当てはまりません。
複素数ベクトルでは内積といえばエルミート内積(<u,v> = Σ u_i v_i*)なので(* は複素共役),inner_product の定義を
p = 0
each2(v) {|v1, v2|
p += v1 *... -
02:49 PM Bug #6966 (Closed): Vector#norm は複素数ベクトルの正しいノルムを返さない
- This issue was solved with changeset r36887.
5, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
matrix.rb: complex vector
* lib/matrix.rb (Vector#magnitude): accum... -
10:56 AM Bug #6966 (Closed): Vector#norm は複素数ベクトルの正しいノルムを返さない
- Vector#norm は,単に成分の自乗和の正の平方根を取っていますが,これだと成分が複素数のときに正しい値を返しません。成分の絶対値自乗和の正の平方根を取るべきではないでしょうか。
Vector[Complex(0, 1), 1].norm
=> 0.0
Vector[Complex(0, 1), 0].norm
=> Math::DomainError: Numerical argument is out of domain - "sqrt"
-
01:06 PM Feature #6946 (Assigned): FIPS support?
- r36884 breaks CentOS 5.6 with OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
http://c5632.rubyci.org/~chkbuild/ruby-trunk/log/20120903T030102Z.log.html.gz
http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20120903T030301Z.log.html.gz -
10:53 AM Feature #6946: FIPS support?
- The applied changes now allow us to tweak algorithms/key lengths with respect to running in FIPS mode or not.
@Vit: Could you please confirm that this improves the situation with regard to OpenSSL tests? Could you provide me a list of... -
10:14 AM Feature #6946 (Closed): FIPS support? - This issue was solved with changeset r36884.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/extconf.rb: Detect OpenSSL_FIPS macro
ext/openssl/... -
12:22 PM Revision 20001731 (git): ruby.h: suppress warnings
- * include/ruby/ruby.h (rb_float_value): suppress warnings.
[ruby-core:47406][Bug #6971]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:08 PM Revision 1f29acae (git): * .travis.yml (before_script): remove debug flag.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:51 AM Feature #6958 (Assigned): buggy BigDecimal#integer?
- Ok, then you want to request a new feature?
-
09:31 AM Revision 98fded61 (git): ruby-additional.el
- * misc/ruby-additional.el: missing functions in Emacs 24.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:49 AM Revision 7c2230bd (git): matrix.rb: complex vector
- * lib/matrix.rb (Vector#magnitude): accumulate squares of absolute
values to fix for complex vector. [ruby-dev:46100] [Bug #6966]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:22 AM Revision a4ce3ab4 (git): remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:17 AM Revision c5ad3214 (git): * Correct header format of my ChangeLog entries.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:14 AM Revision e29819df (git): * ext/openssl/extconf.rb: Detect OpenSSL_FIPS macro
- ext/openssl/ossl.c: Expose OpenSSL::OPENSSL_FIPS constant to
indicate whether OpenSSL runs in FIPS mode.
test/openssl/test_pkey_dh.rb: Generate 256 bit keys for
non-FIPS installations to improve test performance (e.g. for
rubyci)... -
01:00 AM Bug #6965 (Closed): Ramdom test failure for test_pstore_files_are_accessed_as_binary_files
- =begin
test_pstore_files_are_accessed_as_binary_files(PStoreTest) sometime fails on ci.rubyinstaller.org.
2) Error:
test_pstore_files_are_accessed_as_binary_files(PStoreTest):
IOError: stream closed
C:/Users/Worker/Jenkins/w... -
12:06 AM Bug #6964 (Closed): Documentation for Shellwords
- I've added a patch to improve the documentation of lib/shellwords.rb
09/02/2012
-
10:29 PM Feature #6946: FIPS support?
- Sounds reasonable. Thank you!
-
10:01 PM Feature #6946: FIPS support?
- I believe the proper way to handle differences in FIPS mode is to expose a handle that
allows to detect whether we are running in FIPS mode or not. That way we can configure
appropriate algorithms and key sizes in the tests. This shou... -
10:27 PM Feature #6962: Use lighter hash structure for methods table, instance variable positions, constants
- It seems that I'm using "Coalesced Hashing" http://en.wikipedia.org/wiki/Coalesced_hashing
with some improvements:
- moving collision items which is not in its main position (as in Lua tables)
- sibling probing for free items (test 4 ... -
09:59 PM Feature #6962 (Closed): Use lighter hash structure for methods table, instance variable positions, constants
- I've experimented with replacing `struct st_table` with lighter hash structure.
I were inspired by Lua tables, so that hash were created similar:
- open addressing but with elements chaining instead of any kind of probing
- there is... -
10:03 PM Bug #6938: [PATCH] Increase DH key size to fix test suite in FIPS mode
- MartinBosslet (Martin Bosslet) wrote:
> OK, I found a way to use a cached key (r36881). This still leaves us with the problem that "test_new" in test_pkey_dh.rb consumes a lot of time. But I think I found a way how to handle this cleanl... -
09:58 PM Bug #6938: [PATCH] Increase DH key size to fix test suite in FIPS mode
- OK, I found a way to use a cached key (r36881). This still leaves us with the problem that "test_new" in test_pkey_dh.rb consumes a lot of time. But I think I found a way how to handle this cleanly (cf. #6946).
-
08:51 PM Bug #6938: [PATCH] Increase DH key size to fix test suite in FIPS mode
- > Why TEST_KEY_DH1024 in test/openssl/utils.rb doesn't use cache?
Unfortunately DH doesn't allow serialization of the private exponent out of the box like the other PKeys do. But 1024 bits generation is eating up a lot of time, way to... -
05:24 AM Bug #6938: [PATCH] Increase DH key size to fix test suite in FIPS mode
- Why TEST_KEY_DH1024 in test/openssl/utils.rb doesn't use cache?
-
09:26 PM Feature #6638: Array as queue
- I've update branch a bit, cause previous code leads to some performance degradation for average application (which do not use array as queue).
New code does not hurts performance of average application and still provides great perform... -
07:53 PM Feature #6958: buggy BigDecimal#integer?
- On 02/09/2012 05:45, nobu (Nobuyoshi Nakada) wrote:
>
> Issue #6958 has been updated by nobu (Nobuyoshi Nakada).
>
> Status changed from Open to Rejected
>
> I was wrong.
>
> Numeric#integer? returns true if the receiver... -
01:45 PM Feature #6958 (Rejected): buggy BigDecimal#integer?
- I was wrong.
Numeric#integer? returns true if the receiver is an instance of integral class, or false.
BigDecimal is not an integral object, so it must return false always, as well as Float.
1.0.integer? #=> false
What you ex... -
01:20 PM Feature #6958: buggy BigDecimal#integer?
- Currently BigDecimal does not define #integer? method.
It is Numeric#integer? and returns false always.
Possible options occur to me are:
(1) define BigDecimal#integer?
(2) change Numeric#integer?, like as your workaround.
It mi... - 04:00 PM Revision 9b6f66c7 (git): * 2012-09-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:00 PM Revision c38aee59 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:50 PM Revision 5aa3caaa (git): * test/openssl/utils.rb: Use a cached DH key instead of generating a
- new one each time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:46 AM Bug #6959 (Closed): Net/HTTPS tests: fixed port usage cause issues on CI
- This issue was solved with changeset r36877.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Use 0 as port like #6766 [Bug #6959] -
03:21 AM Bug #6959 (Closed): Net/HTTPS tests: fixed port usage cause issues on CI
- =begin
Hello,
RubyInstaller's CI worker compiles and run tests for both x86 and x64 builds from trunk.
Sometimes, these builds are run in parallel and causing random (({Errno::EADDRINUSE})):
8) Error:
test_verify_none(Test... -
05:38 AM Bug #6957 (Rejected): Net::HTTP#request_get bug
- I understand what you say, but it is because of compatibility.
Please use break as you wrote. -
05:06 AM Revision 2c1939f4 (git): Fix typo of r36878
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/01/2012
- 08:46 PM Revision 271d557b (git): * 2012-09-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:46 PM Revision 8e9bbfd5 (git): * lib/webrick/ssl.rb (WEBrick::Config::SSL): add new key
- SSLTmpDhCallback to set SSLContext#tmp_dh_calback.
* lib/webrick/ssl.rb (WEBrick::GenericServer#setup_ssl_context):
follow above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:46 PM Revision b238b5be (git): Use 0 as port like #6766 [Bug #6959]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:33 PM Feature #6958 (Rejected): buggy BigDecimal#integer?
- =begin
BigDecimal#integer? always return false, which is wrong in many cases, as shown below.
x, y = BigDecimal('1'), BigDecimal('1.0')
x.integer?
#=> false
y.integer?
#=> false
x == x.to_i
#=> true
y == y.to_i... - 09:51 AM Revision d4fe9e00 (git): * lib/set.rb (#initialize_copy, #eql): Use instance_variable_get
- instead of instance_eval.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:41 AM Revision 1f65a21b (git): * io.c: fix typo in io/console example.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:03 AM Revision 4d8cca98 (git): * 2012-09-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:03 AM Revision 059f14a6 (git): configure.in: unquote
- * configure.in (LIBDIR_BASENAME): unquote shell variable.
[ruby-core:47267] [Bug #6903]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:57 AM Bug #6903: [[Ruby 1.9:]] --enable-load-relative broken on systems with /lib64
- =begin
you might want to test your fix on OSX where
gcc -print-multi-os-directory
returns
x86_64
=end
08/31/2012
-
09:50 PM Feature #6875 (Closed): Make test/unit default gem
- This issue was solved with changeset r36872.
Kouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/test/unit/test-unit.gemspec: Make test/unit default gem.
... -
06:56 PM Feature #6503: Support for the NPN extension to TLS/SSL
- Protocols to be advertised by the server can now be set like this:
ctx = ... # some OpenSSL::SSL::SSLContext
ctx.npn_protocols = ["spdy/3", "spdy/2", "http/1.1"]
Selection on the client is handled via callback:
ctx = ... # some... -
06:47 PM Feature #6503 (Closed): Support for the NPN extension to TLS/SSL - This issue was solved with changeset r36871.
Ilya, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/extconf.rb: Check existence of OPENSSL_NPN_NEGOTIAT... -
05:44 PM Bug #6956 (Closed): cannot build with nmake
- This issue was solved with changeset r36870.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
common.mk: broken nmake
* common.mk: VPATH in dependencies work... -
05:43 PM Bug #6956 (Open): cannot build with nmake
-
03:35 PM Bug #6956 (Closed): cannot build with nmake
- This issue was solved with changeset r36867.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
common.mk: broken nmake
* common.mk: remove VPATH from rules fo... -
03:22 PM Bug #6956 (Closed): cannot build with nmake
- r36864以降、以下のエラーが出てビルドできません。
NMAKE : fatal error U1073: 'id.h' のビルド方法が指定されていません。 -
05:00 PM Bug #6957 (Rejected): Net::HTTP#request_get bug
- Hello,
Looking at the source for Net::HTTP#request_get it says that if you pass in a block it will not read the body unless you call #read_body on the response. But when I pass in a block it seems that it reads the when the block exit... -
02:34 PM Bug #6955 (Closed): Unexpected result of BigDecimal('1e-324').to_f on Windows
- This issue was solved with changeset r36865.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): use self's sig... -
11:25 AM Bug #6955 (Closed): Unexpected result of BigDecimal('1e-324').to_f on Windows
- After applying r36854, BigDecimal('1e-324').to_f returns "-0.0" instead of "0.0".
C:\>ruby -rbigdecimal -ve "p BigDecimal('1e-323').to_f"
ruby 2.0.0dev (2012-08-30 trunk 36856) [i386-mswin32_100]
1.0e-323
C:\>ruby -rbigdecimal -v... - 12:50 PM Revision ed931252 (git): * lib/test/unit/test-unit.gemspec: Make test/unit default gem.
- [Feature #6875] [ruby-dev:46051]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:22 AM Bug #6954: Build failure on trunk 36856 with VC 2010
- Seems that the snapshot is no longer packaging id.h?
Or perhaps is that id.h is regenerated over and over? I did notice that just by doing make test a few times.
Perhaps .id.h.time (ID_H_TARGET) is somehow related to this? -
11:15 AM Bug #6954 (Closed): Build failure on trunk 36856 with VC 2010
- I get the following failure on Windows XP with VC 2010 while building Nighty Snapshot(trunk@34850).
C:\work\snapshot>win32\configure.bat
Creating Makefile.new
type `nmake' to make ruby.
C:\work\snapshot>nmake
Microsoft(R) Progra... -
09:47 AM Revision 25e6db3e (git): * ext/openssl/extconf.rb: Check existence of OPENSSL_NPN_NEGOTIATED.
- ext/ossl_ssl.c: Support Next Protocol Negotiation. Protocols to be
advertised by the server can be set in the SSLContext by using
SSLContext#npn_protocols=, protocol selection on the client is
supported by providing a selection cal... -
08:44 AM Revision ca1c6093 (git): common.mk: broken nmake
- * common.mk: VPATH in dependencies works. [Bug #6956]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:43 AM Revision babb80f4 (git): * lib/set.rb (Set#{each,reject!,select!}, SortedSet#each): Pass
- the original block through instead of creating one that only
yields the passed argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:13 AM Bug #6950: ruby-mode: comint-previous-input does not work
- Many thanks. I'll modify the .irbrc right away.
-
12:53 AM Bug #6950: ruby-mode: comint-previous-input does not work
- On 30/08/12 15:54, Alex Young wrote:
<snip>
> This is RVM at work: https://rvm.io/workflow/irbrc/
<snip>
Oh, I should add that my .irbrc is empty here.
--
Alex - 07:30 AM Revision e03d266c (git): * lib/ipaddr.rb: Introduce several new error classes where only
- ArgumentError and StandardError were used. IPAddr::Error is
their common ancestor class that inherits from ArgumentError for
backward compatibility. Submitted by Jon Daniel. Fixes #173 on
GitHub.
git-svn-id: svn+ssh://ci.ruby-l... -
06:35 AM Revision 926552f5 (git): common.mk: broken nmake
- * common.mk: remove VPATH from rules for generated files, because
nmake does not work. [Bug #6956]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:57 AM Bug #6909: Documentation for XMLRPC
- This looks good, please commit it.
-
05:56 AM Bug #6947: Documentation for Pathname
- This looks good, please commit it.
-
05:48 AM Bug #6947: Documentation for Pathname
- Hi Eric!
Here's the patch we discussed, see 0002-*-Pathname.patch
Thanks -
05:56 AM Bug #6929: Documentation for Ripper
- This looks good, please commit it.
-
05:36 AM Bug #6929: Documentation for Ripper
- Hi Eric!
Thanks for your feedback, I've added a patch sans the ripper/extconf.rb and ripper/tools changes as 0002-* - 05:52 AM Revision 15293df7 (git): * test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_to_f): added
- for previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:34 AM Revision 1d1130ee (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): use self's sign to
- determine 0.0 and Inf's sign instead of internal double value's.
Reported by phasis68 (Heesob Park) at [ruby-core:47381] [Bug #6955]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:31 AM Revision 470c941c (git): id.h: independent from parse.h
- * template/id.h.tmpl, tool/id2token.rb: make id.h independent from
parse.h, and make parse.c dependent on it instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:27 AM Revision 2e42f37a (git): mkmf.rb: fix race conditions at install-ext
- * lib/mkmf.rb (create_makefile): fix race conditions at install-ext.
target files need to depend on destination directory timestamp
files, not phony trgets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36863 b2dd03c8-39d4-4d8f-... -
05:03 AM Revision dde690bc (git): vm_trace.c: freed memory access
- * vm_trace.c (clean_hooks): do not access freed memory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:02 AM Revision 4faf2198 (git): vm_trace.c: uninitialized state
- * vm_trace.c (rb_threadptr_exec_event_hooks): fix uninitialized state
when no events is excuted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:58 AM Revision 667a6a85 (git): * 2012-08-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:58 AM Revision 30fbd739 (git): fix dependency
- * ext/json/parser/depend: fix dependency for error that rb_float_new
is not found.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/30/2012
-
11:59 PM Bug #6950: ruby-mode: comint-previous-input does not work
- On 30/08/12 01:57, drbrain (Eric Hodel) wrote:
>
> Issue #6950 has been updated by drbrain (Eric Hodel).
>
>
> =begin
> Additionally, perhaps your problem is your .irbrc? My irb prompt is unchanged since 1.8.7.
>
> 1.9.2... -
09:57 AM Bug #6950: ruby-mode: comint-previous-input does not work
- =begin
Additionally, perhaps your problem is your .irbrc? My irb prompt is unchanged since 1.8.7.
1.9.2-p290:
irb(main):001:0> RUBY_VERSION
=> "1.9.2"
irb(main):002:0> RUBY_PATCHLEVEL
=> 290
1.9.3-p194:
irb(main... -
09:57 AM Bug #6950 (Third Party's Issue): ruby-mode: comint-previous-input does not work
- report it to emacs
-
09:34 AM Bug #6950 (Third Party's Issue): ruby-mode: comint-previous-input does not work
- On RVM irb with ruby 1.9.3-p194, the prompt is somewhat different from irb with ruby 1.8.x
On ruby 1.8, the prompt looks like:
irb(main):001:0> _
On ruby 1.9.x, the prompt looks like:
ruby-1.9.2-p180 :001 > _
Since mis... - 04:21 PM Revision 09729a56 (git): * 2012-08-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:21 PM Revision bed2ff29 (git): merge revision(s) 36852:
- * lib/uri/ftp.rb (URI::FTP#initialize): raise InvalidURIError if "//"
is not present [ruby-core:47344] [Bug #6945]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:17 PM Bug #6944 (Closed): BigDecimal#to_f breaks for numbers too small to be representable in Float
- This issue was solved with changeset r36854.
Adriano, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
bigdecimal.c: check underflow
* ext/bigdecimal/bigdecimal.c (... -
09:22 AM Revision 76d0abd3 (git): * io.c (rb_io_close): call rb_last_status_clear.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:22 AM Bug #6945 (Closed): URI::parse throws NoMethodError on some ftp-URIs
- This issue was solved with changeset r36852.
Eike, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/uri/ftp.rb (URI::FTP#initialize): raise InvalidURIError if ... -
07:53 AM Feature #6936: Forbid singleton class and instance variabls for float
- >>> +1
>>
>> わたしも +1。
>
> こーゆうのが++でないのがRubyistか、って思いました。
> (ひょっとしてRuby界では常識? +=1じゃないんですね。)
たぶんそういう言語美意識的な深い意味はなくてたんにruby-coreで +1 を使う人が
多いのでそれに影響されてるだけだと思いますよ -
01:59 AM Feature #6936: Forbid singleton class and instance variabls for float - 稲葉と申します。
部外者(Perl屋)からの茶々です。すみません。
(2012/08/28 22:04), Kenta Murata wrote:
> むらたです。
>
> 2012/8/28 U.Nakamura <usa@garbagecollect.jp>:
>> こんにちは、なかむら(う)です。
>>
>> In message "[ruby-dev:46082] Re: [ruby-trunk - Feature #6... -
07:20 AM Revision d90b0236 (git): vm_trace.c: warning
- * vm_trace.c (exec_hooks): supress clobbered warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:17 AM Revision d7ca01a7 (git): bigdecimal.c: check underflow
- * ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): check underflow since
strtod() sets errno to ERANGE at underflow too. [ruby-core:47342]
[Bug #6944]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36854 b2dd03c8-39d4-4d8f-98ff-82... -
06:15 AM Bug #6947: Documentation for Pathname
- "Pathname represents ..." is good
-
06:12 AM Bug #6929: Documentation for Ripper
- =begin
When ((%make rdoc%)) runs it starts at the root and looks for ".document" files in the current directory. These files contain the paths that RDoc is allowed to traverse. Subdirectories may contain .document files, and ext/.docu... - 04:01 AM Revision aa7dc0f3 (git): * lib/set.rb (Set#{<,>,<=,>=}): Define comparison operators as
- shorthand for the {proper_}{subset?,superset?} methods (finally).
Given a push by Alexander E. Fischer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:22 AM Revision 37cc18d5 (git): * lib/uri/ftp.rb (URI::FTP#initialize): raise InvalidURIError if "//"
- is not present [ruby-core:47344] [Bug #6945]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e