Project

General

Profile

Activity

From 09/04/2012 to 09/10/2012

09/10/2012

06:59 PM Feature #7003 (Rejected): Please decide. MVM to be with 2.0?
Let's make it sure. There'll be *NO* mvm in 2.0, right?
If the feature shall be included, we have almost no time left. We have to work hard to merge it.
shyouhei (Shyouhei Urabe)
08:21 AM Revision f228a4b2 (git): thread.c: static
* thread.c (patrol_thread): should be static.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:29 AM Feature #4538 (Closed): [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
This issue was solved with changeset r36944.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/socket/basicsocket.c (rsock_bsock_send):
avoid unnecessar...
kosaki (Motohiro KOSAKI)
01:41 AM Revision 91987f6b (git): * ext/socket/{basicksocket,init,udpsocket}.c: revert some parts of
r36944. it breaks mswin/mingw ruby and brought into many many
crashes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:20 AM Revision 7d59a963 (git): * enc/depend: fixed wrong change in a part of r34802.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura

09/09/2012

09:32 PM Bug #5258 (Closed): SizedQueueにBug #5195と同様のバグ
This issue was solved with changeset r36938.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/thread.rb (Queue#pop): Fixed double registration issue wh...
kosaki (Motohiro KOSAKI)
08:51 PM Bug #5355: Sync_mにBug #5195やBug #5258と同様のバグ
これも #5195と同じく timeout moduleが予期せぬタイミングでexception投げるケースを考えると ensure節を1つ足しただけではなにも解決してないのですが、悪化することはないので入れます kosaki (Motohiro KOSAKI)
08:34 PM Bug #5355 (Closed): Sync_mにBug #5195やBug #5258と同様のバグ
This issue was solved with changeset r36936.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/sync.rb (Sync_m#sync_lock): Fixed wakeup/raise unsafe cod...
kosaki (Motohiro KOSAKI)
08:33 PM Bug #6911: Sync_m#sync_unlock で ThreadError が発生する場合がある
余談なんですけど、なんで Mutex.sleep を thread.run で起こせる仕様なんでしたっけ? Thread.stop, Thread.sleep 以外は起こせないほうが普通の感覚かと思うのですが。
とはいえ、スレッドライブラリはTimeout moduleとかでexeptionが突然飛んできても大丈夫なように書いてあるべきなので、この制限をいれてもSync_mを直さないといけないという結論は変わらないのですが
kosaki (Motohiro KOSAKI)
08:28 PM Bug #6911 (Closed): Sync_m#sync_unlock で ThreadError が発生する場合がある
調査した結果 5355と同じだと分かったのであっちのパッチいれます。ごめんね kosaki (Motohiro KOSAKI)
06:16 PM Bug #6081 (Closed): [PATCH] io.c (do_io_advise): raise exception without segfaulting
This issue was fixed at 34825. Sorry for the delay!
kosaki (Motohiro KOSAKI)
06:10 PM Feature #4570 (Closed): [PATCH v2] io.c (rb_io_close): release GVL if possible
This issue was solved with changeset r36932.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (nogvl_close, maygvl_close, nogvl_fclose, maygvl_fclose):
...
kosaki (Motohiro KOSAKI)
05:29 PM Revision 84c77c15 (git): * ext/socket/basicsocket.c (rsock_bsock_send):
avoid unnecessary select() calls before doing I/O
Patch by Eric Wong. [Feature #4538] [ruby-core:35586]
* ext/socket/init.c (rsock_s_recvfrom): ditto.
* ext/socket/init.c (rsock_s_accept): ditto.
* ext/socket/udpsocket.c (udp_send): di...
kosaki (Motohiro KOSAKI)
05:11 PM Revision 946f7fc7 (git): * io.c (nogvl_close, maygvl_close, nogvl_fclose, maygvl_fclose):
suppress integer <-> pointer cast warnings.
[Feature #4570] [ruby-core:35711]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
05:11 PM Revision 4c10b364 (git): * io.c (rb_io_close): notify fd close before releasing gvl.
* io.c (fptr_finalize): modify fptr->mode before releasing gvl.
remove unnecessary rb_thread_fd_close().
[Feature #4570] [ruby-core:35711]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
04:20 PM Bug #6629 (Closed): [PATCH] io.c: avoid rb_thread_wait_fd() if we may call rb_io_wait_readable()
This issue was solved with changeset r36931.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (io_bufread): removed unnecessary rb_thread_wait_fd().
P...
kosaki (Motohiro KOSAKI)
03:45 PM Bug #6830 (Feedback): test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
kosaki (Motohiro KOSAKI)
03:27 PM Bug #6278 (Closed): in `join': deadlock detected (fatal)
This issue was solved with changeset r36926.
Kurt, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* thread.c (rb_mutex_lock): stop multiple threads use
pthread_c...
kosaki (Motohiro KOSAKI)
03:17 PM Revision 252334e0 (git): * 2012-09-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision aa8dd029 (git): * process.c: exec() requires to be single threaded also on Haiku.
by Takashi Toyoshima <[email protected]>
https://github.com/ruby/ruby/pull/178
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:03 PM Bug #7000 (Rejected): Tk::Scrollable の include が成功しない?
るりまを修正していた際に気付いたのですが、以下の include Scrollable している点はすべてうまく動作しないのではないでしょうか。require に失敗する気がします。
$ grep Scrollable **/*
...
ext/tk/lib/tkextlib/bwidget/spinbox.rb: include Scrollable
ext/tk/lib/tkextlib/bwidget/tree.rb: includ...
sho-h (Sho Hashimoto)
02:01 PM Revision 807c13cc (git): merge revision(s) 35496:
* ext/zlib/extconf.rb: detect z_crc_t type which will be defined
since zlib-1.2.7.
* ext/zlib/zlib.c (rb_zlib_crc_table): use z_crc_t if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@3693...
naruse (Yui NARUSE)
12:32 PM Revision 7198053a (git): * lib/thread.rb (Queue#pop): Fixed double registration issue when
mutex.sleep is interrupted. [Bug #5258] [ruby-dev:44448]
* lib/thread.rb (SizedQueue#push): ditto.
* test/thread/test_queue.rb (test_sized_queue_and_wakeup,
test_queue_pop_interrupt, test_sized_queue_pop_interrupt,
test_sized_queue_push...
kosaki (Motohiro KOSAKI)
11:36 AM Revision 61f53050 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:34 AM Revision 2248a8ce (git): * lib/sync.rb (Sync_m#sync_lock): Fixed wakeup/raise unsafe code.
Patched by Masaki Matsushita. [Bug #5355] [ruby-dev:44521]
* test/thread/test_sync.rb (test_sync_lock_and_wakeup,
test_sync_upgrade_and_wakeup, test_sync_lock_and_raise):
new test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
kosaki (Motohiro KOSAKI)
11:32 AM Revision 5dbbee86 (git): * include/ruby/intern.h (rb_thread_blocking_region): Added
a comment of recommended alternative way.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
11:29 AM Revision 14917622 (git): * lib/sync.rb (Sync_m): Removed RCS_ID.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
10:33 AM Bug #6995 (Assigned): Code converter not found (UTF-8 to EUC-TW)
=begin
Some transcoders are missing.
$ ruby -e 'u = Encoding::UTF_8' -e 'puts Encoding.list.find_all{|e|e != u and !Encoding::Converter.search_convpath(e, u) rescue true}'
Emacs-Mule
EUC-TW
IBM864
Windows-1258
GB1988
mac...
nobu (Nobuyoshi Nakada)
01:01 AM Bug #6995 (Rejected): Code converter not found (UTF-8 to EUC-TW)
Hello, recently I was doing some conversion from Unicode into Chinese encodings, and I came across what may be a bug in Ruby. Attempting to transcode a traditional Chinese character from UTF-8 to EUC-TW results in a "code converter not f... blueowl (blue owl)
09:24 AM Revision fde6de9f (git): * test/ruby/test_io.rb (test_advise_pipe): new test to check
io.advise() against anonymous io object don't make crash.
made by Eric Wong. [Bug #6081] [ruby-core:42880]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
09:10 AM Revision 4b58f39d (git): * io.c (nogvl_close, maygvl_close, nogvl_fclose, maygvl_fclose):
new functions.
* io.c (fptr_finalize): release GVL if possible.
Patched by Eric Wong. [Feature #4570] [ruby-core:35711]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
07:20 AM Revision 3df2fc2d (git): * io.c (io_bufread): removed unnecessary rb_thread_wait_fd().
Patch by Eric Wong. [Bug #6629] [ruby-core:45789]
* io.c (rb_io_sysread): ditto.
* io.c (copy_stream_fallback_body): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
06:44 AM Revision 390bbfed (git): merge revision(s) 35687:35691:
* ext/zlib/extconf.rb: Use an exception instaed of bare puts.
* ext/psych/extconf.rb: Use an exception instaed of bare abort.
* ext/fiddle/extconf.rb: Use an exception instaed of bare abort.
* ext/readline/extc...
kosaki (Motohiro KOSAKI)
06:39 AM Revision 1048cf39 (git): merge revision(s) 35685
* ext/extmk.rb: Show a message when extconf.rb raised an exception.
* ext/openssl/extconf.rb: Use exception raising instead of message
and/or abort. We want to display error message to console _and_
logging into mkmf.log.
git-svn-...
kosaki (Motohiro KOSAKI)
06:30 AM Revision c2cb8ea3 (git): merge revision(s) 36926:
* thread.c (rb_mutex_lock): stop multiple threads use
pthread_cond_timedwait() concurrently. [Bug #6278] [ruby-core:44275]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36928 b2dd03c8-39d4-4d8f-98ff-823fe69b...
kosaki (Motohiro KOSAKI)
06:27 AM Revision 44f9d99e (git): * 2012-09-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:27 AM Revision 10c14095 (git): * thread.c (rb_mutex_lock): stop multiple threads use
pthread_cond_timedwait() concurrently. [Bug #6278] [ruby-core:44275]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
04:23 AM Bug #6997 (Closed): Improve documentation for OptionParser
The documentation for OptionParser should be improved.
The current examples and and documentation do not yet describe
how to access non option args
I suggest to change the simple example in the doc as follows:
opts.banner = ...
eike.rb (Eike Dierks)
04:09 AM Bug #6996 (Closed): Documentation for OptionParser includes an email adress which is not deliverable
In the Documentation for OptionParser
http://ruby-doc.org/stdlib-1.9.3/libdoc/optparse/rdoc/OptionParser.html
There's an email adress included:
The above examples should be enough to learn how to use this class.
If you have...
eike.rb (Eike Dierks)
01:06 AM Feature #6163 (Closed): Remove syck YAML extension
sorah (Sorah Fukumori)
12:25 AM Bug #6994: yield plus splat unwraps too much
What you're saying makes some sense if we treat all multiple-argument blocks as having an implicit () around them, since that makes method argument behavior match:
system ~ $ ruby-1.9.3 -e "def foo; yield *[[1]]; end; foo {|a,b| p a}"...
headius (Charles Nutter)

09/08/2012

06:52 PM Feature #6993 (Closed): Class#allocate の仕様変更(Cレベル)
This issue was solved with changeset r36925.
Koichi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
internal.h: allocator function in rb_classext_t
* internal.h (...
nobu (Nobuyoshi Nakada)
09:53 AM Bug #6994: yield plus splat unwraps too much
2012/9/8 headius (Charles Nutter) <[email protected]>:

> Bug #6994: yield plus splat unwraps too much
> https://bugs.ruby-lang.org/issues/6994

> system ~/projects/jruby $ ruby-1.8.7-p358 -e "def foo; yield *[[1]]; end; foo...
akr (Akira Tanaka)
04:10 AM Bug #6994: yield plus splat unwraps too much
Related JRuby bug: http://jira.codehaus.org/browse/JRUBY-6499 headius (Charles Nutter)
04:08 AM Bug #6994 (Rejected): yield plus splat unwraps too much
I don't see how anyone could argue that 1.9.3 and 2.0.0 are correct here:
system ~/projects/jruby $ ruby-1.8.7-p358 -e "def foo; yield *[1]; end; foo {|a, b, *c| p [a,b,c]}"
[1, nil, []]
system ~/projects/jruby $ ruby-1.8.7-p358 -...
headius (Charles Nutter)
09:52 AM Revision 5fbfc21b (git): internal.h: allocator function in rb_classext_t
* internal.h (struct rb_classext_struct): move allocator function into
rb_classext_t from ordinary method table. [ruby-dev:46121]
[Feature #6993]
* object.c (rb_obj_alloc): call allocator function directly.
* vm_method.c (rb_define_...
nobu (Nobuyoshi Nakada)
09:31 AM Revision ea005c47 (git): .travis.yml: revert.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:18 AM Revision 583ae608 (git): debugging
* .travis.yml (script): verbose to investigate hang-ups on gcc 4.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:54 AM Revision dffb7106 (git): * 2012-09-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:54 AM Revision 68e47b61 (git): test_gem_specification.rb: skip meaningless tests
* test/rubygems/test_gem_specification.rb (have_syck): skip tests
which are meaningless if syck is never possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

09/07/2012

06:39 PM Feature #6993: Class#allocate の仕様変更(Cレベル)
Class#allocate の特徴をちょっと追記. ko1 (Koichi Sasada)
06:32 PM Feature #6993 (Closed): Class#allocate の仕様変更(Cレベル)
=begin
 ささだです.
 現在,Class#new を呼び出すと,Class#allocate が呼ばれます.Class#allocate は,次のような特徴を持つ,ちょっと特殊なメソッドになっています.
* 普通に定義しても Class#new からは使われない
* 実際に動かす処理 func は rb_define_alloc_func(klass, func) として登録する
* func は ID_ALLOCATOR という特殊なメソッド...
ko1 (Koichi Sasada)
02:34 PM Revision 9dd9041f (git): * ext/extmk.rb: revert r36468. replacing NUL character is not necessary after
r36918,
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
07:36 AM Bug #6990 (Closed): test_s_random_bytes_without_openssl error on Windows x64
=begin
TestSecureRandom sometimes has an error on ci.rubyinstaller.
http://ci.rubyinstaller.org/job/ruby-trunk-x64-test-all/41/console
3) Error:
test_s_random_bytes_without_openssl(TestSecureRandom):
SystemCallError: unkn...
h.shirosaki (Hiroshi Shirosaki)
01:22 AM Bug #6987 (Closed): have_framework can only be called once in extconf.rb
This issue was solved with changeset r36918.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
mkmf.rb: fix splitting options with an argument
* ext/extmk.rb (...
nobu (Nobuyoshi Nakada)
12:07 AM Feature #6946 (Assigned): FIPS support?
vo.x (Vit Ondruch) wrote:
> This is my OpenSSL version:
> ...
OK, I see. So at least you are using the same basic OpenSSL library version as I am. I need to investigate if something went wrong while building my FIPS module. Thanks!
MartinBosslet (Martin Bosslet)

09/06/2012

06:29 PM Bug #6986: Inconsistent result of BigDecimal#power
Hello,

In message "[ruby-core:47446] [ruby-trunk - Bug #6986] Inconsistent result of BigDecimal#power"
on Sep.06,2012 14:27:38, <[email protected]> wrote:
> I cannot reproduce NoMemoryError on my environment.
> However I ...
usa (Usaku NAKAMURA)
06:19 PM Bug #6986: Inconsistent result of BigDecimal#power
Could you try "p BigDecimal('1e-10').power(1e50)" ?
On Windows, the parameter higher than 1e19 returns Infinity instead of 0.0.
Here is a patch of NoMemoryError on Windows.
diff --git a/bigdecimal.c b/bigdecimal.c.new
index e79...
phasis68 (Heesob Park)
02:27 PM Bug #6986: Inconsistent result of BigDecimal#power
I cannot reproduce NoMemoryError on my environment.
However I think the following behaviors for the large parameters may be inconsistent, so I will attempt to fix these behavior.
Unfortunately I may not be able to fix NoMemoryError b...
mrkn (Kenta Murata)
01:53 PM Bug #6986 (Assigned): Inconsistent result of BigDecimal#power
shyouhei (Shyouhei Urabe)
01:41 PM Bug #6986 (Closed): Inconsistent result of BigDecimal#power
I found BigDecimal#power returns incorrect result for a large value.
C:\tmp>ruby -rbigdecimal -e "p BigDecimal('1e-10').power(1e7)"
#<BigDecimal:a2bdb8,'0.1E-99999999',9(100000026)>
C:\tmp>ruby -rbigdecimal -e "p BigDecimal('1e-10...
phasis68 (Heesob Park)
04:22 PM Revision aa9789bd (git): * 2012-09-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:21 PM Revision d0d68df7 (git): mkmf.rb: fix splitting options with an argument
* ext/extmk.rb (extmake), lib/mkmf.rb (have_framework): fix splitting
options with an argument, not using NUL as special character.
[ruby-core:47447] [Bug #6987]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36918 b2dd03c8-39d4-...
nobu (Nobuyoshi Nakada)
02:39 PM Bug #6987 (Closed): have_framework can only be called once in extconf.rb
=begin
Since r36437 ((|$LDFLAGS|)) will contain a NULL byte if (({have_framework})) is returned successfully.
If extconf.rb attempts to call (({have_framework})) twice to discover multiple frameworks it will now fail:
$ cat test...
drbrain (Eric Hodel)
10:48 AM Bug #6985 (Closed): Documentation Examples for Abbrev
@knu, I've added a patch for Abbrev to provide better examples and documentation. zzak (zzak _)
09:33 AM Bug #5024: ruby-mode.el syntax highlighting breaks on regular expression with quotes
This is kinda-fixed in the Emacs trunk, provided that "method" is one of the names in the list `ruby-syntax-methods-before-regexp`.
Otherwise, the whole regexp literal isn't recognized in the first example. It should be obvious, the str...
dgutov (Dmitry Gutov)
08:58 AM Bug #6799: Digest::*.hexdigest returns an ASCII-8BIT String
Could we do this for SecureRandom.hex as well? I've attached a patch. /cc akr tenderlovemaking (Aaron Patterson)
06:08 AM Bug #6983 (Rejected): URI:HTTP accepts invalid uri
URI.parse will parse 'http:/foo.com' as a valid HTTP uri, even though it's missing a / between the scheme and authority. zbskii (Brett Carter)
05:49 AM Revision 977bec12 (git): .gdbinit: FLONUM support
* .gdbinit (rp): FLONUM support.
* include/ruby/ruby.h (ruby_special_consts): define FLONUM constants
always, so that they are available from gdb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36917 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
05:48 AM Revision 38d0cbce (git): ruby.h: merge FLONUM and non-FLONUM
* include/ruby/ruby.h (RB_FLOAT_TYPE_P): merge FLONUM and non-FLONUM
versions. inline TYPE() comparison and FLONUM_P() should be
optimized away on non-FLONUM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36916 b2dd03c8-39d4-4...
nobu (Nobuyoshi Nakada)
03:13 AM Bug #6880: csv: nodoc native classes Object, String and Array
I think Kernel#CSV should have documentation like #Array, #String, #URI, #Integer, etc., otherwise this is good. drbrain (Eric Hodel)
12:18 AM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
=begin
> Floats are precise, just like Integers are. *Operations* on floats are
> ...
Ok, fair point. Ruby already doesn't protect you from a lack of knowledge of floats, so I can accept that this method wouldn't either.
> This c...
jballanc (Joshua Ballanco)

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 svn[bot]
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 Ryan Davis
10:07 PM Feature #6972: 特化命令opt_emptyの追加
ささださんからご指摘頂いた点ですが、特化命令の名前をopt_empty_pに変更し(idEmptyやBOP_EMPTYも同様)、テストを追加しました。 Glass_saga (Masaki Matsushita)
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 を付ければ問題が解決する」風潮 (ようするに、文字コードは...
naruse (Yui NARUSE)
05:52 PM Feature #6767: Utility method to get a duplicated string whose encoding is ASCII-8BIT
naruse (Yui NARUSE) wrote:
> また、リテラルくらい楽に書きたいという観点からしても .b の短さは合理的です。
リテラルらしくはわからりますが、それでしたら思い切って本当のリテラルにした方がいいのではないかと思います。
成瀬さんには短くて便利で使っていただくのは全く問題ないですが、一般の方には「.b を付ければ問題が解決する」風潮 (ようするに、文字コードはわからないがとりあえず適当になにかやってしまう) を広げたくないです。
duerst (Martin Dürst)
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...
naruse (Yui NARUSE)
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 :/ ).
vo.x (Vit Ondruch)
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...
marcandre (Marc-Andre Lafortune)
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)...
naruse (Yui NARUSE)
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
U.Nakamura
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 ...
stouset (Stephen Touset)
05:46 AM Feature #6980 (Assigned): OpenSSL support for AEAD additional authenticated data and tags
MartinBosslet (Martin Bosslet)
04:14 AM Feature #6980: OpenSSL support for AEAD additional authenticated data and tags
Sorry, patch included unintentional whitespace changes. Reuploaded without whitespace changes. stouset (Stephen Touset)
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...
stouset (Stephen Touset)
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 shyouhei (Shyouhei Urabe)
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
naruse (Yui NARUSE)
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 naruse (Yui NARUSE)
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...
ko1 (Koichi Sasada)
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
nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)
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...
regularfry (Alex Young)
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
nobu (Nobuyoshi Nakada)
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 svn[bot]
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
nobu (Nobuyoshi Nakada)

09/04/2012

10:57 PM Bug #6978 (Assigned): RDoc does not convert <Ruby_element>@<paragraph_name> to hyperlinks
drbrain (Eric Hodel)
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... Lavir_the_Whiolet (Lavir the Whiolet)
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...
MartinBosslet (Martin Bosslet)
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. vo.x (Vit Ondruch)
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 ... MartinBosslet (Martin Bosslet)
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.
Anonymous
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 しちゃう,というのだとやり過ぎでしょうか.
>>
>> ぼくはありだとおもう。数という概念は世界がはじ...
ko1 (Koichi Sasada)
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...
Anonymous
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...
jballanc (Joshua Ballanco)
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...
regularfry (Alex Young)
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.
akr (Akira Tanaka)
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.
nobu (Nobuyoshi Nakada)
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...
vihai (Daniele Orlandi)
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...
h.shirosaki (Hiroshi Shirosaki)
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... jks (john sikora)
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. MartinBosslet (Martin Bosslet)
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 :... regularfry (Alex Young)
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
drbrain (Eric Hodel)
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
nobu (Nobuyoshi Nakada)
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 shyouhei (Shyouhei Urabe)
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
nobu (Nobuyoshi Nakada)
12:57 AM Revision 1ff165c9 (git): property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
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 nobu (Nobuyoshi Nakada)
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...
ko1 (Koichi Sasada)
 

Also available in: Atom